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