Commit 7f84730a authored by sherlock's avatar sherlock

export order

parent f515b68a
...@@ -12,27 +12,27 @@ public class OutputVATInvoiceInfoDto { ...@@ -12,27 +12,27 @@ public class OutputVATInvoiceInfoDto {
private String invoiceId; private String invoiceId;
private Integer invoiceType; private Integer invoiceType;
@ExcelCell(index=2) @ExcelCell(index=1)
private String invoiceTypeName; private String invoiceTypeName;
@ExcelCell(index=3) @ExcelCell(index=2)
private String classCode; private String classCode;
@ExcelCell(index=4) @ExcelCell(index=3)
private String invoiceNumber; private String invoiceNumber;
@ExcelCell(index=5) @ExcelCell(index=4)
private String buyerName; private String buyerName;
@ExcelCell(index=6) @ExcelCell(index=5)
private String buyerTaxNumber; private String buyerTaxNumber;
@ExcelCell(index=7) @ExcelCell(index=6)
private String bankAccount; private String bankAccount;
@ExcelCell(index=8) @ExcelCell(index=7)
private String phoneNum; private String phoneNum;
@ExcelCell(index=1) @ExcelCell(index=8)
private Date invoiceDate; private Date invoiceDate;
@ExcelCell(index=9) @ExcelCell(index=9)
private String codeVersion; private String codeVersion;
@ExcelCell(index=10)
private String productName;
@ExcelCell(index=11) @ExcelCell(index=11)
private String productName;
@ExcelCell(index=10)
private String documentNum; private String documentNum;
@ExcelCell(index=12) @ExcelCell(index=12)
private String productStandard; private String productStandard;
...@@ -48,7 +48,7 @@ public class OutputVATInvoiceInfoDto { ...@@ -48,7 +48,7 @@ public class OutputVATInvoiceInfoDto {
private BigDecimal taxRate; private BigDecimal taxRate;
@ExcelCell(index=18) @ExcelCell(index=18)
private BigDecimal taxAmount; private BigDecimal taxAmount;
@ExcelCell(index=9) @ExcelCell(index=19)
private String taxClassCode; private String taxClassCode;
@JsonProperty("periodID") @JsonProperty("periodID")
private int periodId; private int periodId;
......
...@@ -49,7 +49,8 @@ public class ExcelUtil { ...@@ -49,7 +49,8 @@ public class ExcelUtil {
private static Logger LG = LoggerFactory.getLogger(ExcelUtil.class); private static Logger LG = LoggerFactory.getLogger(ExcelUtil.class);
private static final DecimalFormat DECIMAL_FORMAT = new DecimalFormat("###,###.00"); private static final DecimalFormat DECIMAL_FORMAT = new DecimalFormat("###,##0.00");
/** /**
* 用来验证excel与Vo中的类型是否一致 <br> * 用来验证excel与Vo中的类型是否一致 <br>
* Map<栏位类型,只能是哪些Cell类型> * Map<栏位类型,只能是哪些Cell类型>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment