From a2220c85eb007e8c5f747191a971e1bcb3bb0788 Mon Sep 17 00:00:00 2001 From: yefei Date: Tue, 5 Sep 2023 16:11:25 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E8=BF=9B=E9=A1=B9bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invoicecheck/BaseInvoiceManualCheckServiceImpl.java | 4 ++-- .../service/receipt/BaseReceiptInvoiceServiceImpl.java | 3 ++- .../base/service/receipt/BaseReceiptOutServiceImpl.java | 4 ++-- .../service/tdxrecordinvoice/BaseFpbrzServiceImpl.java | 2 +- .../main/java/com/dxhy/core/model/CustomsRecordVO.java | 2 +- .../src/main/java/com/dxhy/core/model/CustomsRzcxVO.java | 4 ++-- .../java/com/dxhy/core/model/ExportInvoiceRzcxVO.java | 2 +- .../dxhy/core/service/export/impl/FpqsServiceImpl.java | 4 ++-- .../dxhy/core/service/export/impl/SgqsServiceImpl.java | 2 +- .../com/dxhy/core/thread/CautionExportAnomalyThread.java | 3 ++- .../java/com/dxhy/core/thread/InvoiceOutExportThread.java | 3 ++- .../src/main/resources/mapper/TDxCustomsRecordMapper.xml | 8 ++++---- .../src/main/resources/mapper/TDxExportInvoiceDao.xml | 2 +- .../service/caution/ExtCautionExpirationServiceImpl.java | 2 +- .../dxhy/sign/service/fpqs/impl/SignFpqsServiceImpl.java | 4 ++-- 15 files changed, 26 insertions(+), 23 deletions(-) diff --git a/dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java b/dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java index b029fcea..ba61d402 100644 --- a/dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java +++ b/dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java @@ -181,7 +181,7 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl impl vo.setInvoiceAmount(MathUtil.round(pageList.get(i).getInvoiceAmount().toPlainString())); vo.setTaxAmount(MathUtil.round(pageList.get(i).getTaxAmount().toPlainString())); vo.setSnVoucherNumber(pageList.get(i).getSnVoucherNumber()); - vo.setPostingTime(pageList.get(i).getPostingTime()); + vo.setPostingTime(StringUtils.isNotEmpty(pageList.get(i).getPostingTime()) ? pageList.get(i).getPostingTime().replace("T"," ") : ""); vo.setImageNumber(pageList.get(i).getImageNumber()); vo.setAccountPeriod(pageList.get(i).getAccountPeriod()); vo.setCompCode(pageList.get(i).getCompCode()); diff --git a/dxhy-core/src/main/java/com/dxhy/core/thread/CautionExportAnomalyThread.java b/dxhy-core/src/main/java/com/dxhy/core/thread/CautionExportAnomalyThread.java index 25eb6d9e..5d91d6ef 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/thread/CautionExportAnomalyThread.java +++ b/dxhy-core/src/main/java/com/dxhy/core/thread/CautionExportAnomalyThread.java @@ -31,6 +31,7 @@ import com.github.pagehelper.PageInfo; import cn.hutool.core.date.DateUtil; import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.StringUtils; /** * @author user @@ -262,7 +263,7 @@ public class CautionExportAnomalyThread extends BaseThread { vo.setSnVoucherNumber(record.getSnVoucherNumber()); - vo.setPostingTime(record.getPostingTime()); + vo.setPostingTime(StringUtils.isNotEmpty(record.getPostingTime()) ? record.getPostingTime().replace("T"," ") : ""); vo.setImageNumber(record.getImageId()); diff --git a/dxhy-core/src/main/java/com/dxhy/core/thread/InvoiceOutExportThread.java b/dxhy-core/src/main/java/com/dxhy/core/thread/InvoiceOutExportThread.java index 48554607..fec277e4 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/thread/InvoiceOutExportThread.java +++ b/dxhy-core/src/main/java/com/dxhy/core/thread/InvoiceOutExportThread.java @@ -4,6 +4,7 @@ import java.util.*; import javax.annotation.Resource; +import com.alibaba.cloud.commons.lang.StringUtils; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.dxhy.common.constant.DbConstant; @@ -321,7 +322,7 @@ public class InvoiceOutExportThread extends BaseThread { vo.setRemark(view.getOutRemark()); vo.setSnVoucherNumber(view.getSnVoucherNumber()); - vo.setPostingTime(view.getPostingTime()); + vo.setPostingTime(StringUtils.isNotEmpty(view.getPostingTime()) ? view.getPostingTime().replace("T"," ") : ""); vo.setImageNumber(view.getImageNumber()); vo.setAccountPeriod(view.getAccountPeriod()); vo.setCompCode(view.getCompCode()); diff --git a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml index 9d4f53c3..d33ddc8d 100644 --- a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml +++ b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml @@ -439,11 +439,11 @@ p.dept_name as businessName, p.sn_voucher_number as snVoucherNumber, p.posting_time as postingTime, - p.image_id as imageId, + p.image_id as imageNumber, p.account_period as account_period, p.bzdh, p.bzr, - p.inaccount_status as inaccountStatus, + p.inaccount_status as inAccountStatus, p.comp_code as compCode FROM t_dx_customs_record p @@ -1033,7 +1033,7 @@ t.dept_name as deptName, r.sn_voucher_number as snVoucherNumber, r.posting_time as postingTime, - r.image_id as imageId, + r.image_id as imageNumber, r.account_period as account_period, r.bzdh, r.bzr, @@ -1200,7 +1200,7 @@ dept_name as deptName, sn_voucher_number as snVoucherNumber, posting_time as postingTime, - image_id as imageId, + image_id as imageNumber, account_period as account_period, bzdh, bzr, diff --git a/dxhy-core/src/main/resources/mapper/TDxExportInvoiceDao.xml b/dxhy-core/src/main/resources/mapper/TDxExportInvoiceDao.xml index 798664f8..a627df16 100644 --- a/dxhy-core/src/main/resources/mapper/TDxExportInvoiceDao.xml +++ b/dxhy-core/src/main/resources/mapper/TDxExportInvoiceDao.xml @@ -77,7 +77,7 @@ p.cxrz_status as cxrzStatus, p.sn_voucher_number as snVoucherNumber, p.posting_time as postingTime, - p.image_id as imageId, + p.image_id as imageNumber, p.account_period as account_period, p.bzdh, p.bzr, diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java index ea0286ec..3c856b6f 100644 --- a/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java +++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java @@ -270,7 +270,7 @@ public class ExtCautionExpirationServiceImpl extends MpBaseServiceImpl