From cf9c6fa59d5cbad083c413b36109d878e7c7889c Mon Sep 17 00:00:00 2001
From: yishiqihuasheng <1191093413@qq.com>
Date: Tue, 23 May 2023 20:50:27 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E8=B4=A6=E7=8A=B6=E6=80=81=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dxhy-core/src/main/resources/mapper/BbfpzhMapper.xml | 5 ++++-
dxhy-core/src/main/resources/mapper/BbycfpcxMapper.xml | 5 ++++-
dxhy-core/src/main/resources/mapper/FpZhMapper.xml | 10 ++++++++--
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/dxhy-core/src/main/resources/mapper/BbfpzhMapper.xml b/dxhy-core/src/main/resources/mapper/BbfpzhMapper.xml
index 3a91a151..f361cce6 100644
--- a/dxhy-core/src/main/resources/mapper/BbfpzhMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/BbfpzhMapper.xml
@@ -76,9 +76,12 @@
and t.bzr like concat('%',#{bzr},'%')
-
+
and t.inaccount_status = #{inAccountStatus}
+
+ and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
+
and t.invoice_status = #{invoiceStatus}
diff --git a/dxhy-core/src/main/resources/mapper/BbycfpcxMapper.xml b/dxhy-core/src/main/resources/mapper/BbycfpcxMapper.xml
index e6957fc8..ef6ccf33 100644
--- a/dxhy-core/src/main/resources/mapper/BbycfpcxMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/BbycfpcxMapper.xml
@@ -61,9 +61,12 @@
and t.bzr like concat('%',#{bzr},'%')
-
+
and t.inaccount_status = #{inAccountStatus}
+
+ and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
+
and t.sn_voucher_number = #{snVoucherNumber}
diff --git a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml
index 220c4702..43c32c20 100644
--- a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml
@@ -126,9 +126,12 @@
and t.bzr like concat('%',#{bzr},'%')
-
+
and t.inaccount_status = #{inAccountStatus}
+
+ and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
+
and t.qs_status = #{qszt}
@@ -607,9 +610,12 @@
and t.suspend_date = #{suspendDate}
-
+
and t.inaccount_status = #{inAccountStatus}
+
+ and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
+
and date_format(t.qs_date,'%Y-%m-%d') between #{qsksrq} and #{qsjsrq}