入库预约单查询修改;
This commit is contained in:
+5
-5
@@ -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());
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user