|
@@ -405,6 +405,7 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
loanApplicationFjMapper.batchLoanApplicationFj(fjUrl);
|
|
loanApplicationFjMapper.batchLoanApplicationFj(fjUrl);
|
|
}
|
|
}
|
|
//业务审核意见
|
|
//业务审核意见
|
|
|
|
+ reviewComments.setCreateBy(SecurityUtils.getUsername());
|
|
reviewCommentsMapper.insertReviewComments(reviewComments);
|
|
reviewCommentsMapper.insertReviewComments(reviewComments);
|
|
//待办信息集合
|
|
//待办信息集合
|
|
List<WaitRemind> waitRemindList = new ArrayList<>();
|
|
List<WaitRemind> waitRemindList = new ArrayList<>();
|
|
@@ -660,6 +661,16 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
loanApplicationMapper.updateLoanApplication(loanApplication);
|
|
loanApplicationMapper.updateLoanApplication(loanApplication);
|
|
//删除基础附件外的所有附件
|
|
//删除基础附件外的所有附件
|
|
loanApplicationFjMapper.deleteLoanApplicationFjByLoanApplicationIdAndBigType(loanApplication.getLoanApplicationId());
|
|
loanApplicationFjMapper.deleteLoanApplicationFjByLoanApplicationIdAndBigType(loanApplication.getLoanApplicationId());
|
|
|
|
+
|
|
|
|
+ //业务审核意见
|
|
|
|
+ ReviewComments reviewComments = new ReviewComments();
|
|
|
|
+ reviewComments.setLoanApplicationId(loanApplication.getLoanApplicationId());
|
|
|
|
+ reviewComments.setLoanApplicationNumber(loanApplication.getLoanApplicationNumber());
|
|
|
|
+ reviewComments.setAuditSchedule(TWO);
|
|
|
|
+ reviewComments.setAuditType(FOR);
|
|
|
|
+ reviewComments.setAuditTime(DateUtils.getNowDate());
|
|
|
|
+ reviewComments.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
+ reviewCommentsMapper.insertReviewComments(reviewComments);
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -716,6 +727,19 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
waitRemindMapper.batchWaitRemind(waitRemindList);
|
|
waitRemindMapper.batchWaitRemind(waitRemindList);
|
|
|
|
+
|
|
|
|
+ //业务审核意见
|
|
|
|
+ ReviewComments reviewComments = new ReviewComments();
|
|
|
|
+ reviewComments.setLoanApplicationId(loanApplication.getLoanApplicationId());
|
|
|
|
+ reviewComments.setLoanApplicationNumber(loanApplication.getLoanApplicationNumber());
|
|
|
|
+ //把7:合同签约 8:放款合规风险审核 9:放款通知 变成业务审核意见表中对应编号需要+1
|
|
|
|
+ int i = Integer.parseInt(loanApplication.getLoanSchedule()) + 1;
|
|
|
|
+ reviewComments.setAuditSchedule(String.valueOf(i));
|
|
|
|
+ reviewComments.setAuditType(TWO);
|
|
|
|
+ reviewComments.setAuditTime(DateUtils.getNowDate());
|
|
|
|
+ reviewComments.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
+ //业务审核意见
|
|
|
|
+ reviewCommentsMapper.insertReviewComments(reviewComments);
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -825,6 +849,20 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
waitRemindMapper.batchWaitRemind(waitRemindList);
|
|
waitRemindMapper.batchWaitRemind(waitRemindList);
|
|
|
|
+
|
|
|
|
+ //业务审核意见插入撤销
|
|
|
|
+ ReviewComments reviewComments = new ReviewComments();
|
|
|
|
+ reviewComments.setLoanApplicationId(loanApplication.getLoanApplicationId());
|
|
|
|
+ reviewComments.setLoanApplicationNumber(loanApplication.getLoanApplicationNumber());
|
|
|
|
+ int auditScheduleNew = Integer.parseInt(loanApplication.getAuditSchedule());
|
|
|
|
+ if (Integer.parseInt(loanApplication.getLoanSchedule())> 6){
|
|
|
|
+ auditScheduleNew = auditScheduleNew + 1;
|
|
|
|
+ }
|
|
|
|
+ reviewComments.setAuditSchedule(String.valueOf(auditScheduleNew));
|
|
|
|
+ reviewComments.setAuditType(FIV);
|
|
|
|
+ reviewComments.setAuditTime(DateUtils.getNowDate());
|
|
|
|
+ reviewComments.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
+ reviewCommentsMapper.insertReviewComments(reviewComments);
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -952,6 +990,17 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
waitRemindMapper.batchWaitRemind(waitRemindList);
|
|
waitRemindMapper.batchWaitRemind(waitRemindList);
|
|
|
|
+
|
|
|
|
+ //业务审核意见
|
|
|
|
+ ReviewComments reviewComments = new ReviewComments();
|
|
|
|
+ reviewComments.setLoanApplicationId(loanApplication.getLoanApplicationId());
|
|
|
|
+ reviewComments.setLoanApplicationNumber(loanApplication.getLoanApplicationNumber());
|
|
|
|
+ //归档
|
|
|
|
+ reviewComments.setAuditSchedule("11");
|
|
|
|
+ reviewComments.setAuditType(TWO);
|
|
|
|
+ reviewComments.setAuditTime(DateUtils.getNowDate());
|
|
|
|
+ reviewComments.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
+ reviewCommentsMapper.insertReviewComments(reviewComments);
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
|
|
|