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. 9
      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. 3
      dq-financial-hrms/src/main/resources/bootstrap.properties
  6. 3
      dq-govern-gateway/src/main/resources/bootstrap.properties

@ -78,7 +78,7 @@ public class CrmsCompanyPersonalController {
@ApiOperation(value = "编辑个人/企业关联人") @ApiOperation(value = "编辑个人/企业关联人")
public ResponseResult updateCompanyPersonal(@RequestBody CrmsCompanyPersonal crmsCompanyPersonal){ public ResponseResult updateCompanyPersonal(@RequestBody CrmsCompanyPersonal crmsCompanyPersonal){
boolean result = crmsCompanyPersonalService.updateById(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删除对应的附件信息 //根据业务id删除对应的附件信息
dgEnclosureInfoMapper.delete(new QueryWrapper<DgEnclosureInfo>().eq("business_id",businessApplication.getBusinessId())); dgEnclosureInfoMapper.delete(new QueryWrapper<DgEnclosureInfo>().eq("business_id",businessApplication.getBusinessId()));
//同时往审核流程进程表新增一条记录
String account = dgApplyAmountInfoController.getAccount();
AuditProcessUtil.save(businessApplication.getBusinessId(),account,"担保业务员","",1,"","","");
//附件新增 //附件新增
return dgEnclosureInfoMapper.insert(dgEnclosureInfo); return dgEnclosureInfoMapper.insert(dgEnclosureInfo);
} }

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

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

@ -65,3 +65,6 @@ spring.servlet.multipart.max-request-size=10MB
#spring.redis.jedis.pool.max-wait=-1 #spring.redis.jedis.pool.max-wait=-1
#spring.redis.jedis.pool.max-idle=8 #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

@ -38,3 +38,6 @@ spring.redis.jedis.pool.min-idle=0
#spring.redis.jedis.pool.max-wait=-1 #spring.redis.jedis.pool.max-wait=-1
#spring.redis.jedis.pool.max-idle=8 #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