Merge remote-tracking branch 'remotes/origin/test'
# Conflicts: # modules/i3plus-pojo-andon/pom.xml # modules/i3plus-pojo-base/pom.xml # modules/i3plus-pojo-form/pom.xml # modules/i3plus-pojo-hardswitch/pom.xml # modules/i3plus-pojo-jobflow/pom.xml # modules/i3plus-pojo-lac/pom.xml # modules/i3plus-pojo-mes-pcn/pom.xml # modules/i3plus-pojo-mes/pom.xml # modules/i3plus-pojo-model/pom.xml # modules/i3plus-pojo-platform/pom.xml # modules/i3plus-pojo-report/pom.xml # modules/i3plus-pojo-softswitch/pom.xml # modules/i3plus-pojo-sweb/pom.xml # modules/i3plus-pojo-wms/pom.xml # modules/i3plus-pojo-workflow/pom.xml # pom.xmlyun-zuoyi
commit
7a62200736
@ -0,0 +1,67 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||||
|
import javax.persistence.Transient;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :生产设备
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_EQUIPMENT")
|
||||||
|
@Api("生产设备")
|
||||||
|
public class MesEquipment extends BaseBean {
|
||||||
|
@Column(name="EQUIPMENT_CODE")
|
||||||
|
@ApiParam("设备代码")
|
||||||
|
private String equipmentCode;
|
||||||
|
|
||||||
|
@Column(name="EQUIPMENT_NAME")
|
||||||
|
@ApiParam("设备名称")
|
||||||
|
private String equipmentName;
|
||||||
|
|
||||||
|
@Column(name="STATUS")
|
||||||
|
@ApiParam("设备状态")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Column(name="WORK_CELL_CODE")
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name="WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name="AREA_CODE")
|
||||||
|
@ApiParam("区域代码")
|
||||||
|
private String areaCode;
|
||||||
|
|
||||||
|
@Transient
|
||||||
|
@ApiParam(value ="名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
// 默认值 -1
|
||||||
|
@Transient
|
||||||
|
@ApiParam(value ="父节点" , access ="父节点" ,example = "-1")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long parentId;
|
||||||
|
}
|
@ -0,0 +1,42 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :维修
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-08-08
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_REPAIR")
|
||||||
|
@Api("维修")
|
||||||
|
public class MesRepair extends BaseBean {
|
||||||
|
@Column(name="REPAIR_CODE")
|
||||||
|
@ApiParam("维修代码")
|
||||||
|
private String repairCode;
|
||||||
|
|
||||||
|
@Column(name="REPAIR_NAME")
|
||||||
|
@ApiParam("维修名称")
|
||||||
|
private String repariName;
|
||||||
|
|
||||||
|
@Column(name="REPAIR_TYPE")
|
||||||
|
@ApiParam("维修类型")
|
||||||
|
private Integer repairType;
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :报废原因
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-08-08
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_SCRAP")
|
||||||
|
@Api("报废原因")
|
||||||
|
public class MesScrap extends BaseBean {
|
||||||
|
@Column(name="SCRAP_CODE")
|
||||||
|
@ApiParam("报废代码")
|
||||||
|
private String scrapCode;
|
||||||
|
|
||||||
|
@Column(name="SCRAP_NAME")
|
||||||
|
@ApiParam("报废名称")
|
||||||
|
private String scrapName;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,50 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :mes系统业务动作
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-04-19
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_SHIFT")
|
||||||
|
@Api("班次信息")
|
||||||
|
public class MesShift extends BaseBean {
|
||||||
|
@Column(name="WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_CODE")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shiftCode;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_NAME")
|
||||||
|
@ApiParam("班次名称")
|
||||||
|
private String shiftName;
|
||||||
|
|
||||||
|
@Column(name="START_TIME")
|
||||||
|
@ApiParam("开班时间")
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
@Column(name="WORK_TIMES")
|
||||||
|
@ApiParam("作业时长")
|
||||||
|
private Double workTimes;
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :mes系统业务动作
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yiming.gu
|
||||||
|
* @CreateDate : 2019-05-20
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_SHIFT_REST")
|
||||||
|
@Api("班次休息信息")
|
||||||
|
public class MesShiftRest extends BaseBean {
|
||||||
|
@Column(name="WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_CODE")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shiftCode;
|
||||||
|
|
||||||
|
@Column(name="START_TIME")
|
||||||
|
@ApiParam("开始时间")
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
@Column(name="REST_TIMES")
|
||||||
|
@ApiParam("休息时长")
|
||||||
|
private Double restTimes;
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesEquipment;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesEquipmentRepository extends BaseRepository<MesEquipment, Long> {
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesRepair;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-08-08-17:13
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesRepairRepository extends BaseRepository<MesRepair, Long> {
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesScrap;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-08-08-17:13
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesScrapRepository extends BaseRepository<MesScrap, Long> {
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesShift;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-04-19-13:53
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesShiftRepository extends BaseRepository<MesShift, Long> {
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesShiftRest;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: yiming.gu
|
||||||
|
* @CreateDate:2019-05-20
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesShiftRestRepository extends BaseRepository<MesShiftRest, Long> {
|
||||||
|
}
|
@ -0,0 +1,42 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :维修
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-08-08
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_REPAIR")
|
||||||
|
@Api("维修")
|
||||||
|
public class MesRepair extends BaseBean {
|
||||||
|
@Column(name="REPAIR_CODE")
|
||||||
|
@ApiParam("维修代码")
|
||||||
|
private String repairCode;
|
||||||
|
|
||||||
|
@Column(name="REPAIR_NAME")
|
||||||
|
@ApiParam("维修名称")
|
||||||
|
private String repariName;
|
||||||
|
|
||||||
|
@Column(name="REPAIR_TYPE")
|
||||||
|
@ApiParam("维修类型")
|
||||||
|
private Integer repairType;
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :报废原因
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-08-08
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_SCRAP")
|
||||||
|
@Api("报废原因")
|
||||||
|
public class MesScrap extends BaseBean {
|
||||||
|
@Column(name="SCRAP_CODE")
|
||||||
|
@ApiParam("报废代码")
|
||||||
|
private String scrapCode;
|
||||||
|
|
||||||
|
@Column(name="SCRAP_NAME")
|
||||||
|
@ApiParam("报废名称")
|
||||||
|
private String scrapName;
|
||||||
|
|
||||||
|
}
|
@ -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.MesPcn;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesRepair;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-08-08-17:13
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesRepairRepository extends BaseRepository<MesRepair, 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.MesRepair;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesScrap;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-08-08-17:13
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesScrapRepository extends BaseRepository<MesScrap, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue