From 6122f06e7bcaae7f2d643ca518eda7352b6e02be Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Fri, 22 Mar 2024 16:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5+=E6=89=B9=E6=AC=A1=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E9=87=8D=E5=A4=8D+=E5=85=B6=E5=AE=83=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E5=8A=9F=E8=83=BD=E6=94=B9=E5=96=845?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/mes/MesReportWorkConsumeMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/op-modules/op-mes/src/main/resources/mapper/mes/MesReportWorkConsumeMapper.xml b/op-modules/op-mes/src/main/resources/mapper/mes/MesReportWorkConsumeMapper.xml index db3b3a7a..9b5cb4a9 100644 --- a/op-modules/op-mes/src/main/resources/mapper/mes/MesReportWorkConsumeMapper.xml +++ b/op-modules/op-mes/src/main/resources/mapper/mes/MesReportWorkConsumeMapper.xml @@ -110,7 +110,8 @@ left join pro_order_workorder pow on mrwc.workorder_code = pow.workorder_code left join mes_prepare_detail mpd on mpd.parent_work_order = pow.belong_work_order and mpd.material_code = mrwc.material_code - where mrwc.del_flag = '0' and pow.del_flag = '0' and mpd.del_flag = '0' + and mpd.del_flag = '0' + where mrwc.del_flag = '0' and pow.del_flag = '0' and mrwc.workorder_code = #{workorderCode} order by mrwc.recoil,mrwc.attr1