修复bug

This commit is contained in:
Stang 2024-11-13 09:09:30 +08:00
parent 931ef8cb1d
commit caf253f51e
2 changed files with 4 additions and 2 deletions

View File

@ -759,7 +759,6 @@ public class BaseKnifeController extends BaseController
// 更新基础物料数量
MdItem mdItem = mdItemService.selectMdItemById(outPlanDetail.getMdItemId());
mdItem.setStandardNumber(mdItem.getStandardNumber() - outPlanDetail.getRealQuantity());
mdItemService.updateMdItem(mdItem);
}
@ -821,7 +820,6 @@ public class BaseKnifeController extends BaseController
wmsInTaskService.insertWmsInTask(wmsInTask);
// 更新数量
mdItem.setStandardNumber(mdItem.getStandardNumber() + zdTask.getProductIdQty());
mdItemService.updateMdItem(mdItem);
// 更新组装任务

View File

@ -85,6 +85,7 @@
BK.LOCKED_END_TIME,
BK.RESET_COUNT,
BK.ITEM_OR_PRODUCT,
BK.PLAN_SHEET,
BK.REMARK,
BK.ATTR1,
BK.ATTR2,
@ -188,6 +189,9 @@
, a.AREA_CODE
, a.KNIFE_LIFE
, a.KNIFE_FINE_STATE
a.RESET_COUNT,
a.ITEM_OR_PRODUCT,
a.PLAN_SHEET,
, a.REMARK
, a.ATTR1
, a.ATTR2