feat(WmsMaterialCoilService): 新增长度查询条件

- 在查询条件中添加了长度字段的等值匹配
- 通过bo.getLength()参数实现长度条件的动态构建
- 保持原有查询逻辑的完整性
This commit is contained in:
2026-01-03 16:19:33 +08:00
parent 1c8dc18d2b
commit e3643763c2

View File

@@ -341,6 +341,8 @@ public class WmsMaterialCoilServiceImpl implements IWmsMaterialCoilService {
qw.eq(bo.getStatus() != null, "mc.status", bo.getStatus());
qw.eq(bo.getActualWarehouseId() != null, "mc.actual_warehouse_id", bo.getActualWarehouseId());
qw.eq(StringUtils.isNotBlank(bo.getItemType()), "mc.item_type", bo.getItemType());
// 新增长度
qw.eq(bo.getLength() != null, "mc.length", bo.getLength());
// 新增查询逻辑也就是当saleId未空时候
if (bo.getSaleId() != null) {
if (bo.getSaleId() == -1) {