Merge remote-tracking branch 'origin/dev' into dev
commit
ccf2f42840
@ -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:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_CAUSE")
|
||||
@Api("MES_设备故障原因")
|
||||
public class MesEquFaultCause extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825283741375978L;
|
||||
@Column(name = "FC_CODE")
|
||||
@ApiParam("故障原因代码")
|
||||
private String fcCode;
|
||||
|
||||
@Column(name = "FC_NAME")
|
||||
@ApiParam("故障原因描述")
|
||||
private String fcName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -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:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_METHOD")
|
||||
@Api("MES_设备故障处理措施")
|
||||
public class MesEquFaultMethod extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1366849727309967125L;
|
||||
@Column(name = "FM_CODE")
|
||||
@ApiParam("故障方法代码")
|
||||
private String fmCode;
|
||||
|
||||
@Column(name = "FM_NAME")
|
||||
@ApiParam("故障方法描述")
|
||||
private String fmName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -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:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_PHENOMENON")
|
||||
@Api("MES_设备故障现象")
|
||||
public class MesEquFaultPhenomenon extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4373435091738791300L;
|
||||
@Column(name = "FP_CODE")
|
||||
@ApiParam("故障现象代码")
|
||||
private String fpCode;
|
||||
|
||||
@Column(name = "FP_NAME")
|
||||
@ApiParam("故障现象描述")
|
||||
private String fpName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 生产配方模板
|
||||
* @Reference :
|
||||
* @author: jessica.chen
|
||||
* @date: 2020/4/16 17:10
|
||||
* @Modify:
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Api(value="生产配方模板",description = "生产配方模板")
|
||||
public class MesPartFormulaModel extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 2167743108452607620L;
|
||||
|
||||
@ApiParam(value = "组号")
|
||||
@AnnoOutputColumn
|
||||
private String groupNo;
|
||||
|
||||
@ApiParam(value = "组内名称")
|
||||
@AnnoOutputColumn
|
||||
private String groupName;
|
||||
|
||||
@ApiParam(value = "原材料物料号")
|
||||
@AnnoOutputColumn(required = false)
|
||||
private String partNo;
|
||||
|
||||
@ApiParam(value = "编号")
|
||||
@AnnoOutputColumn
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam(value = "下标值")
|
||||
@AnnoOutputColumn
|
||||
private Integer index;
|
||||
|
||||
}
|
@ -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.MesEquFaultCause;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:08
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEquFaultCauseRepository extends BaseRepository<MesEquFaultCause, 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.MesEquFaultMethod;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEquFaultMethodRepository extends BaseRepository<MesEquFaultMethod, 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.MesEquFaultPhenomenon;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:05
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEquFaultPhenomenonRepository extends BaseRepository<MesEquFaultPhenomenon, Long> {
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/8/21 9:19 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("mes导入结果model")
|
||||
public class ExcelImportModel<T> implements Serializable {
|
||||
|
||||
@ApiParam("结果")
|
||||
private boolean result;
|
||||
|
||||
@ApiParam("成功行数量")
|
||||
private int successRowNum;
|
||||
|
||||
@ApiParam("失败行数量")
|
||||
private int failRowNum;
|
||||
|
||||
@ApiParam("错误信息集合")
|
||||
private List<ImportErrorModel> ImportErrorModels;
|
||||
|
||||
@ApiParam("错误的行号")
|
||||
private String errorRows;
|
||||
|
||||
@ApiParam("导入数据集合")
|
||||
private List<T> excelList;
|
||||
|
||||
@ApiParam("导入进度")
|
||||
private String importSpeed;
|
||||
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/8/21 9:19 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("mes导入异常结果model")
|
||||
public class ImportErrorModel implements Serializable {
|
||||
|
||||
@ApiParam("错误的行号")
|
||||
private int rowNum;
|
||||
|
||||
@ApiParam("错误数量")
|
||||
private int errorNum;
|
||||
|
||||
@ApiParam("错误列号")
|
||||
private String cellNum;
|
||||
|
||||
@ApiParam("错误描述")
|
||||
private String errorInfo;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 数据库实例字段模型
|
||||
* @author siliter.yuan
|
||||
* @date 2020/04/16
|
||||
*/
|
||||
@Data
|
||||
@Api("数据库实例字段模型")
|
||||
public class BasBeanFieldModel {
|
||||
|
||||
@ApiParam("表名")
|
||||
private String tableName;
|
||||
|
||||
@ApiParam("表描述")
|
||||
private String tableDesc;
|
||||
|
||||
@ApiParam("字段英文名称")
|
||||
private String fieldEnName;
|
||||
|
||||
@ApiParam("字段类型")
|
||||
public String fieldType;
|
||||
|
||||
@ApiParam("字段描述")
|
||||
private String fieldDesc;
|
||||
|
||||
@ApiParam("实例类名")
|
||||
public String entityName;
|
||||
|
||||
@ApiParam("实例字段名称")
|
||||
public String propertyName;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.template.BasImportTemplateDetails;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 导入模板明细数据操作仓库
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-04-16 10:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BasImportTemplateDetailsRepository extends BaseRepository<BasImportTemplateDetails, Long> {
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.template.BasImportTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 导入模板数据操作仓库
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-04-16 10:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BasImportTemplateRepository extends BaseRepository<BasImportTemplate, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue