wjli
2024-04-12 e8f0b3422d307c686b3a81269f9e9e4fb34a846e
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderStatusCount.java
@@ -2,9 +2,11 @@
import cn.exrick.xboot.core.base.XbootBaseEntity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentLoopMerge;
import com.alibaba.excel.annotation.write.style.OnceAbsoluteMerge;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
@@ -14,15 +16,23 @@
@Data
//@Excel("签收状态统计报表")
@ExcelIgnoreUnannotated
public class OrderStatusCount {
    //    @ContentLoopMerge(eachRow = 5)
    @ExcelProperty("车号")
    @ExcelProperty(value = "车号")
    @TableField(value = "carName")
    private String carName;
    //@ContentLoopMerge(eachRow = 5)
    @ExcelProperty("姓名")
    @TableField(value = "userName")
    //@ExcelIgnore
    private String userName;
    //    @ContentLoopMerge(eachRow = 5)
    //@ContentLoopMerge(eachRow = 5)
    @ExcelProperty("线路")
    @TableField(value = "line")
    private String line;
    @ExcelProperty("批次")
    @TableField(value = "batch")
    private String batch;
@@ -41,7 +51,14 @@
    @ExcelProperty("签收率")
    @TableField(value = "proportion")
    private String proportion;
    @ExcelProperty("日期")
   // @ContentLoopMerge(eachRow = 5)
    @ExcelProperty("平均签收率")
    @TableField(value = "name")
    //@ExcelIgnore
    private String name;
    //@ExcelProperty("日期")
    @ExcelIgnore
    @ColumnWidth(20)
    private String sendDate;
    //    1 按日查询   3按月查询
@@ -61,10 +78,9 @@
    private String carId;
    @ExcelIgnore
    private String carNo;
    @ExcelIgnore
    private String name;
    @ExcelIgnore
    private String userName;
   /* @ExcelIgnore
    private String name;*/
    @ExcelIgnore
    private String carTime;