Commit 566d44de sunke

禁用库位后总数量异常修正

1 个父辈 f26ccc65
......@@ -232,7 +232,10 @@ public class StoragePosController {
dataCache.updateDisablePos(pos);
log.info("启用禁用库位:库位号[" + pos.getId() + "][" + pos.getPosName() + "]=" + enabledDto.isEnabled());
DeviceMessageUtil.addEnabledPosMessage(pos,SecurityUtils.getCurrentUsername());
Storage storage = dataCache.getStorageById(pos.getStorageId());
if(storage != null){
dataCache.reloadStorage(storage,storage.getCid());
}
return ResultBean.newOkResult("");
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!