From c26cb905fc7579fa8df7a7195b6185d101c44fe5 Mon Sep 17 00:00:00 2001 From: yishiqihuasheng <1191093413@qq.com> Date: Thu, 18 May 2023 15:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=87=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=A4=9A=E4=BD=99=E5=92=8C=E5=AD=97=E6=AE=B5=E4=B8=8D?= =?UTF-8?q?=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../export/impl/CustomsServiceImpl.java | 22 +++++++++---------- .../export/impl/PoolPaperServiceImpl.java | 20 ++++++++++++----- .../dxhy/core/thread/CustomExportThread.java | 2 +- .../dxhy/core/thread/PoolAddTaxThread.java | 2 +- .../com/dxhy/core/thread/PoolSaleThread.java | 3 ++- .../main/resources/mapper/CustomsMapper.xml | 5 ++--- .../main/resources/mapper/ExtPaperMapper.xml | 3 +++ 7 files changed, 34 insertions(+), 23 deletions(-) diff --git a/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/CustomsServiceImpl.java b/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/CustomsServiceImpl.java index 5188cf72..d8a60851 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/CustomsServiceImpl.java +++ b/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/CustomsServiceImpl.java @@ -124,22 +124,22 @@ public class CustomsServiceImpl extends MpBaseServiceImpl7){ + accountPeriod = accountPeriod.substring(0,7); + } + dataArray[32] = accountPeriod; dataArray[33] = pageList.get(i).getImageId(); dataArray[34] = pageList.get(i).getBzdh(); log.info("入账状态====>{}",pageList.get(i).getInAccountStatus()); @@ -358,7 +363,7 @@ public class PoolPaperServiceImpl extends MpBaseServiceImpl 0) { for (int i = 0; i < pageList.size(); i++) { - String[] dataArray = new String[30]; + String[] dataArray = new String[33]; dataArray[0] = String.valueOf((curr - 1) * size + i + 1); // 发票类型 dataArray[1] = new InvoiceTypeUtils().invoiceTypeName(pageList.get(i).getInvoiceType()); @@ -415,13 +420,16 @@ public class PoolPaperServiceImpl extends MpBaseServiceImpl - + - - + diff --git a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml index f4e10428..3db2a63e 100644 --- a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml +++ b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml @@ -7,6 +7,9 @@ . invoice_code invoiceCode, + t.image_id imageId, + t.account_period accountPeriod, + t.posting_time postingTime, t.invoice_no invoiceNo, t.invoice_status invoiceStatus, t.invoice_type invoiceType,