From da969b56334bdae92f8bcc593975dea33d601a7b Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Wed, 3 Jan 2024 17:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=A6=96=E9=A1=B5=E5=92=8C?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=94=80=E5=94=AE=E7=BB=9F=E8=AE=A1=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E7=9A=84=E9=80=BB=E8=BE=91=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper_xml/DepotHeadMapperEx.xml | 8 ++++---- .../main/resources/mapper_xml/DepotItemMapperEx.xml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml index 78ed6dbf..213ae5e3 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml @@ -471,7 +471,7 @@ and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey}) - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货') @@ -540,7 +540,7 @@ and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey}) - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货') @@ -942,7 +942,7 @@ and dh.oper_time <= #{endTime} - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and dh.creator in ( @@ -976,7 +976,7 @@ and dh.oper_time <= #{endTime} - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and dh.creator in ( diff --git a/jshERP-boot/src/main/resources/mapper_xml/DepotItemMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/DepotItemMapperEx.xml index fd430888..e4b31897 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/DepotItemMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/DepotItemMapperEx.xml @@ -443,7 +443,7 @@ - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and ifnull(m.delete_flag,'0') !='1' group by m.id @@ -500,7 +500,7 @@ - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and ifnull(di.delete_flag,'0') !='1' group by m.id) cc @@ -537,7 +537,7 @@ - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and ifnull(dh.delete_flag,'0') !='1' and ifnull(di.delete_flag,'0') !='1' @@ -576,7 +576,7 @@ - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and ifnull(dh.delete_flag,'0') !='1' and ifnull(di.delete_flag,'0') !='1' @@ -593,7 +593,7 @@ and dh.oper_time >= #{beginTime} and dh.oper_time <= #{endTime} - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and dh.creator in ( @@ -617,7 +617,7 @@ and dh.oper_time >= #{beginTime} and dh.oper_time <= #{endTime} - and dh.status = '1' + and (dh.status = '1' or dh.status = '2' or dh.status = '3') and dh.creator in (