给系统参数表增加库存审核启用标记

This commit is contained in:
季圣华
2023-03-16 23:06:45 +08:00
parent 345151ea1d
commit e37b2e440d

View File

@@ -563,7 +563,7 @@ public class DepotHeadService {
DepotHeadExample example = new DepotHeadExample();
example.createCriteria().andIdIn(dhIds);
result = depotHeadMapper.updateByExampleSelective(depotHead, example);
//更新当前库存(此时开启了库存审核)
//更新当前库存
if(systemConfigService.getStockApprovalFlag()) {
for(Long dhId: dhIds) {
List<DepotItem> list = depotItemService.getListByHeaderId(dhId);