|
|
|
@ -164,22 +164,23 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl<DgAssetsInvest |
|
|
|
|
//根据业务id以及type为1查询资产详细
|
|
|
|
|
DgAssetsInvestigation assetsInvestigation = this.baseMapper.selectOne(new QueryWrapper<DgAssetsInvestigation>() |
|
|
|
|
.eq("business_id", assetsResponse.getBusinessId()).eq("type", 1)); |
|
|
|
|
String assetsAmounts=assetsInvestigation.getAssetsAmount(); |
|
|
|
|
if(assetsAmounts != null){ |
|
|
|
|
if(assetsAmounts.length()>0){ |
|
|
|
|
String a = assetsAmounts.substring(1,assetsAmounts.length()-1); |
|
|
|
|
String arry[]=a.split(","); |
|
|
|
|
List<String> demoList = Arrays.asList(arry); |
|
|
|
|
assetsResponse.setAssetsAmountList(demoList); |
|
|
|
|
if(assetsInvestigation != null){ |
|
|
|
|
String assetsAmounts=assetsInvestigation.getAssetsAmount(); |
|
|
|
|
if(assetsAmounts != null){ |
|
|
|
|
if(assetsAmounts.length()>0){ |
|
|
|
|
String a = assetsAmounts.substring(1,assetsAmounts.length()-1); |
|
|
|
|
String arry[]=a.split(","); |
|
|
|
|
List<String> demoList = Arrays.asList(arry); |
|
|
|
|
assetsResponse.setAssetsAmountList(demoList); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
AssetsInvestigationResponse assetsInvestigationRes = new AssetsInvestigationResponse(); |
|
|
|
|
if(assetsInvestigation != null){ |
|
|
|
|
BeanUtils.copyProperties(assetsInvestigation,assetsInvestigationRes); |
|
|
|
|
BeanUtils.copyProperties(assetsInvestigationRes,assetsResponse); |
|
|
|
|
AssetsInvestigationResponse assetsInvestigationRes = new AssetsInvestigationResponse(); |
|
|
|
|
if(assetsInvestigation != null){ |
|
|
|
|
BeanUtils.copyProperties(assetsInvestigation,assetsInvestigationRes); |
|
|
|
|
BeanUtils.copyProperties(assetsInvestigationRes,assetsResponse); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//根据业务id查询评估价值List
|
|
|
|
|
/* List<DgAssetsAssessmentAssetsLog> assessmentlist = dgAssetsAssessmentAssetsLogMapper.selectList( |
|
|
|
|
new QueryWrapper<DgAssetsAssessmentAssetsLog>().eq("business_id",assetsResponse.getBusinessId())); |
|
|
|
@ -423,8 +424,12 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl<DgAssetsInvest |
|
|
|
|
}else{ |
|
|
|
|
deptName = "资产部分管领导"; |
|
|
|
|
} |
|
|
|
|
String remark = Arrays.toString(approvalAssetsRequest.getRemark());//补充调查原因
|
|
|
|
|
String remark1 = Arrays.toString(approvalAssetsRequest.getRemark());//补充调查原因
|
|
|
|
|
String remark = remark1.replace("[","").replace("]",""); |
|
|
|
|
String otherRemark = approvalAssetsRequest.getOtherRemark();//其他原因
|
|
|
|
|
if(otherRemark == null){ |
|
|
|
|
otherRemark = ""; |
|
|
|
|
} |
|
|
|
|
String reason = remark+otherRemark; |
|
|
|
|
String loanMoney = approvalAssetsRequest.getAmount().toString();//金额
|
|
|
|
|
String loanTerm = approvalAssetsRequest.getTerm();//期限
|
|
|
|
|