refactor(inventory): 修改盘点计划仓库字段类型支持多库区
- 将 warehouseId 字段从 Long 类型改为 String 类型,支持逗号分隔的多个库区ID - 将 actualWarehouseId 字段从 Long 类型改为 String 类型,支持逗号分隔的多个实际库区ID - 更新实体类、业务对象、视图对象中的字段类型定义 - 修改数据库映射文件中的字段映射关系 - 调整查询条件构造逻辑,使用模糊匹配替代精确匹配 - 更新字段注释说明多库区支持功能
This commit is contained in:
@@ -62,9 +62,9 @@ public class InvCountPlanWarehouseServiceImpl implements IInvCountPlanWarehouseS
|
||||
Map<String, Object> params = bo.getParams();
|
||||
LambdaQueryWrapper<InvCountPlanWarehouse> lqw = Wrappers.lambdaQuery();
|
||||
lqw.eq(bo.getPlanId() != null, InvCountPlanWarehouse::getPlanId, bo.getPlanId());
|
||||
lqw.eq(bo.getWarehouseId() != null, InvCountPlanWarehouse::getWarehouseId, bo.getWarehouseId());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getWarehouseIds()), InvCountPlanWarehouse::getWarehouseIds, bo.getWarehouseIds());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getWarehouseName()), InvCountPlanWarehouse::getWarehouseName, bo.getWarehouseName());
|
||||
lqw.eq(bo.getActualWarehouseId() != null, InvCountPlanWarehouse::getActualWarehouseId, bo.getActualWarehouseId());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getActualWarehouseIds()), InvCountPlanWarehouse::getActualWarehouseIds, bo.getActualWarehouseIds());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getActualWarehouseName()), InvCountPlanWarehouse::getActualWarehouseName, bo.getActualWarehouseName());
|
||||
lqw.eq(bo.getSystemCoilCount() != null, InvCountPlanWarehouse::getSystemCoilCount, bo.getSystemCoilCount());
|
||||
lqw.eq(bo.getSystemTotalWeight() != null, InvCountPlanWarehouse::getSystemTotalWeight, bo.getSystemTotalWeight());
|
||||
|
||||
Reference in New Issue
Block a user