|
|
@@ -1,20 +1,54 @@
|
|
|
package org.springblade.land.excel;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.annotation.format.DateTimeFormat;
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
|
|
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
|
|
import lombok.Data;
|
|
|
-import lombok.EqualsAndHashCode;
|
|
|
|
|
|
+import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
@Data
|
|
|
@ColumnWidth(25)
|
|
|
@HeadRowHeight(20)
|
|
|
@ContentRowHeight(18)
|
|
|
-@EqualsAndHashCode(callSuper = true)
|
|
|
-public class CdAcctExcel extends AcctExcel {
|
|
|
+public class CdAcctExcel implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @ExcelProperty("客户名称")
|
|
|
+ private String corpName;
|
|
|
+
|
|
|
+ @ExcelProperty("货运日期")
|
|
|
+ @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date arrivalTime;
|
|
|
+
|
|
|
+ @ExcelProperty("业务员")
|
|
|
+ private String salesmanName;
|
|
|
+
|
|
|
+ @ExcelProperty("货运地点")
|
|
|
+ private String addressDetail;
|
|
|
+
|
|
|
+ @ExcelProperty("票据号")
|
|
|
+ private String receiptNo;
|
|
|
+
|
|
|
+ @ExcelProperty("提单号")
|
|
|
+ private String billNo;
|
|
|
+
|
|
|
+ @ExcelProperty("场站")
|
|
|
+ private String station;
|
|
|
+
|
|
|
+ @ExcelProperty("尺寸箱型")
|
|
|
+ private String ctnDetail;
|
|
|
+
|
|
|
+ @ExcelProperty("车队")
|
|
|
+ private String fleetName;
|
|
|
+
|
|
|
+ @ExcelProperty("车号")
|
|
|
+ private String plateNo;
|
|
|
|
|
|
@ExcelProperty("运费")
|
|
|
private BigDecimal landAmountC;
|
|
|
@@ -22,4 +56,7 @@ public class CdAcctExcel extends AcctExcel {
|
|
|
@ExcelProperty("杂费")
|
|
|
private BigDecimal extraAmountC;
|
|
|
|
|
|
+ @ExcelProperty("备注")
|
|
|
+ private String remarks;
|
|
|
+
|
|
|
}
|