Merge remote-tracking branch 'origin/dev' into dev
commit
27088d2db5
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : siliter
|
||||
* @CreateDate : 2019-03-07 09:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_PLC_COLOR_CFG")
|
||||
@Api(value="PLC三色灯控制")
|
||||
public class AndonPlcColorCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3284234821448131212L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="RED_PLC_CODE")
|
||||
@ApiParam(value ="红灯PLC代码")
|
||||
private String redPlcCode;
|
||||
|
||||
@Column(name="YELLOW_PLC_CODE")
|
||||
@ApiParam(value ="黄灯PLC代码")
|
||||
private String yellowPlcCode;
|
||||
|
||||
@Column(name="GREEN_PLC_CODE")
|
||||
@ApiParam(value ="绿灯PLC代码")
|
||||
private String greenPlcCode;
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonActionModule;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonPlcColorCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:07
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonPlcColorCfgRepository extends BaseRepository<AndonPlcColorCfg, Long> {
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/9/23 18:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_ALARM_RECORD", indexes = {
|
||||
@Index(columnList = "WORK_CENTER_CODE")
|
||||
})
|
||||
@Api("设备自动报警记录表")
|
||||
public class MesEquAlarmRecord extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1675134362612851879L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "ALARM_LEVEL")
|
||||
@ApiParam("报警等级")
|
||||
private Integer alarmLevel;
|
||||
|
||||
@Column(name = "ALARM_START_TIME")
|
||||
@ApiParam("报警开始时间")
|
||||
private String alarmStartTime;
|
||||
|
||||
@Column(name = "ALARM_STOP_TIME")
|
||||
@ApiParam("报警开始时间")
|
||||
private String alarmStopTime;
|
||||
}
|
Binary file not shown.
@ -0,0 +1,44 @@
|
||||
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:47 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_CUSTOMER_DATA")
|
||||
@Api("MES_看板客户相关信息")
|
||||
public class MesBoardCustomerData extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3871945569470777555L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "COMPLAIN_PLAN_QTY")
|
||||
@ApiParam("客户抱怨目标数量")
|
||||
private Integer complainPlanQty;
|
||||
|
||||
@Column(name = "COMPLAIN_ACTUAL_QTY")
|
||||
@ApiParam("客户抱怨实际数量")
|
||||
private Integer complainActualQty;
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
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/20 4:47 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SUBMENU")
|
||||
@Api("MES_看板子菜单")
|
||||
public class MesBoardSubmenu extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6544735793917822548L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "ITEM_NAME")
|
||||
@ApiParam("子项名称")
|
||||
private String itemName;
|
||||
|
||||
@Column(name = "ICON")
|
||||
@ApiParam("ICO图标")
|
||||
private String icon;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("顺序号")
|
||||
private Integer seq;
|
||||
|
||||
/**
|
||||
* 10-图片 20-视频
|
||||
*/
|
||||
@Column(name = "SHOW_TYPE")
|
||||
@ApiParam("展示类型")
|
||||
private Integer showType;
|
||||
|
||||
@Column(name = "PICTURE_URL")
|
||||
@ApiParam("图片路径")
|
||||
private String pictureUrl;
|
||||
|
||||
@Column(name = "VIDEO_URL")
|
||||
@ApiParam("视频路径")
|
||||
private String videoUrl;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description: MES控制计划-主表
|
||||
* @CreateDate: 2020/9/27
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CONTROL_PLAN")
|
||||
@Api("中航控制计划主表")
|
||||
public class MesControlPlan extends BaseBean implements Serializable {
|
||||
//1. 主表字段:“产线”、“产品”、“客户”、“版本号”、“是否生效”、“状态(编辑中、待审核、已审核)”组成。(主表命名“控制计划”)
|
||||
private static final long serialVersionUID = 1454433409471781390L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
// @Column(name = "WORK_CELL_CODE")
|
||||
// @ApiParam("工作单元代码")
|
||||
// private String workCellCode;
|
||||
|
||||
@Column(name = "product_name")
|
||||
@ApiParam("产品名称")
|
||||
private String productName;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "VERSION")
|
||||
@ApiParam("版本号")
|
||||
private String version;
|
||||
|
||||
@Column(name = "EDIT_TYPE")
|
||||
@ApiParam("编辑状态")
|
||||
private Integer editType;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/9/24
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
public class MesDbCheckRecordModel {
|
||||
@ApiParam("主键")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("零件名称")
|
||||
private String partDesc;
|
||||
|
||||
@ApiParam("缺陷类型")
|
||||
private String defectType;
|
||||
|
||||
@ApiParam("缺陷原因")
|
||||
private String defectDesc;
|
||||
|
||||
@ApiParam("生产记录表主键ID")
|
||||
private Long productDataId;
|
||||
|
||||
public MesDbCheckRecordModel(Long id, String serialNumber, String partNo, String partDesc, String defectDesc, Long productDataId) {
|
||||
this.id = id;
|
||||
this.serialNumber = serialNumber;
|
||||
this.partNo = partNo;
|
||||
this.partDesc = partDesc;
|
||||
this.defectDesc = defectDesc;
|
||||
this.productDataId = productDataId;
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/9/24
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
public class MesProductDataDefectModel {
|
||||
|
||||
@ApiParam("生产工单")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("产品编码")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("产品名称")
|
||||
private String partDesc;
|
||||
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@ApiParam("缺陷类型")
|
||||
private String defectType;
|
||||
|
||||
@ApiParam("缺陷原因")
|
||||
private String defectDesc;
|
||||
|
||||
@ApiParam("下线时间")
|
||||
private String offlineTime;
|
||||
|
||||
public MesProductDataDefectModel(String orderNo, String partNo, String partDesc, String productSn, String defectType, String defectDesc, String offlineTime) {
|
||||
this.orderNo = orderNo;
|
||||
this.partNo = partNo;
|
||||
this.partDesc = partDesc;
|
||||
this.productSn = productSn;
|
||||
this.defectType = defectType;
|
||||
this.defectDesc = defectDesc;
|
||||
this.offlineTime = offlineTime;
|
||||
}
|
||||
|
||||
public MesProductDataDefectModel(String orderNo, String partNo, String partDesc, String productSn, String defectDesc, String offlineTime) {
|
||||
this.orderNo = orderNo;
|
||||
this.partNo = partNo;
|
||||
this.partDesc = partDesc;
|
||||
this.productSn = productSn;
|
||||
this.defectDesc = defectDesc;
|
||||
this.offlineTime = offlineTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/9/22
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
public class MesProductDataModel {
|
||||
@ApiParam("生产数据表主键ID")
|
||||
private String id;
|
||||
|
||||
@ApiParam("工位代码")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("工位名称")
|
||||
private String workCellName;
|
||||
|
||||
@ApiParam("产品包装model")
|
||||
private List<ProductDataModel> productDataModelList;
|
||||
|
||||
}
|
@ -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.MesBoardCustomerData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 8:53 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardCustomerDataRepository extends BaseRepository<MesBoardCustomerData, 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.MesBoardSubmenu;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 8:53 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardSubMenuRepository extends BaseRepository<MesBoardSubmenu, Long> {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesControlPlan;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/9/27
|
||||
* @Author: simon.song
|
||||
*/
|
||||
public interface MesControlPlanRepository extends BaseRepository<MesControlPlan, Long> {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesQualityStandard;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/9/27
|
||||
* @Author: simon.song
|
||||
*/
|
||||
public interface MesQualityStandardRepository extends BaseRepository<MesQualityStandard, Long> {
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue