This commit is contained in:
parent
f8663453d2
commit
54a2a4e089
@ -155,6 +155,10 @@ public class ApplyFormController {
|
||||
applyFormService.save(applyInfo.getApplyForm());
|
||||
for (ApplyDetail applyDetail : applyInfo.getApplyDetails()) {
|
||||
applyDetail.setApplyId(applyInfo.getApplyForm().getId());
|
||||
// 如果市无须赋码的情况,设置确认数量为申请数量
|
||||
if (applyType == ApplyTypeEnum.LOAN_OUT && !applyDetail.getAssignRule()) {
|
||||
applyDetail.setConfirmQuantity(applyDetail.getQuantity());
|
||||
}
|
||||
}
|
||||
applyDetailService.saveBatch(applyInfo.getApplyDetails());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user