Merge remote-tracking branch 'origin/dev' into dev

yun-zuoyi
qianhs 5 years ago
commit c53999b0d2

@ -2908,7 +2908,8 @@ public class MesPcnEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CACHA_QUEUE_STATUS { public enum CACHA_QUEUE_STATUS {
CREATE(10, "创建"); CREATE(10, "创建"),
COMPLETE(20, "完成");
private int value; private int value;
private String description; private String description;
@ -3097,4 +3098,78 @@ public class MesPcnEnumUtil {
return tmp; return tmp;
} }
} }
/**
* mes_
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum EQUIPMENT_TOOLING_TOOLING_TYPE {
WORK_CLOTHES(10, "工装"),
CHECKING_TOOL(20, "检具"),
MOULD(30, "模具");
private int value;
private String description;
EQUIPMENT_TOOLING_TOOLING_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* mes_
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ACTION_TYPE {
REPLACE(10, "更换"),
WAREHOUSING(20, "入库"),
RECEIVE(30, "领用");
private int value;
private String description;
ACTION_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
} }

@ -0,0 +1,45 @@
package cn.estsh.i3plus.pojo.mes.pcn.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 :
* @Reference :
* @Author : zcg
* @Date : 2020/3/18 0018 - 9:07
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_SN_PHOTO_RELATION")
@Api("条码照片关系")
public class MesSnPhotoRelation extends BaseBean implements Serializable {
private static final long serialVersionUID = -7732648131003455681L;
@Column(name = "SERIAL_NUMBER")
@ApiParam("条码")
private String serialNumber;
@Column(name = "PHOTO_PATH")
@ApiParam("照片路径")
private String photoPath;
@Column(name = "PHOTO_NAME")
@ApiParam("照片名称")
private String photoName;
}

@ -42,4 +42,8 @@ public class MesCachaQueue extends BaseBean implements Serializable {
@ApiParam("缓存类型") @ApiParam("缓存类型")
private String cachaType; private String cachaType;
@Column(name = "PART_NO")
@ApiParam("物料号")
private String partNo;
} }

@ -0,0 +1,74 @@
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 :MES_
* @Reference :
* @Author : jessica.chen
* @CreateDate : 2020-03-19
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_EQUIPMENT_TOOLING")
@Api("MES_设备工装关系")
public class MesEquipmentTooling extends BaseBean implements Serializable {
private static final long serialVersionUID = 1947971369479107711L;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;
@Column(name = "TOOLING_NO")
@ApiParam("工装编号")
private String toolingNo;
@Column(name = "TOOLING_CODE")
@ApiParam("工装代码")
private String toolingCode ;
@Column(name = "TOOLING_NAME")
@ApiParam("工装名称")
private String toolingName;
@Column(name = "TOOLING_TYPE")
@ApiParam("工装类型")
private Integer toolingType;
@Column(name = "USE_COUNT")
@ApiParam("使用次数")
private Integer useCount;
@Column(name = "START_TIME")
@ApiParam("更换开始时间")
private String startTime;
@Column(name = "END_TIME")
@ApiParam("更换结束时间")
private String endTime;
public Integer getToolingType() {
return this.toolingType == null ? 0 : this.toolingType;
}
public Integer getUseCount() {
return this.useCount == null ? 0 : this.useCount;
}
}

@ -0,0 +1,45 @@
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 :
* @Reference :
* @Author : zcg
* @Date : 2020/3/18 0018 - 9:02
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_SN_PHOTO_RELATION")
@Api("条码照片关系")
public class MesSnPhotoRelation extends BaseBean implements Serializable {
private static final long serialVersionUID = -3062206473345277360L;
@Column(name = "SERIAL_NUMBER")
@ApiParam("条码")
private String serialNumber;
@Column(name = "PHOTO_PATH")
@ApiParam("照片路径")
private String photoPath;
@Column(name = "PHOTO_NAME")
@ApiParam("照片名称")
private String photoName;
}

@ -0,0 +1,79 @@
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 :MES_
* @Reference :
* @Author : jessica.chen
* @CreateDate : 2020-03-20
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_TOOLING_ACTION_RECORD")
@Api("MES_工装操作记录")
public class MesToolingActionRecord extends BaseBean implements Serializable {
private static final long serialVersionUID = 1947971369479107712L;
@Column(name = "TOOLING_NO")
@ApiParam("工装编号")
private String toolingNo;
@Column(name = "ACTION_TYPE")
@ApiParam("操作类型")
private Integer actionType;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;
@Column(name = "TOOLING_CODE")
@ApiParam("工装代码")
private String toolingCode ;
@Column(name = "TOOLING_NAME")
@ApiParam("工装名称")
private String toolingName;
@Column(name = "TOOLING_TYPE")
@ApiParam("工装类型")
private Integer toolingType;
@Column(name = "USE_COUNT")
@ApiParam("使用次数")
private Integer useCount;
@Column(name = "START_TIME")
@ApiParam("更换开始时间")
private String startTime;
@Column(name = "END_TIME")
@ApiParam("更换结束时间")
private String endTime;
public Integer getToolingType() {
return this.toolingType == null ? 0 : this.toolingType;
}
public Integer getUseCount() {
return this.useCount == null ? 0 : this.useCount;
}
}

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentTooling;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesEquipmentToolingRepository extends BaseRepository<MesEquipmentTooling, 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.MesShiftRest;
import cn.estsh.i3plus.pojo.mes.bean.MesSnPhotoRelation;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : zcg
* @Date : 2020/3/18 0018 - 9:18
*/
@Repository
public interface MesSnPhotoRelationRepository extends BaseRepository<MesSnPhotoRelation, Long> {
}

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentTooling;
import cn.estsh.i3plus.pojo.mes.bean.MesToolingActionRecord;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesToolingActionRecordRepository extends BaseRepository<MesToolingActionRecord, Long> {
}

@ -0,0 +1,15 @@
package cn.estsh.i3plus.pojo.ptl.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.ptl.bean.PtlAreaRouteModuleParam;
/**
* @author Wynne.Lu
* @date 2020/2/12 17:41
* @desc
*/
public interface PtlAreaRouteModuleParamRepository extends BaseRepository<PtlAreaRouteModuleParam, Long> {
}
Loading…
Cancel
Save