春风项目四线(合箱线、总装线)
wujian
2024-04-28 929bdcf5898f03820d9d2ba62005e32a0a0ded14
jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/domain/DaPassingStationCollection.java
@@ -2,6 +2,11 @@
import java.util.Date;
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.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
@@ -9,6 +14,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jcdm.common.annotation.Excel;
import com.jcdm.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
/**
 * 产品过站采集对象 da_passing_station_collection
@@ -17,6 +23,10 @@
 * @date 2023-12-12
 */
@Data
@ExcelIgnoreUnannotated
@ColumnWidth(16)
@HeadRowHeight(14)
@HeadFontStyle(fontHeightInPoints = 11)
public class DaPassingStationCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;
@@ -26,22 +36,32 @@
    /** 工单编号 */
    @Excel(name = "工单编号")
    @ExcelProperty(value = "工单编号", index = 0)
    private String workOrderNo;
    private String repairFlag;
    @TableField(exist = false)
    private Integer stepNo;
    /** 总成序列号 */
    @Excel(name = "总成序列号")
    @Excel(name = "箱体编码")
    @ExcelProperty(value = "箱体编码", index = 1)
    private String sfcCode;
    /** 产品编号 */
    @Excel(name = "产品编号")
    @ExcelProperty(value = "产品编号", index = 2)
    private String productCode;
    /** 产线编号 */
    @Excel(name = "产线编号")
    @ExcelProperty(value = "产线编号", index = 3)
    private String productionLine;
    /** 工位编号 */
    @Excel(name = "工位编号")
    @ExcelProperty(value = "工位编号", index = 4)
    private String locationCode;
    /** 设备编号 */
@@ -51,12 +71,24 @@
    /** 入站时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入站时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "入站时间", index = 5)
    private Date inboundTime;
    /** 出站时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出站时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "出站时间", index = 6)
    private Date outboundTime;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    /** 入站是否合格 */
    @Excel(name = "入站是否合格")
@@ -68,15 +100,20 @@
    /** 出站是否合格 */
    @Excel(name = "出站是否合格")
    @ExcelProperty(value = "是否合格", index = 7)
    private String outRsSign;
    /** 出站NG原因 */
    @Excel(name = "出站NG原因")
    @ExcelProperty(value = "NG原因", index = 8)
    private String outMsgSign;
    /** 采集时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "采集时间", index = 9)
    private Date collectionTime;
    /** 预留字段1 */
@@ -93,6 +130,7 @@
    /** 节拍时间 */
    @Excel(name = "节拍时间")
    @ExcelProperty(value = "节拍时间", index = 10)
    private String beatTime;
    @TableField(exist = false)