Merge branches 'ext-dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into ext-dev
commit
a4bc97c5da
@ -0,0 +1,60 @@
|
||||
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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAILURE_MODE_APPROVAL")
|
||||
@Api("MES_失效模式审批人员")
|
||||
public class MesFailureModeApproval extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5274274774653791153L;
|
||||
|
||||
@Column(name = "PATTERN_CODE")
|
||||
@ApiParam("模式代码")
|
||||
private String patternCode;
|
||||
|
||||
@Column(name = "PATTERN_NAME")
|
||||
@ApiParam("模式代码名称")
|
||||
private String patternName;
|
||||
|
||||
@Column(name = "DEPARTMENT_NAME_RDD")
|
||||
@ApiParam("部门名称")
|
||||
private String departmentNameRdd;
|
||||
|
||||
@Column(name = "DEPARTMENT_ID")
|
||||
@ApiParam("部门id")
|
||||
private Long departmentId;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam("人员名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "USER_ID")
|
||||
@ApiParam("人员id")
|
||||
private Long userId;
|
||||
|
||||
@Column(name = "PERSONNEL_LEVEL")
|
||||
@ApiParam("人员级别")
|
||||
private Integer personnelLevel;
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
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.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :锁定记录
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021-06-10
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_LOCK_RECORD")
|
||||
@Api("mes锁定记录表")
|
||||
public class MesLockRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5132229443235106976L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "LOCK_REASON")
|
||||
@ApiParam("锁定原因")
|
||||
private String lockReason;
|
||||
|
||||
@Column(name = "EMPLOYEE_NUMBER")
|
||||
@ApiParam("工号")
|
||||
private String employeeNumber;
|
||||
|
||||
@Column(name = "LOCK_STATUS")
|
||||
@ColumnDefault("1")
|
||||
@ApiParam("锁定状态")
|
||||
private Integer lockStatus = 1;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.report;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description : 报废率趋势model
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/17 19:12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("报废率趋势model")
|
||||
public class ScrapRateTrendReportModel {
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("修改时间")
|
||||
private String modifyDatetime;
|
||||
|
||||
@ApiParam("操作类型")
|
||||
private Integer operateType;
|
||||
|
||||
@ApiParam("报废原因")
|
||||
private String scrapCode;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesFailureModeApproval;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\13 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFailureModeApprovalRepository extends BaseRepository<MesFailureModeApproval, Long> {
|
||||
}
|
@ -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.MesLockRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/10 19:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesLockRecordRepository extends BaseRepository<MesLockRecord, Long> {
|
||||
}
|
Loading…
Reference in New Issue