From cd822d4296a68f887ea216c4b84a3f08aefb3bc2 Mon Sep 17 00:00:00 2001 From: JR <3573153686@qq.com> Date: Tue, 26 Aug 2025 16:56:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(wms):=20=E4=BF=AE=E5=A4=8D=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E5=AE=9E=E7=BB=A9=E4=B8=8E=E6=8E=92=E4=BA=A7=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=98=8E=E7=BB=86=E6=9F=A5=E8=AF=A2=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=BA=BF=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 wms_production_line 表中的 del_flag 条件,以包含所有产品线 - 此修改将确保查询结果中包含所有未删除的生产任务 --- .../main/resources/mapper/klp/WmsSchedulePlanDetailMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klp-wms/src/main/resources/mapper/klp/WmsSchedulePlanDetailMapper.xml b/klp-wms/src/main/resources/mapper/klp/WmsSchedulePlanDetailMapper.xml index 42f2d53a..7ec43559 100644 --- a/klp-wms/src/main/resources/mapper/klp/WmsSchedulePlanDetailMapper.xml +++ b/klp-wms/src/main/resources/mapper/klp/WmsSchedulePlanDetailMapper.xml @@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" wpt.plan_name AS planName, wpt.plan_code AS planCode FROM wms_schedule_plan_detail wspd - left join wms_production_line wpl on wspd.line_id = wpl.line_id and wpl.del_flag = 0 + left join wms_production_line wpl on wspd.line_id = wpl.line_id left join wms_production_task wpt on wspd.task_id = wpt.task_id and wpt.del_flag = 0 ${ew.customSqlSegment} @@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" wpt.plan_name AS planName, wpt.plan_code AS planCode FROM wms_schedule_plan_detail wspd - left join wms_production_line wpl on wspd.line_id = wpl.line_id and wpl.del_flag = 0 + left join wms_production_line wpl on wspd.line_id = wpl.line_id left join wms_production_task wpt on wspd.task_id = wpt.task_id and wpt.del_flag = 0 ${ew.customSqlSegment}