feat(wms): 添加物料卷数据过滤条件
- 添加数据类型过滤条件,只查询类型为1的数据 - 添加状态过滤条件,只查询状态为0的正常数据 - 优化物料卷查询逻辑,提高数据准确性
This commit is contained in:
@@ -334,6 +334,8 @@ public class WmsProductServiceImpl implements IWmsProductService {
|
||||
LambdaQueryWrapper<WmsMaterialCoil> coilWrapper = Wrappers.lambdaQuery();
|
||||
coilWrapper.eq(WmsMaterialCoil::getWarehouseId, warehouseId);
|
||||
coilWrapper.eq(WmsMaterialCoil::getDelFlag, 0);
|
||||
coilWrapper.eq(WmsMaterialCoil::getDataType, 1);
|
||||
coilWrapper.eq(WmsMaterialCoil::getStatus, 0);
|
||||
List<WmsMaterialCoil> coils = coilMapper.selectList(coilWrapper);
|
||||
|
||||
Map<String, Integer> result = new java.util.HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user