库存分配时如果没有库存抛异常

导入模版没有物料抛异常
This commit is contained in:
秦鸿展
2026-02-10 10:12:13 +08:00
parent 8c21c6bfa8
commit f260b73b80
3 changed files with 97 additions and 117 deletions
@@ -308,7 +308,7 @@ public class StorageLocationDomainService {
updateWrapper.in("storage_location_group_id", storageLocationGroupIds);
updateWrapper.set("update_by", loginUser.getUserid());
updateWrapper.set("update_by_name", loginUser.getUsername());
updateWrapper.set("update_by", new Date());
updateWrapper.set("update_time", new Date());
updateWrapper.setSql("storage_location_count = storage_location_count - 1");
storageLocationGroupService.update(updateWrapper);
}