Finish Task #Finish Task #2236
parent
445668a9b2
commit
76e3fb0811
@ -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/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;
|
||||||
|
}
|
@ -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,51 @@
|
|||||||
|
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;
|
||||||
|
}
|
@ -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;
|
||||||
|
|
||||||
|
@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