Merge remote-tracking branch 'remotes/origin/dev' into test
commit
39d6609a5f
@ -0,0 +1,41 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_AREA_ALARM_TYPE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("区域安灯类型")
|
||||
public class AndonAreaAlarmType extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6551224785612729594L;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam("安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAreaAlarmType;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-30 11:05
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonAreaAlarmTypeRepository extends BaseRepository<AndonAreaAlarmType, Long> {
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
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/7/3 5:06 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_JIT_ISSUE_CFG")
|
||||
@Api("MES_客户JIT队列下达配置")
|
||||
public class MesJitIssueCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1475207048628221791L;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户工厂代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "THRESHOLD_QTY")
|
||||
@ApiParam("触发阈值")
|
||||
private Integer thresholdQty;
|
||||
|
||||
@Column(name = "CFG_TYPE")
|
||||
@ApiParam("缓存类型")
|
||||
private Integer cfgType;
|
||||
|
||||
@Transient
|
||||
@ApiParam("当前JIT缓存数")
|
||||
private Integer currentJitCacheNum;
|
||||
|
||||
@Transient
|
||||
@ApiParam("其他工单数")
|
||||
private Integer otherWorkNum = 0;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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/7/3 5:14 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_JIT_LOCK_CACHE")
|
||||
@Api("MES_JIT队列锁定池")
|
||||
public class MesJitLockCache extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -308930683558229105L;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户工厂代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@Column(name = "JIT_ACTUAL_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitActualNo;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "WO_TYPE")
|
||||
@ApiParam("工单类型")
|
||||
private Integer woType;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/7/3 5:11 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_JIT_ORDER_CACHE")
|
||||
@Api("MES_JIT队列订单池")
|
||||
public class MesJitOrderCache extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -613326904053045367L;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户工厂代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@Column(name = "JIT_ACTUAL_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitActualNo;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "WO_TYPE")
|
||||
@ApiParam("工单类型")
|
||||
private Integer woType;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("序号")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/7/4 10:26 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class JitIssueCfgModel {
|
||||
|
||||
@ApiParam("客户工厂代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@ApiParam("数量")
|
||||
private Integer qty;
|
||||
|
||||
@ApiParam("触发阈值")
|
||||
private Integer thresholdQty;
|
||||
|
||||
@ApiParam("当前JIT缓存数")
|
||||
private Integer currentJitCacheNum;
|
||||
|
||||
@ApiParam("其他工单数")
|
||||
private Integer otherWorkNum = 0;
|
||||
|
||||
@ApiParam("缓存类型")
|
||||
private String cfgType;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesJitIssueCfg;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/7/3 5:21 下午
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesJitIssueCfgRepository extends BaseRepository<MesJitIssueCfg, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesJitLockCache;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/7/3 5:23 下午
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesJitLockCacheRepository extends BaseRepository<MesJitLockCache, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesJitOrderCache;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/7/3 5:22 下午
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesJitOrderCacheRepository extends BaseRepository<MesJitOrderCache, Long> {
|
||||
}
|
Loading…
Reference in New Issue