|
|
@ -136,7 +136,7 @@ public class DgLoanCommitteeConsiderServiceImpl extends ServiceImpl<DgLoanCommit |
|
|
|
DgGuaranteeLetterAssignUser guaranteeLetterAssignUser = new DgGuaranteeLetterAssignUser(); |
|
|
|
DgGuaranteeLetterAssignUser guaranteeLetterAssignUser = new DgGuaranteeLetterAssignUser(); |
|
|
|
guaranteeLetterAssignUser.setBusinessId(this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()) |
|
|
|
guaranteeLetterAssignUser.setBusinessId(this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()) |
|
|
|
.getBusinessId()); |
|
|
|
.getBusinessId()); |
|
|
|
guaranteeLetterAssignUser.setUserId(this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()) |
|
|
|
guaranteeLetterAssignUser.setCompanyId(this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()) |
|
|
|
.getCompanyId()); |
|
|
|
.getCompanyId()); |
|
|
|
System.out.println(guaranteeLetterAssignUser); |
|
|
|
System.out.println(guaranteeLetterAssignUser); |
|
|
|
result1 = guaranteeLetterAssignUserService.saveGuaranteeLetter(guaranteeLetterAssignUser); |
|
|
|
result1 = guaranteeLetterAssignUserService.saveGuaranteeLetter(guaranteeLetterAssignUser); |
|
|
@ -189,6 +189,10 @@ public class DgLoanCommitteeConsiderServiceImpl extends ServiceImpl<DgLoanCommit |
|
|
|
|| dgLoanCommitteeConsiderRequest.getRefuseOpinion().length() == 0) { |
|
|
|
|| dgLoanCommitteeConsiderRequest.getRefuseOpinion().length() == 0) { |
|
|
|
ExceptionCast.cast(GuaranteeCode.COMPLIANCE_INVESTIGATION_REMARK_NOT_NULL); |
|
|
|
ExceptionCast.cast(GuaranteeCode.COMPLIANCE_INVESTIGATION_REMARK_NOT_NULL); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 绑定该条数据的userId,表示该用户操作了该条数据
|
|
|
|
|
|
|
|
Boolean result4 = this.getBaseMapper().updateLoanCommitteeConsiderUserIdById(dgLoanCommitteeConsiderRequest.getId(), |
|
|
|
|
|
|
|
Integer.parseInt(userId)); |
|
|
|
|
|
|
|
if (result4) { |
|
|
|
// 先改变贷审会的审核状态为驳回
|
|
|
|
// 先改变贷审会的审核状态为驳回
|
|
|
|
Boolean result = this.getBaseMapper().updateAuditStatusByBusinessId( |
|
|
|
Boolean result = this.getBaseMapper().updateAuditStatusByBusinessId( |
|
|
|
this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()).getBusinessId(), |
|
|
|
this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()).getBusinessId(), |
|
|
@ -217,6 +221,7 @@ public class DgLoanCommitteeConsiderServiceImpl extends ServiceImpl<DgLoanCommit |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -260,6 +265,10 @@ public class DgLoanCommitteeConsiderServiceImpl extends ServiceImpl<DgLoanCommit |
|
|
|
if (dgLoanCommitteeConsider.getDisagreePerson() != null && dgLoanCommitteeConsider.getDisagreePerson().length() != 0) { |
|
|
|
if (dgLoanCommitteeConsider.getDisagreePerson() != null && dgLoanCommitteeConsider.getDisagreePerson().length() != 0) { |
|
|
|
dgLoanCommitteeConsiderInfoResponse.setDisagreePersons(dgLoanCommitteeConsider.getDisagreePerson().split(",")); |
|
|
|
dgLoanCommitteeConsiderInfoResponse.setDisagreePersons(dgLoanCommitteeConsider.getDisagreePerson().split(",")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 贷审会通过时间
|
|
|
|
|
|
|
|
if (dgLoanCommitteeConsider.getPassingTime() != null) { |
|
|
|
|
|
|
|
dgLoanCommitteeConsiderInfoResponse.setTime(dgLoanCommitteeConsider.getPassingTime()); |
|
|
|
|
|
|
|
} |
|
|
|
BeanUtils.copyProperties(dgLoanCommitteeConsider, dgLoanCommitteeConsiderInfoResponse); |
|
|
|
BeanUtils.copyProperties(dgLoanCommitteeConsider, dgLoanCommitteeConsiderInfoResponse); |
|
|
|
} |
|
|
|
} |
|
|
|
return dgLoanCommitteeConsiderInfoResponse; |
|
|
|
return dgLoanCommitteeConsiderInfoResponse; |
|
|
|