diff --git a/dxhy-core/src/main/resources/mapper/CustomsMapper.xml b/dxhy-core/src/main/resources/mapper/CustomsMapper.xml
index 1872b5ee..965eecba 100644
--- a/dxhy-core/src/main/resources/mapper/CustomsMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/CustomsMapper.xml
@@ -123,9 +123,12 @@
and t.rzh_type = #{rzhType}
-
+
and t.in_account_status = #{inAccountStatus}
+
+ and (t.in_account_status = '0' or t.in_account_status = '' or t.in_account_status is null)
+
and t.qs_type = #{qsfs}
@@ -140,7 +143,7 @@
and t.posting_time = #{postingTime}
- and t.image_id = #{imageId}
+ and t.image_id = #{imageNumber}
and t.account_period = #{accountPeriod}
diff --git a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
index fdfa6ec0..37824d4a 100644
--- a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
@@ -134,6 +134,30 @@
and qs_type = #{qsfs}
+
+ and sn_voucher_number = #{snVoucherNumber}
+
+
+
+ and posting_time between #{postingTimeStart} and #{postingTimeEnd}
+
+
+
+ and image_id = #{imageNumber}
+
+
+
+ and account_period = #{accountPeriod}
+
+
+ and inaccount_status = #{inAccountStatus}
+
+
+ and (inaccount_status = '0' or inaccount_status = '' or inaccount_status is null)
+
+
+ and bzdh = #{bzdh}
+
and (comp_code in
@@ -299,8 +323,11 @@
and t.qs_type = #{qsfs}
-
- and t.payment_status = #{inAccountStatus}
+
+ and t.inaccount_status = #{inAccountStatus}
+
+
+ and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
and DATE_FORMAT(t.payment_date,'%Y-%m') = #{inAccountMonth}
@@ -308,14 +335,17 @@
and t.invoice_source = #{invoiceSource}
+
+ and t.bzdh = #{bzdh}
+
and t.sn_voucher_number = #{snVoucherNumber}
-
- and t.posting_time = #{postingTime}
+
+ and t.posting_time between #{postingTimeStart} and #{postingTimeEnd}
-
- and t.image_id = #{imageId}
+
+ and t.image_id = #{imageNumber}
and t.account_period = #{accountPeriod}
diff --git a/dxhy-core/src/main/resources/mapper/TicketMapper.xml b/dxhy-core/src/main/resources/mapper/TicketMapper.xml
index ee19bbed..15251426 100644
--- a/dxhy-core/src/main/resources/mapper/TicketMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/TicketMapper.xml
@@ -89,6 +89,27 @@
and t.company = #{company}
+
+ and t.posting_time between #{postingTimeStart} and #{postingTimeEnd}
+
+
+ and t.image_id = #{imageNumber}
+
+
+ and t.account_period = #{accountPeriod}
+
+
+ and t.inaccount_status = #{inAccountStatus}
+
+
+ and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
+
+
+ and t.bzdh = #{bzdh}
+
+
+ and t.sn_voucher_number = #{snVoucherNumber}
+
and (t.comp_code in
diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/customs/CustomsServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/customs/CustomsServiceImpl.java
index 9c1882b4..132cc1db 100644
--- a/dxhy-extend/src/main/java/com/dxhy/extend/service/customs/CustomsServiceImpl.java
+++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/customs/CustomsServiceImpl.java
@@ -115,8 +115,13 @@ public class CustomsServiceImpl extends MpBaseServiceImpl
and t.rzh_type = #{rzhType}
-
+
and t.in_account_status = #{inAccountStatus}
+
+ and (t.in_account_status = '0' or t.in_account_status = '' or t.in_account_status is null)
+
and t.qs_type = #{qsfs}