给系统参数表增加库存审核启用标记
This commit is contained in:
@@ -563,7 +563,7 @@ public class DepotHeadService {
|
|||||||
DepotHeadExample example = new DepotHeadExample();
|
DepotHeadExample example = new DepotHeadExample();
|
||||||
example.createCriteria().andIdIn(dhIds);
|
example.createCriteria().andIdIn(dhIds);
|
||||||
result = depotHeadMapper.updateByExampleSelective(depotHead, example);
|
result = depotHeadMapper.updateByExampleSelective(depotHead, example);
|
||||||
//更新当前库存(此时开启了库存审核)
|
//更新当前库存
|
||||||
if(systemConfigService.getStockApprovalFlag()) {
|
if(systemConfigService.getStockApprovalFlag()) {
|
||||||
for(Long dhId: dhIds) {
|
for(Long dhId: dhIds) {
|
||||||
List<DepotItem> list = depotItemService.getListByHeaderId(dhId);
|
List<DepotItem> list = depotItemService.getListByHeaderId(dhId);
|
||||||
|
|||||||
Reference in New Issue
Block a user