|
|
@ -3,6 +3,8 @@ package com.dxhy.domestic.service.ckzrz.impl; |
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
|
|
|
import java.time.format.DateTimeFormatter; |
|
|
|
import java.util.*; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.annotation.Resource; |
|
|
@ -106,6 +108,12 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
map.put("inAccountStatus","未入账"); |
|
|
|
map.put("inAccountStatus","未入账"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(map.get("postingTime") != null) { |
|
|
|
|
|
|
|
LocalDateTime dateTime = (LocalDateTime) map.get("postingTime"); |
|
|
|
|
|
|
|
String format = dateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
|
|
|
map.put("postingTime", format); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
map.put("exportAmount", AmountFormatUtil |
|
|
|
map.put("exportAmount", AmountFormatUtil |
|
|
|
.fmtMicrometer(MathUtil.round(((BigDecimal)map.get("exportAmount")).toPlainString()))); |
|
|
|
.fmtMicrometer(MathUtil.round(((BigDecimal)map.get("exportAmount")).toPlainString()))); |
|
|
|
map.put("exportTaxAmount", AmountFormatUtil |
|
|
|
map.put("exportTaxAmount", AmountFormatUtil |
|
|
@ -429,6 +437,12 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
map.put("inAccountStatus","未入账"); |
|
|
|
map.put("inAccountStatus","未入账"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(map.get("postingTime") != null) { |
|
|
|
|
|
|
|
LocalDateTime dateTime = (LocalDateTime) map.get("postingTime"); |
|
|
|
|
|
|
|
String format = dateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
|
|
|
map.put("postingTime", format); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
map.put("exportAmount", AmountFormatUtil |
|
|
|
map.put("exportAmount", AmountFormatUtil |
|
|
|
.fmtMicrometer(MathUtil.round(((BigDecimal)map.get("exportAmount")).toPlainString()))); |
|
|
|
.fmtMicrometer(MathUtil.round(((BigDecimal)map.get("exportAmount")).toPlainString()))); |
|
|
|
map.put("exportTaxAmount", AmountFormatUtil |
|
|
|
map.put("exportTaxAmount", AmountFormatUtil |
|
|
@ -533,7 +547,6 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
String rzhYesorno = (String)map.get("rzhYesorno"); |
|
|
|
String rzhYesorno = (String)map.get("rzhYesorno"); |
|
|
|
String invoiceStatus = (String)map.get("invoiceStatus"); |
|
|
|
String invoiceStatus = (String)map.get("invoiceStatus"); |
|
|
|
String authStatus = (String)map.get("authStatus"); |
|
|
|
String authStatus = (String)map.get("authStatus"); |
|
|
|
String postingTime = map.get("postingTime").toString(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
map.put("xh", |
|
|
|
map.put("xh", |
|
|
|
String.valueOf((((page.getCurrent() == 0 ? 1 : page.getCurrent()) - 1) * page.getSize()) + i + 1)); |
|
|
|
String.valueOf((((page.getCurrent() == 0 ? 1 : page.getCurrent()) - 1) * page.getSize()) + i + 1)); |
|
|
@ -550,7 +563,11 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
map.put("authStatus", dictdetaServcice.queryDictName(DictConstant.AUTH_STATUS_ALL, authStatus)); |
|
|
|
map.put("authStatus", dictdetaServcice.queryDictName(DictConstant.AUTH_STATUS_ALL, authStatus)); |
|
|
|
map.put("bdkStatus", dictdetaServcice.queryDictName(DictConstant.BDK_STATUS, bdkStatus)); |
|
|
|
map.put("bdkStatus", dictdetaServcice.queryDictName(DictConstant.BDK_STATUS, bdkStatus)); |
|
|
|
map.put("cxrzStatus", dictdetaServcice.queryDictName(DictConstant.CXRZ_STATUS, cxrzStatus)); |
|
|
|
map.put("cxrzStatus", dictdetaServcice.queryDictName(DictConstant.CXRZ_STATUS, cxrzStatus)); |
|
|
|
map.put("postingTime", StringUtils.isNotEmpty(postingTime) ? postingTime.replace("T"," ") : ""); |
|
|
|
if(map.get("postingTime") != null) { |
|
|
|
|
|
|
|
LocalDateTime dateTime = (LocalDateTime) map.get("postingTime"); |
|
|
|
|
|
|
|
String format = dateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
|
|
|
map.put("postingTime", format); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ("1".equals(map.get("inAccountStatus"))){ |
|
|
|
if ("1".equals(map.get("inAccountStatus"))){ |
|
|
|
map.put("inAccountStatus","已入账"); |
|
|
|
map.put("inAccountStatus","已入账"); |
|
|
|