app退料逻辑修改
This commit is contained in:
parent
5b4543f218
commit
69c9651e8d
|
|
@ -226,7 +226,7 @@ public class AppBackApplyController extends BaseController {
|
||||||
backApplyService.updateBackInfo(record.getParentId(),record.getCompanyId());
|
backApplyService.updateBackInfo(record.getParentId(),record.getCompanyId());
|
||||||
for (BackApplyInfo backApplyInfo : record.getBackApplyDetails()) {
|
for (BackApplyInfo backApplyInfo : record.getBackApplyDetails()) {
|
||||||
backApplyInfo.setParentId(record.getPreNum());
|
backApplyInfo.setParentId(record.getPreNum());
|
||||||
backApplyInfo.setAuditNum(record.getBackNum());
|
backApplyInfo.setAuditNum(backApplyInfo.getPreNum());
|
||||||
boolean re = backApplyService.upload(backApplyInfo) > 0;
|
boolean re = backApplyService.upload(backApplyInfo) > 0;
|
||||||
if (!re) {
|
if (!re) {
|
||||||
return AjaxResult.error("退料任务明细插入失败");
|
return AjaxResult.error("退料任务明细插入失败");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue