master
shijie 4 years ago
parent a68a9b166a
commit 7a84de6f85
  1. 2
      dq-financial-crms/src/main/java/com/daqing/financial/crms/controller/CrmsCompanyPersonalController.java
  2. 5
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java
  3. 33
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgAssetsInvestigationServiceImpl.java
  4. 6
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java
  5. 5
      dq-financial-hrms/src/main/resources/bootstrap.properties
  6. 5
      dq-govern-gateway/src/main/resources/bootstrap.properties

@ -78,7 +78,7 @@ public class CrmsCompanyPersonalController {
@ApiOperation(value = "编辑个人/企业关联人")
public ResponseResult updateCompanyPersonal(@RequestBody CrmsCompanyPersonal crmsCompanyPersonal){
boolean result = crmsCompanyPersonalService.updateById(crmsCompanyPersonal);
return result ? ResponseResult.SUCCESS() : ResponseResult.FAIL();
return result ? ResponseResult.SUCCESS(crmsCompanyPersonal) : ResponseResult.FAIL();
}
/**

@ -396,6 +396,11 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM
//根据业务id删除对应的附件信息
dgEnclosureInfoMapper.delete(new QueryWrapper<DgEnclosureInfo>().eq("business_id",businessApplication.getBusinessId()));
//同时往审核流程进程表新增一条记录
String account = dgApplyAmountInfoController.getAccount();
AuditProcessUtil.save(businessApplication.getBusinessId(),account,"担保业务员","",1,"","","");
//附件新增
return dgEnclosureInfoMapper.insert(dgEnclosureInfo);
}

@ -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();//期限

@ -506,8 +506,12 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl<DgGuaranteeAss
} else {
deptName = "担保部分管领导";
}
String remark = Arrays.toString(approvalGuaranteeRequest.getRemark());//补充调查原因
String remark1 = Arrays.toString(approvalGuaranteeRequest.getRemark());//补充调查原因
String remark = remark1.replace("[","").replace("]","");
String otherRemark = approvalGuaranteeRequest.getOtherRemark();//其他原因
if(otherRemark == null){
otherRemark = "";
}
String reason = remark+otherRemark;
String loanMoney = approvalGuaranteeRequest.getAmount().toString();//金额
String loanTerm = approvalGuaranteeRequest.getTerm();//期限

@ -64,4 +64,7 @@ spring.servlet.multipart.max-request-size=10MB
#spring.redis.jedis.pool.max-active=8
#spring.redis.jedis.pool.max-wait=-1
#spring.redis.jedis.pool.max-idle=8
#spring.redis.jedis.pool.min-idle=0
#spring.redis.jedis.pool.min-idle=0
#
#spring.servlet.multipart.max-file-size=10MB
#spring.servlet.multipart.max-request-size=10MB

@ -37,4 +37,7 @@ spring.redis.jedis.pool.min-idle=0
#spring.redis.jedis.pool.max-active=8
#spring.redis.jedis.pool.max-wait=-1
#spring.redis.jedis.pool.max-idle=8
#spring.redis.jedis.pool.min-idle=0
#spring.redis.jedis.pool.min-idle=0
#
#spring.servlet.multipart.max-file-size=10MB
#spring.servlet.multipart.max-request-size=10MB
Loading…
Cancel
Save