提交 6ac8a74d authored 作者: liuhaiquan's avatar liuhaiquan

修改货主审批拒绝后未记录审批人和审批时间的问题

上级 0e161795
...@@ -233,12 +233,13 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService { ...@@ -233,12 +233,13 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
} }
} }
} }
} else { } else {
//拒绝 //拒绝
ownerLoanRecord.setRejectReason(param.getRejectReason()); ownerLoanRecord.setRejectReason(param.getRejectReason());
ownerLoanRecord.setLoanType(param.getLoanType()); ownerLoanRecord.setLoanType(param.getLoanType());
ownerLoanRecord.setStatus(OwnerLoanRecordEnum.Status.APPROVE_REFUSE.getCode()); ownerLoanRecord.setStatus(OwnerLoanRecordEnum.Status.APPROVE_REFUSE.getCode());
ownerLoanRecord.setApproveBy(TokenUtil.getLoginUserInfo().getUserName());
ownerLoanRecord.setApproveTime(LocalDateTime.now());
} }
//更新借款记录 //更新借款记录
ownerLoanRecordDao.updateEntityByKey(ownerLoanRecord); ownerLoanRecordDao.updateEntityByKey(ownerLoanRecord);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论