feat(wms): 添加发货时间筛选功能
- 实现根据发货开始时间筛选线圈物料 - 实现根据发货结束时间筛选线圈物料 - 集成到现有的查询条件构建逻辑中 - 支持按时间段范围查询发货记录
This commit is contained in:
@@ -471,6 +471,11 @@ public class WmsMaterialCoilServiceImpl implements IWmsMaterialCoilService {
|
||||
|
||||
qw.ge(bo.getByCreateTimeStart() != null, "mc.create_time", bo.getByCreateTimeStart());
|
||||
qw.le(bo.getByCreateTimeEnd() != null, "mc.create_time", bo.getByCreateTimeEnd());
|
||||
|
||||
// 根据发货开始和结束筛选发货时间
|
||||
qw.ge(bo.getByExportTimeStart() != null, "mc.export_time", bo.getByExportTimeStart());
|
||||
qw.le(bo.getByExportTimeEnd() != null, "mc.export_time", bo.getByExportTimeEnd());
|
||||
|
||||
//根据异常数量筛选(大于等于指定值)
|
||||
if (bo.getMinAbnormalCount() != null) {
|
||||
qw.apply("COALESCE(ca.abnormal_count, 0) >= {0}", bo.getMinAbnormalCount());
|
||||
|
||||
Reference in New Issue
Block a user