Merge remote-tracking branch 'origin/test' into test
# Conflicts: # modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesPcnEnumUtil.javayun-zuoyi
commit
578e2c5155
@ -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/20 4:49 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_BOARD_CUSTOM_PARAM_CFG")
|
||||||
|
@Api("MES_看板自定义参数配置")
|
||||||
|
public class MesBoardCustomParamCfg extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 3932883827194753734L;
|
||||||
|
|
||||||
|
@Column(name = "BOARD_CODE")
|
||||||
|
@ApiParam("看板代码")
|
||||||
|
private String boardCode;
|
||||||
|
|
||||||
|
@Column(name = "PARAM_CODE")
|
||||||
|
@ApiParam("参数代码")
|
||||||
|
private String paramCode;
|
||||||
|
|
||||||
|
@Column(name = "PARAM_NAME")
|
||||||
|
@ApiParam("参数名称")
|
||||||
|
private String paramName;
|
||||||
|
|
||||||
|
@Column(name = "PARAM_VALUE")
|
||||||
|
@ApiParam("参数值")
|
||||||
|
private String paramValue;
|
||||||
|
}
|
@ -0,0 +1,55 @@
|
|||||||
|
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 :设备计划配置
|
||||||
|
* @Reference :
|
||||||
|
* @Author : Wynne.Lu
|
||||||
|
* @CreateDate : 2020-10-15
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_EQU_TASK_PLAN_CFG")
|
||||||
|
@Api("设备周期作业计划配置")
|
||||||
|
public class MesEquTaskPlanCfg extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 7734079474434307857L;
|
||||||
|
|
||||||
|
@Column(name = "PLAN_CFG_CODE")
|
||||||
|
@ApiParam("计划配置代码")
|
||||||
|
private String planCfgCode;
|
||||||
|
|
||||||
|
@Column(name = "BACKGROUND_COLOR")
|
||||||
|
@ApiParam("显示背景色")
|
||||||
|
private String backgroundColor;
|
||||||
|
|
||||||
|
@Column(name = "COLOR")
|
||||||
|
@ApiParam("字体颜色")
|
||||||
|
private String color;
|
||||||
|
|
||||||
|
@Column(name = "CYCLE")
|
||||||
|
@ApiParam("周期(天)")
|
||||||
|
private Integer taskCycle;
|
||||||
|
|
||||||
|
@Column(name = "DISPLAY_TEXT")
|
||||||
|
@ApiParam("显示文字")
|
||||||
|
private String displayText;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,49 @@
|
|||||||
|
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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Lob;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2020/4/18 21:05
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_EXCEPTION_ALERT_CFG")
|
||||||
|
@Api("MES_异常提醒配置")
|
||||||
|
public class MesExceptionAlertCfg extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -2733956307324895221L;
|
||||||
|
|
||||||
|
@Column(name = "SRC_MENU_CODE")
|
||||||
|
@ApiParam("来源模块代码")
|
||||||
|
private String srcMenuCode;
|
||||||
|
|
||||||
|
@Column(name = "SRC_MENU_NAME")
|
||||||
|
@ApiParam("来源模块名称")
|
||||||
|
private String srcMenuName;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "USER_CODE_GROUP")
|
||||||
|
@ApiParam("提醒人员集合")
|
||||||
|
private String userCodeGroup;
|
||||||
|
}
|
@ -0,0 +1,55 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2020/4/18 21:05
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_EXCEPTION_WINDOW_RECORD")
|
||||||
|
@Api("MES_弹窗异常提醒记录")
|
||||||
|
public class MesExceptionWindowRecord extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -2733956307324895345L;
|
||||||
|
|
||||||
|
@Column(name = "SRC_MENU_CODE")
|
||||||
|
@ApiParam("来源模块代码")
|
||||||
|
private String srcMenuCode;
|
||||||
|
|
||||||
|
@Column(name = "USER_CODE")
|
||||||
|
@ApiParam("提醒人员")
|
||||||
|
private String userCode;
|
||||||
|
|
||||||
|
@Column(name = "MESSAGE_TYPE")
|
||||||
|
@ApiParam("消息类型")
|
||||||
|
private Integer messageType;
|
||||||
|
|
||||||
|
@Column(name = "MESSAGE_HEAD")
|
||||||
|
@ApiParam("提示表头")
|
||||||
|
private String messageHead;
|
||||||
|
|
||||||
|
@Column(name = "MESSAGE_CONTENT")
|
||||||
|
@ApiParam("提示内容")
|
||||||
|
private String messageContent;
|
||||||
|
|
||||||
|
@Column(name = "STATUS")
|
||||||
|
@ApiParam("处理状态")
|
||||||
|
private Integer status;
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MgnBoardAreaYieldModel {
|
||||||
|
|
||||||
|
@ApiParam("组装")
|
||||||
|
private MgnBoardListModel assembleBoardListModel;
|
||||||
|
|
||||||
|
@ApiParam("涂装")
|
||||||
|
private MgnBoardListModel paintBoardListModel;
|
||||||
|
|
||||||
|
@ApiParam("注塑")
|
||||||
|
private MgnBoardListModel injectMoldBoardListModel;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MgnBoardAssembleCompRateModel {
|
||||||
|
|
||||||
|
@ApiParam("产线")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@ApiParam("合格率目标值")
|
||||||
|
private String qualifiedRateTargetValue;
|
||||||
|
|
||||||
|
@ApiParam("完成率")
|
||||||
|
private String planCompleteRate;
|
||||||
|
|
||||||
|
@ApiParam("合格率偏差值")
|
||||||
|
private String fpyDeviationValue;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MgnBoardListModel {
|
||||||
|
|
||||||
|
@ApiParam("产线产量汇总")
|
||||||
|
private List<MgnBoardYieldModel> centerYieldList;
|
||||||
|
|
||||||
|
@ApiParam("月度产量汇总")
|
||||||
|
private List<MgnBoardYieldModel> monthlyYieldList;
|
||||||
|
|
||||||
|
@ApiParam("当班计划产量")
|
||||||
|
private Double shiftPlanYield;
|
||||||
|
|
||||||
|
@ApiParam("当班实际产量")
|
||||||
|
private Double shiftActualYield;
|
||||||
|
|
||||||
|
@ApiParam("计划完成率")
|
||||||
|
private String planCompleteRate;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MgnBoardYieldModel {
|
||||||
|
|
||||||
|
@ApiParam("工作中心")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@ApiParam("日期")
|
||||||
|
private String date;
|
||||||
|
|
||||||
|
@ApiParam("计划产量")
|
||||||
|
private Double planYield;
|
||||||
|
|
||||||
|
@ApiParam("实际产量")
|
||||||
|
private Double actualYield;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,42 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MgnPaintPolishingReportModel {
|
||||||
|
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam("物料描述")
|
||||||
|
private String partDesc;
|
||||||
|
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String workOrderNo;
|
||||||
|
|
||||||
|
@ApiParam("日期")
|
||||||
|
private String modifyDate;
|
||||||
|
|
||||||
|
@ApiParam("开始日期")
|
||||||
|
private String modifyStartDate;
|
||||||
|
|
||||||
|
@ApiParam("结束日期")
|
||||||
|
private String modifyEndDate;
|
||||||
|
|
||||||
|
@ApiParam("抛光数量")
|
||||||
|
private Double polishingQty;
|
||||||
|
|
||||||
|
@ApiParam("返喷标识")
|
||||||
|
private String reverseSprayMark;
|
||||||
|
|
||||||
|
@ApiParam("打磨件物料号")
|
||||||
|
private String polishPartNo;
|
||||||
|
|
||||||
|
@ApiParam("打磨件物料描述")
|
||||||
|
private String polishPartDesc;
|
||||||
|
|
||||||
|
@ApiParam("组织代码")
|
||||||
|
private String organizeCode;
|
||||||
|
|
||||||
|
}
|
@ -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.MesBoardCustomParamCfg;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesBoardCustomParamCfgRepository extends BaseRepository<MesBoardCustomParamCfg, 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.MesEquTaskPlanCfg;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wangjie
|
||||||
|
* @CreateDate : 2019-10-11
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesEquTaskPlanCfgRepository extends BaseRepository<MesEquTaskPlanCfg, 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.MesExceptionAlertCfg;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : MES_异常提醒配置
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2020-10-13 16:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesExceptionAlertCfgRepository extends BaseRepository<MesExceptionAlertCfg, 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.MesExceptionWindowRecord;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : MES_弹窗异常提醒记录
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2020-10-13 16:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesExceptionWindowRecordRepository extends BaseRepository<MesExceptionWindowRecord, Long> {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue