Bladeren bron

导出利润单设置样式

yangzian 4 jaren geleden
bovenliggende
commit
a72cefd85b

+ 10 - 10
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/entity/vo/ProfitReportBytedanceVo.java

@@ -14,34 +14,34 @@ import java.io.Serializable;
 @Data
 public class ProfitReportBytedanceVo implements Serializable {
 
-    @Excel(name = "广告主公司名称")
+    @Excel(name = "广告主公司名称",width = 30)
     private String advertiserName;
 
-    @Excel(name = "产品名称")
+    @Excel(name = "产品名称",width = 25)
     private String productName;
 
-    @Excel(name = "总消耗")
+    @Excel(name = "总消耗",width = 10)
     private String cost;
 
-    @Excel(name = "现金消耗")
+    @Excel(name = "现金消耗",width = 10)
     private String cashCost;
 
-    @Excel(name = "赠款消耗")
+    @Excel(name = "赠款消耗",width = 10)
     private String rewardCost;
 
-    @Excel(name = "返点类型")
+    @Excel(name = "返点类型",width = 10)
     private String rebateType;
 
-    @Excel(name = "返点比列")
+    @Excel(name = "返点比列",width = 10)
     private String rebateRate;
 
-    @Excel(name = "销售")
+    @Excel(name = "销售",width = 12)
     private String saleName;
 
-    @Excel(name = "运营")
+    @Excel(name = "运营",width = 12)
     private String operateName;
 
-    @Excel(name = "运营所属区域")
+    @Excel(name = "运营所属区域",width = 12)
     private String operateArea;
 
 

+ 12 - 11
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/entity/vo/ProfitReportKuaiShouVo.java

@@ -1,6 +1,7 @@
 package org.jeecg.ctop.finance.settlement.entity.vo;
 
 import cn.afterturn.easypoi.excel.annotation.Excel;
+import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
 import lombok.Data;
 
 import java.io.Serializable;
@@ -15,37 +16,37 @@ import java.io.Serializable;
 public class ProfitReportKuaiShouVo implements Serializable {
 
 
-    @Excel(name = "账户ID")
+    @Excel(name = "账户ID",width = 20)
     private String accountId;
 
-    @Excel(name = "快手ID")
+    @Excel(name = "快手ID",width = 20)
     private String ksId;
 
-    @Excel(name = "广告主公司名称")
+    @Excel(name = "广告主公司名称",width = 30)
     private String advertiserName;
 
-    @Excel(name = "产品名称")
+    @Excel(name = "产品名称",width = 25)
     private String productName;
 
-    @Excel(name = "总消耗")
+    @Excel(name = "总消耗",width = 10)
     private String cost;
 
-    @Excel(name = "充值花费")
+    @Excel(name = "充值花费",width = 10)
     private String cashCost;
 
-    @Excel(name = "返点类型")
+    @Excel(name = "返点类型",width = 10)
     private String rebateType;
 
-    @Excel(name = "返点比列")
+    @Excel(name = "返点比列",width = 10)
     private String rebateRate;
 
-    @Excel(name = "销售")
+    @Excel(name = "销售",width = 12)
     private String saleName;
 
-    @Excel(name = "运营")
+    @Excel(name = "运营",width = 12)
     private String operateName;
 
-    @Excel(name = "运营所属区域")
+    @Excel(name = "运营所属区域",width = 12)
     private String operateArea;