货主账号查询入库业务单报错处理;
This commit is contained in:
+7
-7
@@ -136,13 +136,13 @@ public class ReservationStockInOrderApplicationService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 前端有传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());
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
// 库管角色过滤:不展示已创建(status=1)的入库单
|
// 库管角色过滤:不展示已创建(status=1)的入库单
|
||||||
|
|||||||
Reference in New Issue
Block a user