|
|
@ -227,15 +227,15 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
//DgApplyAmountInfo dgApplyAmountInfo = this.baseMapper.selectById(id);
|
|
|
|
//DgApplyAmountInfo dgApplyAmountInfo = this.baseMapper.selectById(id);
|
|
|
|
DgApplyAmountInfoResponse dgApplyAmountInfo = this.baseMapper.selectApplyAmountInfoById(dgApplyAmountList.getBusinessId()); |
|
|
|
DgApplyAmountInfoResponse dgApplyAmountInfo = this.baseMapper.selectApplyAmountInfoById(dgApplyAmountList.getBusinessId()); |
|
|
|
String measures=dgApplyAmountInfo.getEnGuaranteeMeasures(); |
|
|
|
String measures=dgApplyAmountInfo.getEnGuaranteeMeasures(); |
|
|
|
if(measures.length()>0){ |
|
|
|
if(measures != null){ |
|
|
|
String a = measures.substring(1,measures.length()-1); |
|
|
|
if(measures.length()>0){ |
|
|
|
String arry[]=a.split(","); |
|
|
|
String a = measures.substring(1,measures.length()-1); |
|
|
|
List<String> demoList = Arrays.asList(arry); |
|
|
|
String arry[]=a.split(","); |
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasure(demoList); |
|
|
|
List<String> demoList = Arrays.asList(arry); |
|
|
|
System.out.println("arry==============="+demoList); |
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasure(demoList); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
dgApplyAmountInfo.setRemark(dgApplyAmountList.getApplyContent()); |
|
|
|
System.out.println("业务申请详细========="+dgApplyAmountInfo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DgApplyAmountInfoRequest applyAmountInfo = new DgApplyAmountInfoRequest(); |
|
|
|
DgApplyAmountInfoRequest applyAmountInfo = new DgApplyAmountInfoRequest(); |
|
|
|
applyAmountInfo.setCompanyId(dgApplyAmountInfo.getCompanyId()); |
|
|
|
applyAmountInfo.setCompanyId(dgApplyAmountInfo.getCompanyId()); |
|
|
@ -243,7 +243,6 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
ResponseResult result = crmsFeignService.queryCustomerInfoById(applyAmountInfo); |
|
|
|
ResponseResult result = crmsFeignService.queryCustomerInfoById(applyAmountInfo); |
|
|
|
|
|
|
|
|
|
|
|
LinkedHashMap linkedList = (LinkedHashMap)result.getData(); |
|
|
|
LinkedHashMap linkedList = (LinkedHashMap)result.getData(); |
|
|
|
System.out.println("企业详细============"+linkedList); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//查询附件详细,附件关联业务主键id
|
|
|
|
//查询附件详细,附件关联业务主键id
|
|
|
|
DgEnclosureInfoResponse dgEnclosureInfo = dgEnclosureInfoMapper.selectByCompanyId(dgApplyAmountList.getBusinessId()); |
|
|
|
DgEnclosureInfoResponse dgEnclosureInfo = dgEnclosureInfoMapper.selectByCompanyId(dgApplyAmountList.getBusinessId()); |
|
|
@ -273,7 +272,6 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
String arr1[]=a1.split(","); |
|
|
|
String arr1[]=a1.split(","); |
|
|
|
arr1List = Arrays.asList(arr1); |
|
|
|
arr1List = Arrays.asList(arr1); |
|
|
|
arr1List2.add(i,arr1List); |
|
|
|
arr1List2.add(i,arr1List); |
|
|
|
System.out.println("arr1LIst===="+arr1List); |
|
|
|
|
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
arr1List2.add(i,null); |
|
|
|
arr1List2.add(i,null); |
|
|
|
} |
|
|
|
} |
|
|
@ -293,8 +291,6 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
dgEnclosureInfo.setMeetingMinutesList((List<String>) arr1List2.get(12)); |
|
|
|
dgEnclosureInfo.setMeetingMinutesList((List<String>) arr1List2.get(12)); |
|
|
|
dgEnclosureInfo.setMarriageCopyList((List<String>) arr1List2.get(13)); |
|
|
|
dgEnclosureInfo.setMarriageCopyList((List<String>) arr1List2.get(13)); |
|
|
|
|
|
|
|
|
|
|
|
System.out.println("附件详细=============="+dgEnclosureInfo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* int page=1; |
|
|
|
/* int page=1; |
|
|
|
int size=10; |
|
|
|
int size=10; |
|
|
|
//关联人信息列表展示
|
|
|
|
//关联人信息列表展示
|
|
|
@ -333,12 +329,21 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
DgApplyAmountList dgApplyAmountList = dgApplyAmountListMapper.selectOne(new QueryWrapper<DgApplyAmountList>() |
|
|
|
DgApplyAmountList dgApplyAmountList = dgApplyAmountListMapper.selectOne(new QueryWrapper<DgApplyAmountList>() |
|
|
|
.eq("business_id", businessApplication.getBusinessId()).eq("type", 1)); |
|
|
|
.eq("business_id", businessApplication.getBusinessId()).eq("type", 1)); |
|
|
|
|
|
|
|
|
|
|
|
//草稿状态下,新增业务状态到业务状态表
|
|
|
|
//草稿状态下,新增业务状态到业务状态表,同时新增一条记录到担保经理处理
|
|
|
|
if(dgApplyAmountList.getStatus().equals(StatusCode.SP_DRAFT)){ |
|
|
|
if(dgApplyAmountList.getStatus().equals(StatusCode.SP_DRAFT)){ |
|
|
|
DgBusinessProcessStatus processStatus = new DgBusinessProcessStatus(); |
|
|
|
DgBusinessProcessStatus processStatus = new DgBusinessProcessStatus(); |
|
|
|
processStatus.setBusinessId(businessApplication.getBusinessId());//业务id
|
|
|
|
processStatus.setBusinessId(businessApplication.getBusinessId());//业务id
|
|
|
|
processStatus.setBusinessStatus(1);//进行中
|
|
|
|
processStatus.setBusinessStatus(1);//进行中
|
|
|
|
dgBusinessProcessStatusMapper.insert(processStatus); |
|
|
|
dgBusinessProcessStatusMapper.insert(processStatus); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DgApplyAmountList applyAmountList = new DgApplyAmountList(); |
|
|
|
|
|
|
|
applyAmountList.setBusinessId(dgApplyAmountInfo.getId());//主键id
|
|
|
|
|
|
|
|
applyAmountList.setPresenterId(dgApplyAmountList.getPresenterId());// 提单人id
|
|
|
|
|
|
|
|
applyAmountList.setRoleId(PromptSuccess.DB_JL_ID);//担保部经理角色id
|
|
|
|
|
|
|
|
applyAmountList.setType(2);//设置类型
|
|
|
|
|
|
|
|
applyAmountList.setStatus(StatusCode.SP_IN_REVIEW);//状态设置为审核中
|
|
|
|
|
|
|
|
applyAmountList.setOperatingStatus(StatusCode.CZ_ON_HAND);//操作状态设置为待处理
|
|
|
|
|
|
|
|
dgApplyAmountListMapper.insert(applyAmountList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//撤销状态下,修改业务状态
|
|
|
|
//撤销状态下,修改业务状态
|
|
|
|