Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
44f61e1525
@ -1,47 +0,0 @@
|
||||
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 javax.persistence.Inheritance;
|
||||
import javax.persistence.InheritanceType;
|
||||
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:
|
||||
* @CreateDate: 2020/10/13
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_BOARD_IMAGE")
|
||||
@Api("MES_看板图片")
|
||||
public class MesBoardImage extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3511836584646450267L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "IMAGE_URL")
|
||||
@ApiParam("图片路径")
|
||||
private String imageUrl;
|
||||
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
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.*;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/4 7:16 PM
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_QUARANTINE_RECORD", indexes = {
|
||||
@Index(columnList = "SERIAL_NUMBER"),
|
||||
@Index(columnList = "PART_NO")
|
||||
})
|
||||
@Api("隔离记录表")
|
||||
public class MesQuarantineRecord extends BaseBean {
|
||||
private static final long serialVersionUID = -4667731056014803186L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("零件名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "DC_CODE")
|
||||
@ApiParam("缺陷原因代码")
|
||||
private String dcCode;
|
||||
|
||||
@Column(name = "REPAIR_CODE")
|
||||
@ApiParam("维修代码")
|
||||
private String repairCode;
|
||||
|
||||
@Column(name = "QUARANTINE_NO")
|
||||
@ApiParam("隔离单号")
|
||||
private String quarantineNo;
|
||||
|
||||
@Column(name = "SCRAP_No")
|
||||
@ApiParam("报废单号")
|
||||
private String scrapNo;
|
||||
}
|
@ -0,0 +1,148 @@
|
||||
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: Crish
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_QUEUE_ORDER_DETAIL_RECORD", indexes = {
|
||||
@Index(columnList = "ORDER_NO"),
|
||||
@Index(columnList = "SERIAL_NUMBER"),
|
||||
@Index(columnList = "QUEUE_GROUP_NO"),
|
||||
@Index(columnList = "PRODUCE_CATEGORY_CODE")
|
||||
})
|
||||
@Api("生产队列明细记录表")
|
||||
public class MesQueueOrderDetailRecord extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 7840873844253353896L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "SEQ", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("队列明细序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "WORK_TYPE")
|
||||
@ApiParam("生产类型")
|
||||
private String workType;
|
||||
|
||||
@Column(name = "PRODUCE_CATEGORY_CODE")
|
||||
@ApiParam("产品位置")
|
||||
private String produceCategoryCode;
|
||||
|
||||
@Column(name = "PRODUCE_CATEGORY_NAME_RDD")
|
||||
@ApiParam("产品位置名称")
|
||||
private String produceCategoryNameRdd;
|
||||
|
||||
@Column(name = "PPT_CODE")
|
||||
@ApiParam("产品类型名称")
|
||||
private String pptCode;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "IS_GROUP_PRINTED")
|
||||
@ApiParam("料架是否已打印")
|
||||
private Integer isGroupPrinted = 2;
|
||||
|
||||
@Column(name = "PRODUCE_COLOR")
|
||||
@ApiParam("产品颜色")
|
||||
private String produceColor;
|
||||
|
||||
@Column(name = "PRODUCE_COLOR_CODE")
|
||||
@ApiParam("产品颜色代码")
|
||||
private String produceColorCode;
|
||||
|
||||
@Column(name = "OPTION_CODE")
|
||||
@ApiParam("选项代码")
|
||||
private String optionCode;
|
||||
|
||||
@Column(name = "ASSY_NO")
|
||||
@ApiParam("组件编号")
|
||||
private String assyNo;
|
||||
|
||||
@Column(name = "FORMULA_CONTENT")
|
||||
@ApiParam("配方内容")
|
||||
private String formulaContent;
|
||||
|
||||
@Column(name = "FINSIH_QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("已生产数量")
|
||||
private Double finsihQty;
|
||||
|
||||
@Column(name = "GROUP_SIDE")
|
||||
@ApiParam("料架摆放位置")
|
||||
private String groupSide;
|
||||
|
||||
@Column(name = "GROUP_SEQ")
|
||||
@ApiParam("分组序号")
|
||||
private String groupSeq;
|
||||
|
||||
@Column(name = "PRODUCT_SN")
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@Column(name = "IS_EMPTY")
|
||||
@ApiParam("是否放空")
|
||||
private Integer isEmpty;
|
||||
|
||||
@Column(name = "JIS_BACKFLUSH_STATUS")
|
||||
@ApiParam("回冲标识")
|
||||
private String jisBackflushStatus;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBoardImage;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/13
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardImageRepository extends BaseRepository<MesBoardImage, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesQuarantineRecord;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/4 7:38 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesQuarantineRecordRepository extends BaseRepository<MesQuarantineRecord, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesQueueOrderDetailRecord;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/2/26 10:18 AM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesQueueOrderDetailRecordRepository extends BaseRepository<MesQueueOrderDetailRecord, Long> {
|
||||
}
|
Loading…
Reference in New Issue