Merge branch 'test' of jhforever.wang/wangjie-i3plus-pojo into test

yun-zuoyi
王杰 4 years ago committed by nancy.li
commit 5015afc591

@ -6068,4 +6068,32 @@ public class MesPcnEnumUtil {
return tmp;
}
}
/**
* MesWorkCellJumpRecord
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_WORK_CELL_JUMP_TYPE {
SERIAL_SN(10, "过程条码"),
PRODUCT_SN(20, "产品条码"),
PACK_SN(30, "包装条码"),
OTHER(40, "其他");
private int value;
private String description;
MES_WORK_CELL_JUMP_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
}
}

@ -0,0 +1,52 @@
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 : wangjie
* @CreateDate : 2020-12-24
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "MES_WORK_CELL_JUMP_RECORD")
@Api("mes工位操作跳过记录表")
public class MesWorkCellJumpRecord extends BaseBean implements Serializable {
private static final long serialVersionUID = 1017369816822438021L;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元代码")
private String workCellCode;
@Column(name = "JUMP_TYPE")
@ApiParam("跳过类型 10=过程条码")
private Integer jumpType;
@Column(name = "JUMP_VALUE")
@ApiParam("跳过值")
private String jumpValue;
@Column(name = "JUMP_DESC")
@ApiParam("跳过描述")
private String jumpDesc;
}

@ -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.MesWorkCellJumpRecord;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesWorkCellJumpRecordRepository extends BaseRepository<MesWorkCellJumpRecord, Long> {
}
Loading…
Cancel
Save