Merge remote-tracking branch 'origin/dev' into dev
commit
627257fc22
@ -0,0 +1,112 @@
|
|||||||
|
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/4/28 4:19 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OEE")
|
||||||
|
@Api("MES_OEE数据")
|
||||||
|
public class MesOee extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -9163026983140909748L;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("运算对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "STATUS")
|
||||||
|
@ApiParam("运算状态")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "EQU_CODE")
|
||||||
|
@ApiParam("设备代码")
|
||||||
|
private String equCode;
|
||||||
|
|
||||||
|
@Column(name = "OEE_DATE")
|
||||||
|
@ApiParam("日期")
|
||||||
|
private String oeeDate;
|
||||||
|
|
||||||
|
@Column(name = "SHIFT_CODE")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shiftCode;
|
||||||
|
|
||||||
|
@Column(name = "START_TIME")
|
||||||
|
@ApiParam("开始时段")
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
@Column(name = "END_TIME")
|
||||||
|
@ApiParam("结束时段")
|
||||||
|
private String endTime;
|
||||||
|
|
||||||
|
@Column(name = "TOTAL_RUN_TIME")
|
||||||
|
@ApiParam("总生产时间")
|
||||||
|
private String totalRunTime;
|
||||||
|
|
||||||
|
@Column(name = "TOTAL_STOP_TIME")
|
||||||
|
@ApiParam("总停机时间")
|
||||||
|
private String totalStopTime;
|
||||||
|
|
||||||
|
@Column(name = "TOTAL_QTY")
|
||||||
|
@ApiParam("总生产数")
|
||||||
|
private Integer totalQty;
|
||||||
|
|
||||||
|
@Column(name = "QUALIFIED_QTY")
|
||||||
|
@ApiParam("一次合格数")
|
||||||
|
private Integer qualifiedQty;
|
||||||
|
|
||||||
|
@Column(name = "PLAN_TAKT")
|
||||||
|
@ApiParam("计划节拍")
|
||||||
|
private Integer planTakt;
|
||||||
|
|
||||||
|
@Column(name = "ACTUAL_TAKT")
|
||||||
|
@ApiParam("实际节拍")
|
||||||
|
private Integer actualTakt;
|
||||||
|
|
||||||
|
@Column(name = "TIME_RATE")
|
||||||
|
@ApiParam("时间开动率")
|
||||||
|
private String timeRate;
|
||||||
|
|
||||||
|
@Column(name = "TAKT_RATE")
|
||||||
|
@ApiParam("性能开动率")
|
||||||
|
private String taktRate;
|
||||||
|
|
||||||
|
@Column(name = "QUALIFIED_RATE")
|
||||||
|
@ApiParam("良品率")
|
||||||
|
private String qualifiedRate;
|
||||||
|
|
||||||
|
@Column(name = "OEE")
|
||||||
|
@ApiParam("OEE")
|
||||||
|
private String oee;
|
||||||
|
|
||||||
|
@Column(name = "BUSI_DATA")
|
||||||
|
@ApiParam("自定义数据")
|
||||||
|
private String busiData;
|
||||||
|
}
|
@ -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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:04 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OPERATE_OBJECT")
|
||||||
|
@Api("MES_运算对象")
|
||||||
|
public class MesOperateObject extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 7829216855303543146L;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_NAME")
|
||||||
|
@ApiParam("对象名称")
|
||||||
|
private String objectName;
|
||||||
|
|
||||||
|
@Column(name = "OPERATE_TYPE")
|
||||||
|
@ApiParam("运算类型")
|
||||||
|
private Integer operateType;
|
||||||
|
|
||||||
|
}
|
@ -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/4/28 4:08 下午
|
||||||
|
* @Modify:MES_OPERATE_OBJECT_CFG
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OPERATE_OBJECT_ATTRIBUTE")
|
||||||
|
@Api("MES_运算对象属性")
|
||||||
|
public class MesOperateObjectAttribute extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 3916105499867386686L;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_CODE")
|
||||||
|
@ApiParam("属性代码")
|
||||||
|
private String attributeCode;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_NAME")
|
||||||
|
@ApiParam("属性名称")
|
||||||
|
private String attributeName;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_TYPE")
|
||||||
|
@ApiParam("属性类型")
|
||||||
|
private Integer attributeType;
|
||||||
|
|
||||||
|
@Column(name = "OPERATE_TYPE")
|
||||||
|
@ApiParam("运算类型")
|
||||||
|
private Integer operateType;
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:12 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OPERATE_OBJECT_ATTRIBUTE")
|
||||||
|
@Api("MES_运算对象属性配置")
|
||||||
|
public class MesOperateObjectCfg extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -8066603810736365082L;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_CODE")
|
||||||
|
@ApiParam("属性代码")
|
||||||
|
private String attributeCode;
|
||||||
|
|
||||||
|
@Column(name = "VALUE_TYPE")
|
||||||
|
@ApiParam("赋值类型")
|
||||||
|
private String valueType;
|
||||||
|
|
||||||
|
@Column(name = "METHOD_CODE")
|
||||||
|
@ApiParam("函数方法")
|
||||||
|
private String methodCode;
|
||||||
|
|
||||||
|
@Column(name = "JOB_ID")
|
||||||
|
@ApiParam("job编号")
|
||||||
|
private String jobId;
|
||||||
|
|
||||||
|
@Column(name = "SPEL_CONTENT")
|
||||||
|
@ApiParam("spel表达式")
|
||||||
|
private String spelContent;
|
||||||
|
|
||||||
|
@Column(name = "SEQ")
|
||||||
|
@ApiParam("运算顺序")
|
||||||
|
private Integer seq;
|
||||||
|
|
||||||
|
@Transient
|
||||||
|
@ApiParam("属性名称")
|
||||||
|
private String attributeName;
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
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/4/28 4:58 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_SCRIPT_PERSISTENCE")
|
||||||
|
@Api("动态脚本")
|
||||||
|
public class MesScriptPersistence extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1941422535481564572L;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_NO")
|
||||||
|
@ApiParam("脚本编号")
|
||||||
|
private String scriptNo;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_NAME")
|
||||||
|
@ApiParam("脚本名称")
|
||||||
|
private String scriptName;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_REMARK")
|
||||||
|
@ApiParam("脚本描述")
|
||||||
|
private String scriptRemark;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_TYPE")
|
||||||
|
@ApiParam("脚本类型")
|
||||||
|
private Integer scriptType;
|
||||||
|
|
||||||
|
@Column(name = "LANGUAGE_TYPE")
|
||||||
|
@ApiParam("语言类型")
|
||||||
|
private Integer languageType;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_CONTENT")
|
||||||
|
@ApiParam("脚本内容")
|
||||||
|
private String scriptContent;
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: 生产计划批量编制明细model
|
||||||
|
* @Author: wangjie
|
||||||
|
* @Date: 2020/4/21 6:55 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ProdPlanBatchCompileDetailModel {
|
||||||
|
|
||||||
|
@ApiParam("日期")
|
||||||
|
private String date;
|
||||||
|
|
||||||
|
@ApiParam("日期对应到数量")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
@ApiParam("是否只读")
|
||||||
|
private Boolean readonly;
|
||||||
|
|
||||||
|
@ApiParam("完成数量")
|
||||||
|
private Double completeQty;
|
||||||
|
|
||||||
|
@ApiParam("完成数量的颜色")
|
||||||
|
private String color;
|
||||||
|
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,78 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: 生产计划批量编制model
|
||||||
|
* @Author: wangjie
|
||||||
|
* @Date: 2020/4/21 6:55 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ProdPlanBatchCompileModel {
|
||||||
|
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@ApiParam("预留字段1")
|
||||||
|
private String reserved1;
|
||||||
|
|
||||||
|
@ApiParam("预留字段2")
|
||||||
|
private String reserved2;
|
||||||
|
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam("物料名称")
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@ApiParam(value = "班组名称")
|
||||||
|
public String shiftGroupName;
|
||||||
|
|
||||||
|
@ApiParam(value = "班次名称")
|
||||||
|
public String shiftName;
|
||||||
|
|
||||||
|
@ApiParam("班组")
|
||||||
|
private String shiftGroup;
|
||||||
|
|
||||||
|
@ApiParam("班次")
|
||||||
|
private String shiftCode;
|
||||||
|
|
||||||
|
@ApiParam("客户名称")
|
||||||
|
private String custCodeName;
|
||||||
|
|
||||||
|
@ApiParam("客户代码")
|
||||||
|
private String custCode;
|
||||||
|
|
||||||
|
@ApiParam("客户订单号")
|
||||||
|
private String custOrderNo;
|
||||||
|
|
||||||
|
@ApiParam("预留字段3")
|
||||||
|
private String reserved3;
|
||||||
|
|
||||||
|
@ApiParam("预留字段4")
|
||||||
|
private String reserved4;
|
||||||
|
|
||||||
|
@ApiParam("单位")
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
@ApiParam("日期数量集合")
|
||||||
|
private List<ProdPlanBatchCompileDetailModel> detailList;
|
||||||
|
|
||||||
|
@ApiParam("合计")
|
||||||
|
private Double amount;
|
||||||
|
|
||||||
|
@ApiParam("完成合计")
|
||||||
|
private Double completeAmount;
|
||||||
|
|
||||||
|
@ApiParam("计划类型")
|
||||||
|
private Integer planType;
|
||||||
|
|
||||||
|
@ApiParam("计划类型名称")
|
||||||
|
private String planTypeName;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesOee;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:04 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOeeRepository extends BaseRepository<MesOee, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesOperateObjectAttribute;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:05 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOperateObjectAttributeRepository extends BaseRepository<MesOperateObjectAttribute, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesOperateObjectCfg;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:04 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOperateObjectCfgRepository extends BaseRepository<MesOperateObjectCfg, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesOperateObject;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:05 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOperateObjectRepository extends BaseRepository<MesOperateObject, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesScriptPersistence;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:03 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesScriptPersistenceRepository extends BaseRepository<MesScriptPersistence, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue