入库预约单查询修改;

This commit is contained in:
王奎兴
2026-05-12 14:50:46 +08:00
parent 3998efb77b
commit 00745d00b1
@@ -112,11 +112,11 @@ public class ReserveStockInOrderApplicationService {
} }
// 前端有传warehouseId则优先使用传参;未传时才使用"用户关联仓库"作为默认值 // 前端有传warehouseId则优先使用传参;未传时才使用"用户关联仓库"作为默认值
if (stockInOrderDO.getWarehouseId() == null) { if (stockInOrderDO.getWarehouseId() == null) {
AssociationWarehouseCacheDO associationWarehouseCacheDO = // AssociationWarehouseCacheDO associationWarehouseCacheDO =
SystemServiceCacheUtil.getAssociationWarehouseCache(loginUser.getUserid()); // SystemServiceCacheUtil.getAssociationWarehouseCache(loginUser.getUserid());
if (associationWarehouseCacheDO != null) { // if (associationWarehouseCacheDO != null) {
stockInOrderDO.setWarehouseId(associationWarehouseCacheDO.getWarehouseId()); // stockInOrderDO.setWarehouseId(associationWarehouseCacheDO.getWarehouseId());
} // }
} }
} }