diff --git a/dxhy-core/src/main/java/com/dxhy/core/thread/ManualAthensThread.java b/dxhy-core/src/main/java/com/dxhy/core/thread/ManualAthensThread.java
index 5f620fa0..fedadc85 100644
--- a/dxhy-core/src/main/java/com/dxhy/core/thread/ManualAthensThread.java
+++ b/dxhy-core/src/main/java/com/dxhy/core/thread/ManualAthensThread.java
@@ -188,11 +188,10 @@ public class ManualAthensThread extends BaseThread {
pramsMap.put("cjjsyf", DateUtils.getNight(DateUtils.strToDate(cjjsyf)));
}
if (prams.get("kpksrq") != null && !"".equals(prams.get("kpksrq"))) {
- pramsMap.put("kpksrq",
- DateUtils.getMorning(DateUtils.strToDate(prams.get("kpksrq").toString())));
+ pramsMap.put("kpksrq",prams.getString("kpksrq"));
}
if (prams.get("kpjsrq") != null && !"".equals(prams.get("kpjsrq"))) {
- pramsMap.put("kpjsrq", DateUtils.getNight(DateUtils.strToDate(prams.get("kpjsrq").toString())));
+ pramsMap.put("kpjsrq",prams.getString("kpjsrq"));
}
if (prams.get("skssq") != null && !"".equals(prams.get("skssq")) && "1".equals(prams.get("rzzt"))) {
pramsMap.put("skssq", prams.get("skssq").toString().replace("-", ""));
diff --git a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml
index 047d24c8..5a56efe0 100644
--- a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml
@@ -436,7 +436,13 @@
p.rzh_belong_date as rzhBelongDate,
p.cxrz_status as cxrzStatus,
p.bdk_status as bdkStatus,
- p.dept_name as businessName
+ p.dept_name as businessName,
+ p.inaccount_status as inAccountStatus,
+ p.bzdh as bzdh,
+ p.image_id as imageNumber,
+ p.account_period as accountPeriod,
+ p.posting_time as postingTime,
+ p.sn_voucher_number as snVoucherNumber
FROM
t_dx_customs_record p
where
@@ -449,6 +455,23 @@
#{item,jdbcType=VARCHAR}
+
+ and p.bzdh = #{queryParams.bzdh}
+
+
+
+ and p.inaccount_status = #{queryParams.inAccountStatus}
+
+
+
+ and p.posting_time between #{queryParams.postingTimeStart} and #{queryParams.postingTimeEnd}
+
+
+ and p.image_id = #{queryParams.imageNumber}
+
+
+ and p.account_period = #{queryParams.accountPeriod}
+
and p.gf_tax_no = #{queryParams.gfsh}
@@ -466,17 +489,29 @@
and p.auth_status = #{queryParams.authStatus}
+
+
+ and p.confirm_user in
+
+ #{item}
+
+
and p.bdk_status = #{queryParams.rzlx}
-
+
and p.rzh_yesorno = #{queryParams.rzhYesorno}
+
+ and (p.rzh_yesorno = '1' or p.rzh_yesorno = '2')
+
and p.rzh_date >= #{queryParams.rzhDateStart}
@@ -528,15 +563,18 @@
and p.qs_date <= #{queryParams.qsDateEnd}
-
+
and p.dept_id = #{queryParams.businessCode}
and (p.dept_id is null or p.dept_id='' or p.dept_id='99')
-
+
and (p.dept_id in
-
+
#{item.businessCode}
) or (p.dept_id is null or p.dept_id='' or p.dept_id='99'))