From 22d786f5dba97478529fc19e70dd8f348bd16f7e Mon Sep 17 00:00:00 2001 From: A0010407 Date: Mon, 25 Sep 2023 14:06:14 +0800 Subject: [PATCH] =?UTF-8?q?MES=E9=A2=86=E6=96=99=E5=8D=95=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/mes/MesPrepareMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareMapper.xml b/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareMapper.xml index be2c3b339..9cfc64233 100644 --- a/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareMapper.xml +++ b/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareMapper.xml @@ -78,13 +78,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" msd.quantity from mes_prepare ms,mes_prepare_detail msd - and workorder_code = #{workorderCode} + and workorder_code like concat('%', #{workorderCode}, '%') and workorder_name like concat('%', #{workorderName}, '%') and parent_order = #{parentOrder} - and order_id = #{orderId} + and order_id like concat('%', #{orderId}, '%') and order_code = #{orderCode} and product_id = #{productId} - and product_code = #{productCode} + and product_code like concat('%', #{productCode}, '%') and prod_type = #{prodType} and product_name like concat('%', #{productName}, '%') and product_spc = #{productSpc} @@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and product_date = #{productDate} and shift_id = #{shiftId} and ancestors = #{ancestors} - and status = #{status} + and ms.status = #{status} and factory_code = #{factoryCode} and ms.del_flag = '0'