diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesEnumUtil.java index 6c1626f..ba8f21d 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesEnumUtil.java @@ -2103,7 +2103,9 @@ public class MesEnumUtil { MES_CONTROL_PLAN(650, "controlPlanExcelService", "控制计划导入"), MES_HOLIDAY_VACATION(660, "holidayVacationExcelService", "节假日导入"), MES_PENDING_REPORT_TYPE(670, "pendingReportTypeExcelService", "待处理报工类型导入"), - MES_FAILURE_MODE_PARTS(680, "failureModePartsExcelService", "失效模式零件导入"); + MES_FAILURE_MODE_PARTS(680, "failureModePartsExcelService", "失效模式零件导入"), + MES_ELECTROTESTING_PRINT_DATA(690, "electrotestingPrintDataExcelService", "电检打印数据导入"); + private int value; private String service; @@ -5728,7 +5730,7 @@ public class MesEnumUtil { */ @JsonFormat(shape = JsonFormat.Shape.OBJECT) public enum VALUE_TYPE { - + MANUAL_ASSIGNMENT("10", "手工赋值"), SPEL_EXPRESSION("20", "spel表达式"), FUNCTION_ASSIGNMENT("30", "函数赋值"), diff --git a/modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/bean/MesElectrotestingPrintData.java b/modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/bean/MesElectrotestingPrintData.java new file mode 100644 index 0000000..5ecc961 --- /dev/null +++ b/modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/bean/MesElectrotestingPrintData.java @@ -0,0 +1,59 @@ +package cn.estsh.i3plus.pojo.mes.bean; + +import cn.estsh.i3plus.pojo.base.bean.BaseBean; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiParam; +import lombok.Data; +import lombok.EqualsAndHashCode; +import org.hibernate.annotations.DynamicInsert; +import org.hibernate.annotations.DynamicUpdate; + +import javax.persistence.*; +import java.io.Serializable; + +/** + * @Description : 泰国电检打印数据 + * @Reference : + * @Author : dominic + * @CreateDate : 2021/6/16 14:15 + * @Modify: + **/ +@Data +@Entity +@DynamicInsert +@DynamicUpdate +@EqualsAndHashCode(callSuper = true) +@Inheritance(strategy = InheritanceType.JOINED) +@Table(name = "MES_ELECTROTESTING_PRINT_DATA") +@Api("MES_电检打印数据") +public class MesElectrotestingPrintData extends BaseBean implements Serializable { + private static final long serialVersionUID = 5179928838368157923L; + + @Column(name = "COLOUR_CODE") + @ApiParam("颜色代码") + private String colourCode; + + @Column(name = "VARIANT") + @ApiParam("型号") + private String variant; + + @Column(name = "PRODUCTION_NUMBER") + @ApiParam("产品号") + private String productionNumber; + + @Column(name = "COMMISSION_NUMBER") + @ApiParam("佣金号") + private String commissionNumber; + + @Column(name = "QAD_NO") + @ApiParam("位置号") + private String qadNo; + + @Column(name = "PART_NO") + @ApiParam("物料号") + private String partNo; + + @Column(name = "PRINT_STATUS") + @ApiParam("打印状态") + private Integer printStatus = 10; +} diff --git a/modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/repository/MesElectrotestingPrintDataRepository.java b/modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/repository/MesElectrotestingPrintDataRepository.java new file mode 100644 index 0000000..43915c2 --- /dev/null +++ b/modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/repository/MesElectrotestingPrintDataRepository.java @@ -0,0 +1,16 @@ +package cn.estsh.i3plus.pojo.mes.repository; + +import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; +import cn.estsh.i3plus.pojo.mes.bean.MesElectrotestingPrintData; +import org.springframework.stereotype.Repository; + +/** + * @Description : 泰国电检打印数据 + * @Reference : + * @Author : dominic + * @CreateDate : 2021/6/16 14:27 + * @Modify: + **/ +@Repository +public interface MesElectrotestingPrintDataRepository extends BaseRepository { +}