This commit is contained in:
2023-02-22 15:59:13 +08:00
parent 8f3da0bf2e
commit 1d8aff98c7
76 changed files with 5168 additions and 24 deletions

View File

@@ -0,0 +1,56 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱拆合箱历史表
*
* @author codeGenerator
* @since 2023-02-16
*/
@Data
public class ChangePackagingBoxHistoryExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "基板ID或模组id")
private String substrateId;
@Excel(name = "源包装箱box no, 关联t_wo_packaging_box.box_no 字段")
private String sourceBoxNo;
@Excel(name = "源箱slot")
private Integer sourceSlot;
@Excel(name = "离开时间")
private LocalDateTime leaveTime;
@Excel(name = "目标箱box no, 关联t_wo_packaging_box.box_no 字段")
private String targetBoxNo;
@Excel(name = "目标箱slot")
private Integer targetSlot;
@Excel(name = "进入时间")
private LocalDateTime inputTime;
@Excel(name = "等级")
private String grade;
@Excel(name = "类型1=加入包装箱2=移除包装箱3=换箱")
private Integer type;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
}

View File

@@ -0,0 +1,56 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 打印标签模板表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class PrintModelExcel {
@Excel(name = "id")
private Long id;
@Excel(name = "编码")
private String code;
@Excel(name = "班组名称")
private String name;
@Excel(name = "启用状态:0 、停用1、启用")
private Integer enabled;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "备注")
private String remark;
@Excel(name = "类型0模组标签1等级标签")
private Integer type;
@Excel(name = "是否默认模板01")
private Integer isDefault;
@Excel(name = "是否要预览01")
private Integer isPreview;
@Excel(name = "模板内容")
private String content;
@Excel(name = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
}

View File

@@ -0,0 +1,49 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 基板补偿功率 表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class WoCompensationPowerExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "实际功率下限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppLow;
@Excel(name = "实际功率上限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppHigh;
@Excel(name = "计算公式")
private String formula;
@Excel(name = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@Excel(name = "系数a,(手动录入)")
private Float coefficientA;
@Excel(name = "系数b,(手动录入)")
private Float coefficientB;
@Excel(name = "备注")
private String remark;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
}

View File

@@ -0,0 +1,78 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class WoPackagingBoxExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "订单ID")
private Long orderId;
@Excel(name = "工单ID舍弃啊")
private Long workOrderId;
@Excel(name = "包装箱编号这个就是boxId,关联 t_wo_packaging_box表的 boxId")
private String boxNo;
@Excel(name = "功率,单位瓦(舍弃)")
private Integer power;
@Excel(name = "等级(舍弃)")
private Integer grade;
@Excel(name = "基板数量每个包装箱最大20片舍弃")
private Integer substrateQuantity;
@Excel(name = "装箱完成时间,指的是包装完成时间")
private LocalDateTime packagingTime;
@Excel(name = "打印时间(最近一次打印时间)")
private LocalDateTime printTime;
@Excel(name = "打印状态0、未打印1、已打印")
private Integer printStatus;
@Excel(name = "报工状态0、未报工1、已报工(舍弃)")
private Integer completionReportingStatus;
@Excel(name = "备注")
private String remark;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "离开产线时间(舍弃)")
private LocalDateTime leaveLineTime;
@Excel(name = "下片端口id舍弃")
private String portId;
@Excel(name = "打印次数")
private Integer printCount;
@Excel(name = "功率等级")
private String powerLevel;
@Excel(name = "客户id舍弃")
private Long customerId;
@Excel(name = "SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@Excel(name = "线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@Excel(name = "模式1-手动模式2-自动模式")
private Integer model;
@Excel(name = "是否到达包装台1=到达2=未达到")
private Integer isArrived;
}

View File

@@ -0,0 +1,52 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱基板关联表 ( 基板表 )
*
* @author codeGenerator
* @since 2023-02-21
*/
@Data
public class WoPackagingBoxSubstrateExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "包装箱IDBoxId")
private String packagingBoxId;
@Excel(name = "基板ID")
private String woSubstrateId;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "箱中位置")
private Integer slot;
@Excel(name = "进入时间")
private LocalDateTime inputTime;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@Excel(name = "线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@Excel(name = "功率等级")
private String powerLevel;
}

View File

@@ -0,0 +1,53 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 包装箱打印历史表
*
* @author codeGenerator
* @since 2023-02-15
*/
@Data
public class WoPackagingPrintHistoryExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "包装箱编号关联t_wo_packaging_box.box_no")
private String boxNo;
@Excel(name = "打印时间")
private LocalDateTime printTime;
@Excel(name = "报工时间")
private LocalDateTime completionReportingTime;
@Excel(name = "打印状态0、未打印1、已打印")
private Integer printStatus;
@Excel(name = "报工状态0、未报工1、已报工, 指的是向ERP报工")
private Integer completionReportingStatus;
@Excel(name = "移箱时间,指的是 箱子离开产线时间")
private LocalDateTime leaveLineTime;
@Excel(name = "下片端口id")
private String portId;
@Excel(name = "打印次数")
private Integer printCount;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "备注")
private String remark;
}

View File

@@ -0,0 +1,58 @@
package com.cnbm.packing.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 功率等级 表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class WoPowerLevelExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "功率等级名称,(现场人员手动录入)")
private Integer powerClass;
@Excel(name = "pmpp_low,(现场人员手动录入)")
private Float pmppLow;
@Excel(name = "pmpp_high,(现场人员手动录入)")
private Float pmppHigh;
@Excel(name = "物料号,(现场人员手动录入)")
private String sapMaterialNum;
@Excel(name = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@Excel(name = "lable_voc,(手动录入)")
private BigDecimal lableVoc;
@Excel(name = "lable_isc,(手动录入)")
private BigDecimal lableIsc;
@Excel(name = "lable_vmpp,(手动录入)")
private BigDecimal lableVmpp;
@Excel(name = "lable_impp,(手动录入)")
private BigDecimal lableImpp;
@Excel(name = "备注")
private String remark;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
}