Commit 7f84730a authored by sherlock's avatar sherlock

export order

parent f515b68a
......@@ -12,27 +12,27 @@ public class OutputVATInvoiceInfoDto {
private String invoiceId;
private Integer invoiceType;
@ExcelCell(index=2)
@ExcelCell(index=1)
private String invoiceTypeName;
@ExcelCell(index=3)
@ExcelCell(index=2)
private String classCode;
@ExcelCell(index=4)
@ExcelCell(index=3)
private String invoiceNumber;
@ExcelCell(index=5)
@ExcelCell(index=4)
private String buyerName;
@ExcelCell(index=6)
@ExcelCell(index=5)
private String buyerTaxNumber;
@ExcelCell(index=7)
@ExcelCell(index=6)
private String bankAccount;
@ExcelCell(index=8)
@ExcelCell(index=7)
private String phoneNum;
@ExcelCell(index=1)
@ExcelCell(index=8)
private Date invoiceDate;
@ExcelCell(index=9)
private String codeVersion;
@ExcelCell(index=10)
private String productName;
@ExcelCell(index=11)
private String productName;
@ExcelCell(index=10)
private String documentNum;
@ExcelCell(index=12)
private String productStandard;
......@@ -48,7 +48,7 @@ public class OutputVATInvoiceInfoDto {
private BigDecimal taxRate;
@ExcelCell(index=18)
private BigDecimal taxAmount;
@ExcelCell(index=9)
@ExcelCell(index=19)
private String taxClassCode;
@JsonProperty("periodID")
private int periodId;
......
......@@ -49,7 +49,8 @@ public class ExcelUtil {
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>
* 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