app退料逻辑修改

This commit is contained in:
15856 2024-12-04 11:11:04 +08:00
parent 5b4543f218
commit 69c9651e8d
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ public class AppBackApplyController extends BaseController {
backApplyService.updateBackInfo(record.getParentId(),record.getCompanyId());
for (BackApplyInfo backApplyInfo : record.getBackApplyDetails()) {
backApplyInfo.setParentId(record.getPreNum());
backApplyInfo.setAuditNum(record.getBackNum());
backApplyInfo.setAuditNum(backApplyInfo.getPreNum());
boolean re = backApplyService.upload(backApplyInfo) > 0;
if (!re) {
return AjaxResult.error("退料任务明细插入失败");