From 3607120391262c67d354a2f9dcf477fddebf972f Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Mon, 11 Sep 2023 09:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=A8=A1=E5=9D=97(=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E6=9F=A5=E8=AF=A2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml b/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml index d37c4669..181039a5 100644 --- a/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml +++ b/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml @@ -45,8 +45,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and plan_factory_code = #{planFactoryCode} and factory_code = #{factoryCode} and order_type = #{orderType} - and order_code = #{orderCode} - and prod_code = #{prodCode} + and order_code like concat('%', #{orderCode}, '%') + and prod_code like concat('%', #{prodCode}, '%') and prod_desc like concat('%', #{prodDesc}, '%') and quantity = #{quantity} and unit = #{unit}