春风项目四线(合箱线、总装线)
wujian
2024-10-23 2c65c31aceb16c1d06c692266e3fb555ecafdfb5
jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/domain/DaPassingStationCollection.java
@@ -1,7 +1,13 @@
package com.jcdm.main.da.passingStationCollection.domain;
import java.time.LocalDate;
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 +15,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 +24,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,10 +37,17 @@
    /** 工单编号 */
    @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;
    /** 产品编号 */
@@ -42,6 +60,7 @@
    /** 工位编号 */
    @Excel(name = "工位编号")
    @ExcelProperty(value = "工位编号", index = 2)
    private String locationCode;
    /** 设备编号 */
@@ -51,11 +70,17 @@
    /** 入站时间 */
//    @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 = 3)
    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 = 4)
    private Date outboundTime;
    @TableField(exist = false)
@@ -74,6 +99,7 @@
    /** 出站是否合格 */
    @Excel(name = "出站是否合格")
    @ExcelProperty(value = "是否合格", index = 5)
    private String outRsSign;
    /** 出站NG原因 */
@@ -83,6 +109,9 @@
    /** 采集时间 */
//    @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 collectionTime;
    /** 预留字段1 */
@@ -106,6 +135,14 @@
    private Long[] ids;
    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate queryDate;
    @TableField(exist = false)
    private String queryMonth;
    public Long[] getIds() {
        return ids;
    }