动态查询:#任务1352(合并代码解决冲突)
commit
a22d3d2333
@ -0,0 +1,63 @@
|
||||
package cn.estsh.i3plus.pojo.form.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.BlockFormEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 元素约束
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-03-12 13:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BF_ELEMENT_CONSTRAINT")
|
||||
@Api(value = "元素约束", description = "元素约束")
|
||||
public class BfElementConstraint extends BaseBean {
|
||||
|
||||
@Column(name = "ELEMENT_ID")
|
||||
@ApiParam(value = "对象元素ID", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long elementId;
|
||||
|
||||
@Column(name = "CONSTRAINT_NAME")
|
||||
@ApiParam(value = "约束名称")
|
||||
private String constraintName;
|
||||
|
||||
@Column(name = "CONSTRAINT_TYPE")
|
||||
@ApiParam(value = "约束类型")
|
||||
@AnnoOutputColumn(refClass = BlockFormEnumUtil.ELEMENT_CONSTRAINT_TYPE.class)
|
||||
private Integer constraintType;
|
||||
|
||||
@Column(name = "CONSTRAIN_PROPERTY_NAME_RDD")
|
||||
@ApiParam(value = "约束属性名称")
|
||||
private String constrainPropertyNameRdd;
|
||||
|
||||
@Lob
|
||||
@Column(name = "CONSTRAIN_PROPERTY_IDS")
|
||||
@ApiParam(value = "约束属性ids")
|
||||
private String constrainPropertyIds;
|
||||
|
||||
// @Transient
|
||||
// @ApiParam(value = "元素约束属性信息")
|
||||
// private List<BfElementConstraintProperty> constraintPropertyList;
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
//package cn.estsh.i3plus.pojo.form.bean;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
//import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
//import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
//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;
|
||||
//
|
||||
///**
|
||||
// * @Description : 元素约束属性
|
||||
// * @Reference :
|
||||
// * @Author : yunhao
|
||||
// * @CreateDate : 2020-03-12 13:36
|
||||
// * @Modify:
|
||||
// **/
|
||||
//@Data
|
||||
//@Entity
|
||||
//@DynamicInsert
|
||||
//@DynamicUpdate
|
||||
//@EqualsAndHashCode(callSuper = true)
|
||||
//@Table(name = "BF_ELEMENT_CONSTRAINT_PROPERTY")
|
||||
//@Api(value = "元素约束属性", description = "元素约束属性")
|
||||
//public class BfElementConstraintProperty extends BaseBean {
|
||||
//
|
||||
// @Column(name = "CONSTRAINT_ID")
|
||||
// @ApiParam(value = "约束ID", example = "-1")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long constraintId;
|
||||
//
|
||||
// @Column(name = "ELEMENT_PROPERTY_ID")
|
||||
// @ApiParam(value = "元素属性ID", example = "-1")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long elementPropertyId;
|
||||
//
|
||||
// @Column(name = "DATA_OBJECT_PROPERTY_ID")
|
||||
// @ApiParam(value = "数据对象属性ID", example = "-1")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long dataObjectPropertyId;
|
||||
//
|
||||
// @Column(name="PROPERTY_NAME")
|
||||
// @ApiParam(value ="元素属性名称")
|
||||
// private String propertyName;
|
||||
//
|
||||
// @Column(name="PROPERTY_CODE_RDD")
|
||||
// @ApiParam(value ="元素属性代码")
|
||||
// private String propertyCodeRdd;
|
||||
//
|
||||
//}
|
@ -0,0 +1,14 @@
|
||||
//package cn.estsh.i3plus.pojo.form.repository;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
//import cn.estsh.i3plus.pojo.form.bean.BfElementConstraintProperty;
|
||||
//
|
||||
///**
|
||||
// * @Description : 元素约束属性
|
||||
// * @Reference :
|
||||
// * @Author : yunhao
|
||||
// * @CreateDate : 2019-03-21 20:27
|
||||
// * @Modify:
|
||||
// **/
|
||||
//public interface BfElementConstraintPropertyRepository extends BaseRepository<BfElementConstraintProperty, Long> {
|
||||
//}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.form.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.form.bean.BfElementConstraint;
|
||||
|
||||
/**
|
||||
* @Description : 元素约束
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-03-21 20:27
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BfElementConstraintRepository extends BaseRepository<BfElementConstraint, Long> {
|
||||
}
|
@ -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;
|
||||
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
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: jokelin
|
||||
* @Date: 2020/3/18 7:33 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ENCODE_RULE_MAP")
|
||||
@Api("MES_编码规则映射表")
|
||||
public class MesEncodeRuleMap extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4668354179377433538L;
|
||||
|
||||
@Column(name = "TYPE_CODE")
|
||||
@ApiParam("编码类型代码")
|
||||
private String typeCode;
|
||||
|
||||
@Column(name = "TYPE_NAME")
|
||||
@ApiParam("编码类型名称")
|
||||
private String typeName;
|
||||
|
||||
@Column(name = "BUSINESS_CODE")
|
||||
@ApiParam("业务代码")
|
||||
private String businessCode;
|
||||
|
||||
@Column(name = "BUSINESS_VALUE")
|
||||
@ApiParam("业务值")
|
||||
private String businessValue;
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
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 javax.persistence.Transient;
|
||||
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;
|
||||
|
||||
@Transient
|
||||
@ApiParam("最大次数")
|
||||
private Integer useCountMax;
|
||||
|
||||
public Integer getToolingType() {
|
||||
return this.toolingType == null ? 0 : this.toolingType;
|
||||
}
|
||||
|
||||
public Integer getUseCount() {
|
||||
return this.useCount == null ? 0 : this.useCount;
|
||||
}
|
||||
|
||||
public MesEquipmentTooling(){
|
||||
|
||||
}
|
||||
|
||||
public MesEquipmentTooling(MesTooling tooling, Integer useCount) {
|
||||
this.toolingCode = tooling.getToolingCode();
|
||||
this.toolingName = tooling.getToolingName();
|
||||
this.useCount = useCount;
|
||||
this.useCountMax = tooling.getUseCountMax();
|
||||
}
|
||||
}
|
@ -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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :物料校验项
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_CHECK")
|
||||
@Api("物料校验项")
|
||||
public class MesPartCheck extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7706120594398072630L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "CHECK_SPEL_EXPRESS")
|
||||
@ApiParam("校验表达式")
|
||||
private String checkSpelExpress;
|
||||
|
||||
@Column(name = "TYPE_SPEL_EXPRESS")
|
||||
@ApiParam("类型表达式")
|
||||
private String typeSpelExpress;
|
||||
|
||||
@Column(name = "RECORD_NUM_SPEL_EXPRESS")
|
||||
@ApiParam("记录数量表达式")
|
||||
private String recordNumSpelExpress;
|
||||
|
||||
@Column(name = "RECORD_NUM_DESC")
|
||||
@ApiParam("校验表达式")
|
||||
private String recordNumDesc;
|
||||
|
||||
}
|
@ -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,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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES工装类型
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TOOLING")
|
||||
@Api("MES工装类型")
|
||||
public class MesTooling extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5033127912658757665L;
|
||||
|
||||
@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_MAX")
|
||||
@ApiParam("最大使用次数")
|
||||
private Integer useCountMax;
|
||||
|
||||
@Column(name = "USE_TIME_MAX")
|
||||
@ApiParam("最大使用时间")
|
||||
private String useTimeMax;
|
||||
}
|
@ -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,35 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/17 3:47 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ButtonDynamicModel {
|
||||
|
||||
private Long id;
|
||||
|
||||
@ApiParam("按钮名称")
|
||||
private String buttonName;
|
||||
|
||||
@ApiParam("按钮代码")
|
||||
private String buttonCode;
|
||||
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
public ButtonDynamicModel(Long id, String buttonName, String buttonCode) {
|
||||
this.id = id;
|
||||
this.buttonName = buttonName;
|
||||
this.buttonCode = buttonCode;
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("数据复核model")
|
||||
public class DataReviewStepModel {
|
||||
|
||||
@ApiParam("关键件")
|
||||
private String itemPartNo;
|
||||
|
||||
@ApiParam("需要数量")
|
||||
private String needNum;
|
||||
|
||||
@ApiParam("实际数量")
|
||||
private String realNum;
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.mes.annotation.ElasticSearch;
|
||||
import cn.estsh.i3plus.pojo.mes.annotation.Json4Es;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/20 5:51 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@ElasticSearch
|
||||
public class EsProductData extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4514407617515827040L;
|
||||
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@ApiParam("工单号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partDesc;
|
||||
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@ApiParam("设备名称")
|
||||
private String equName;
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@ApiParam("对象名称")
|
||||
private String objectName;
|
||||
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@ApiParam("字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@ApiParam("字段值")
|
||||
private String fieldValue;
|
||||
|
||||
@ApiParam("数据行号")
|
||||
private String rowNo;
|
||||
|
||||
@ApiParam("数据组号")
|
||||
private String groupNo;
|
||||
|
||||
@Json4Es
|
||||
@ApiParam("生产数据")
|
||||
private String lineData;
|
||||
|
||||
@ApiParam("字段总数")
|
||||
private Integer fieldNum;
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("生产数据缓存model")
|
||||
public class ProductDataCacheModel {
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@ApiParam("字段名称")
|
||||
private List<ProductDataModel> productDataModelList;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/20 9:02 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class QueueJitActualModule {
|
||||
|
||||
private Long id;
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
@ApiParam("排序号")
|
||||
private Double seq;
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
public QueueJitActualModule() {
|
||||
|
||||
}
|
||||
|
||||
public QueueJitActualModule(Long id, String vinCode, Double seq, String queueGroupNo, Integer groupNo) {
|
||||
this.id = id;
|
||||
this.vinCode = vinCode;
|
||||
this.seq = seq;
|
||||
this.queueGroupNo = queueGroupNo;
|
||||
this.groupNo = groupNo;
|
||||
}
|
||||
|
||||
}
|
@ -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.MesEncodeRuleMap;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/18 7:36 下午
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesEncodeRuleMapRepository extends BaseRepository<MesEncodeRuleMap, 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.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,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartCheck;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019\11\18 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesPartCheckRepository extends BaseRepository<MesPartCheck, 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,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesTooling;
|
||||
|
||||
/**
|
||||
* @Description :MES工装类型
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesToolingRepository extends BaseRepository<MesTooling, 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> {
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.plugin;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 插件类信息
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-03-17 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="BAS_PLUGIN_CLASS")
|
||||
@Api("插件类信息")
|
||||
public class BasPluginClass extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592779L;
|
||||
@Column(name="PLUGIN_ID")
|
||||
@ApiParam(value = "插件编号", example = "0")
|
||||
private Long pluginId;
|
||||
|
||||
@Column(name="BEAN_NAME")
|
||||
@ApiParam("Bean名称")
|
||||
private String beanName;
|
||||
|
||||
@Column(name="CLASS_NAME")
|
||||
@ApiParam("插件类名称")
|
||||
private String className;
|
||||
|
||||
@Lob
|
||||
@Column(name="CLASS_BYTE", length = 100000)
|
||||
@ApiParam("插件类字节码")
|
||||
private byte[] classByte;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 插件日志
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-03-23 11:18
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@Api("插件日志")
|
||||
public class BasPluginLoggerModel {
|
||||
|
||||
@ApiParam("插件名称")
|
||||
private String pluginName;
|
||||
|
||||
@ApiParam("插件实例类名称")
|
||||
private String className;
|
||||
|
||||
@ApiParam("插件调用方法名称")
|
||||
private String methodName;
|
||||
|
||||
@ApiParam("插件日志内容")
|
||||
private String loggerContext;
|
||||
|
||||
@ApiParam("日志打印日期")
|
||||
private String printDate;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.plugin.BasPluginClass;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-03-17 15:17
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BasPluginClassRepository extends BaseRepository<BasPluginClass, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.plugin.BasPlugin;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-03-17 15:17
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BasPluginRepository extends BaseRepository<BasPlugin, Long> {
|
||||
}
|
Loading…
Reference in New Issue