From 24f221caf90aff58d12ea58571dcf1939d8d0813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 5 Aug 2021 23:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=A1=86=E7=9A=84=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper_xml/MaterialMapperEx.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml index 302d2e5d..4e06e658 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -217,7 +217,7 @@ and m.enable_serial_number ='1' - and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey}) + and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey}) and ifnull(m.delete_flag,'0') !='1' order by m.id desc @@ -234,7 +234,7 @@ and m.enable_serial_number ='1' - and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey}) + and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey}) and ifnull(m.delete_flag,'0') !='1'