2 天以前 c477506a6d672f71c6353608f3cf3424d8026790
src/main/java/com/ruoyi/device/execl/DeviceLedgerExeclDto.java
@@ -7,87 +7,50 @@
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
@Data
public class DeviceLedgerExeclDto {
    @Excel(name = "设备类型", sort = 0, combo = {"生产设备", "办公设备", "检测设备", "运输设备", "其他设备"})
    private String type;
    /**
     * 设备名称
     */
    @Excel(name = "设备名称" ,sort = 1)
    @Excel(name = "设备名称", sort = 1)
    private String deviceName;
    /**
     * 设备类型
     */
    @Excel(name = "设备类型",sort = 0,combo = {"生产设备","办公设备","检查设备","运输设备","其他设备"})
    private String type;
    @Excel(name = "规格型号", sort = 2)
    private String deviceModel;
    @Excel(name = "供应商名称", sort = 3)
    private String supplierName;
    @Excel(name = "单位", sort = 4)
    private String unit;
    @Excel(name = "数量", sort = 5, type = Excel.Type.EXPORT)
    private BigDecimal number = BigDecimal.ONE;
    @Excel(name = "含税单价", sort = 6)
    private BigDecimal taxIncludingPriceUnit;
    @Excel(name = "含税总价", sort = 7, type = Excel.Type.EXPORT)
    private BigDecimal taxIncludingPriceTotal;
    @Excel(name = "税率", sort = 8)
    private BigDecimal taxRate;
    @Excel(name = "不含税总价", sort = 9, type = Excel.Type.EXPORT)
    private BigDecimal unTaxIncludingPriceTotal;
    @ApiModelProperty("计划运行时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划运行时间",sort = 10,dateFormat = "yyyy-MM-dd")
    @Excel(name = "计划运行时间", sort = 10, dateFormat = "yyyy-MM-dd")
    private Date planRuntimeTime;
    /**
     * 规格型号
     */
    @Excel(name = "规格型号" ,sort = 2)
    private String deviceModel;
    @Excel(name = "设备区域", sort = 11)
    private String areaName;
    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称",sort = 3)
    private String supplierName;
    /**
     * 单位
     */
    @Excel(name = "单位",sort = 4)
    private String unit;
    /**
     * 数量
     */
    @Excel(name = "数量",sort = 5, type = Excel.Type.EXPORT)
    private BigDecimal number = BigDecimal.ONE;
    /**
     * 含税单价
     */
    @Excel(name = "含税单价",sort = 6)
    private BigDecimal taxIncludingPriceUnit;
    /**
     * 含税总价
     */
    @Excel(name = "含税总价",sort = 7, type = Excel.Type.EXPORT)
    private BigDecimal taxIncludingPriceTotal;
    /**
     * 税率
     */
    @Excel(name = "税率",sort = 8)
    private BigDecimal taxRate;
    /**
     * 不含税总价
     */
    @Excel(name = "不含税总价",sort = 9, type = Excel.Type.EXPORT)
    private BigDecimal unTaxIncludingPriceTotal;
    /**
     * 录入人
     */
    @Excel(name = "录入人",sort = 9)
    @Excel(name = "录入人", sort = 12)
    private String createUser;
}