From 5c0b1793f07c8d5591629e61fe5041e1df9fbc76 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Sun, 11 Jan 2026 08:57:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E6=B7=BB=E5=8A=A0=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 实现根据发货开始时间筛选线圈物料 - 实现根据发货结束时间筛选线圈物料 - 集成到现有的查询条件构建逻辑中 - 支持按时间段范围查询发货记录 --- .../com/klp/service/impl/WmsMaterialCoilServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/klp-wms/src/main/java/com/klp/service/impl/WmsMaterialCoilServiceImpl.java b/klp-wms/src/main/java/com/klp/service/impl/WmsMaterialCoilServiceImpl.java index 119fcf97..2e2d2a8f 100644 --- a/klp-wms/src/main/java/com/klp/service/impl/WmsMaterialCoilServiceImpl.java +++ b/klp-wms/src/main/java/com/klp/service/impl/WmsMaterialCoilServiceImpl.java @@ -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());