Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
304677e7da
@ -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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: Wynne.Lu
|
||||||
|
* @CreateDate: 2019/12/12 4:00 下午
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "IF_WMS_PPM")
|
||||||
|
@Api("WMS PPM 接口表")
|
||||||
|
public class IfWmsPpm extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "YEAR")
|
||||||
|
@ApiParam("年")
|
||||||
|
private String year;
|
||||||
|
|
||||||
|
@Column(name = "MONTH")
|
||||||
|
@ApiParam("月")
|
||||||
|
private String month;
|
||||||
|
|
||||||
|
@Column(name = "PPM_VALUE")
|
||||||
|
@ApiParam("PPM值")
|
||||||
|
private String ppmValue;
|
||||||
|
|
||||||
|
@Column(name = "SYNC_STATUS")
|
||||||
|
@ApiParam("同步状态")
|
||||||
|
private Integer syncStatus;
|
||||||
|
|
||||||
|
@Column(name = "ERROR_MESSAGE")
|
||||||
|
@ApiParam("异常消息")
|
||||||
|
private String errorMessage;
|
||||||
|
|
||||||
|
@Column(name = "ACTION_CODE")
|
||||||
|
@ApiParam("动作代码")
|
||||||
|
private String actionCode;
|
||||||
|
|
||||||
|
@Column(name = "IF_CODE")
|
||||||
|
@ApiParam("接口代码")
|
||||||
|
private String ifCode;
|
||||||
|
}
|
@ -0,0 +1,52 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.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;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :质量标准配置
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_QUALITY_STANDARD_CFG")
|
||||||
|
@Api("质量标准配置")
|
||||||
|
public class MesQualityStandardCfg extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "STANDARD_TYPE")
|
||||||
|
@ApiParam("标准类型")
|
||||||
|
private Integer standardType;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_TYPE")
|
||||||
|
@ApiParam("对象类型")
|
||||||
|
private Integer objectType;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_KEY_VALUE")
|
||||||
|
@ApiParam("对象键值")
|
||||||
|
private String objectKeyValue;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_KEY")
|
||||||
|
@ApiParam("对象键")
|
||||||
|
private String objectKey;
|
||||||
|
|
||||||
|
}
|
@ -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.IfWmsPpm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\18 10:34
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IfWmsPpmRepository extends BaseRepository<IfWmsPpm, 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.MesQualityStandardCfg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\13 11:53
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface MesQualityStandardCfgRepository extends BaseRepository<MesQualityStandardCfg, Long> {
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.wms;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.*;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description 作业流程导入Model
|
||||||
|
* @Reference
|
||||||
|
* @Author dragon
|
||||||
|
* @CreateDate 2019/12/10 11:26
|
||||||
|
* @Modify
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Api("作业流程导入Model")
|
||||||
|
public class WmsAgImportModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = 5322363872992177667L;
|
||||||
|
@ApiParam("流程集合")
|
||||||
|
public List<WmsActionGroup> agList;
|
||||||
|
@ApiParam("流程明细集合")
|
||||||
|
List<WmsActionGroupDetails> agdList;
|
||||||
|
@ApiParam("步骤调用参数集合")
|
||||||
|
List<WmsActionStepCallParam> ascpList;
|
||||||
|
@ApiParam("作业步骤集合")
|
||||||
|
List<WmsActionStep> asList;
|
||||||
|
@ApiParam("作业步骤调用集合")
|
||||||
|
List<WmsActionStepCall> ascList;
|
||||||
|
@ApiParam("作业组件集合")
|
||||||
|
List<WmsActionModule> amList;
|
||||||
|
@ApiParam("作业组件参数集合")
|
||||||
|
List<WmsActionModuleParam> ampList;
|
||||||
|
@ApiParam("作业步骤参数类型集合")
|
||||||
|
List<WmsActionStepType> astList;
|
||||||
|
@ApiParam("工厂代码")
|
||||||
|
public String organizeCode;
|
||||||
|
@ApiParam("是否覆盖")
|
||||||
|
public Integer isConvert;
|
||||||
|
@ApiParam("用户名")
|
||||||
|
public String userName;
|
||||||
|
}
|
@ -0,0 +1,157 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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 : WMS_拉动计划任务明细表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2019-11-10 14:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="WMS_PULL_TASK_DETAILS")
|
||||||
|
@Api("WMS_拉动计划任务明细表")
|
||||||
|
public class WmsPullTaskDetails extends BaseBean{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 9214639813072592736L;
|
||||||
|
|
||||||
|
@Column(name="WROKORDER_NO")
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String woekorderNo;
|
||||||
|
|
||||||
|
@Column(name="ITEM")
|
||||||
|
@ApiParam(value = "行号", example = "0")
|
||||||
|
private Integer item = 0;
|
||||||
|
|
||||||
|
@Column(name="TERMINAL_NO")
|
||||||
|
@ApiParam("工位代码")
|
||||||
|
private String terminalNo;
|
||||||
|
|
||||||
|
@Column(name="LOCATE_NO")
|
||||||
|
@ApiParam("库位代码")
|
||||||
|
private String locateNo;
|
||||||
|
|
||||||
|
@Column(name="LOCATE_CAPACITY")
|
||||||
|
@ApiParam("库位容量")
|
||||||
|
private String locateCapacity;
|
||||||
|
|
||||||
|
@Column(name="PART_NO")
|
||||||
|
@ApiParam("零件编号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name="PART_NAME_RDD")
|
||||||
|
@ApiParam("零件名称")
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@Column(name="PLAN_PACK_COUNT")
|
||||||
|
@ApiParam(value = "计划容器数", example = "0")
|
||||||
|
private Integer planPackCount = 0;
|
||||||
|
|
||||||
|
@Column(name="FIRST_BATCH_QTY")
|
||||||
|
@ApiParam(value = "首批批量", example = "0")
|
||||||
|
private Integer firstBatchQty = 0;
|
||||||
|
|
||||||
|
@Column(name="FIRST_PACK_COUNT")
|
||||||
|
@ApiParam(value = "首批容器数", example = "0")
|
||||||
|
private Integer firstPackCount = 0;
|
||||||
|
|
||||||
|
@Column(name="REQUEST_QTY")
|
||||||
|
@ApiParam(value = "补货批量", example = "0")
|
||||||
|
private Integer requestQty = 0;
|
||||||
|
|
||||||
|
@Column(name="REQUEST_PACK_COUNT")
|
||||||
|
@ApiParam(value = "补货容器数", example = "0")
|
||||||
|
private Integer requestPackCount = 0;
|
||||||
|
|
||||||
|
@Column(name="REQUEST_LOT_NO")
|
||||||
|
@ApiParam(value = "补货批次", example = "0")
|
||||||
|
private Integer requestLotNo = 0;
|
||||||
|
|
||||||
|
@Column(name="REQUEST_TOTAL_COUNT")
|
||||||
|
@ApiParam(value = "补货累加次数", example = "0")
|
||||||
|
private Integer requestTotalCount = 0;
|
||||||
|
|
||||||
|
@Column(name="LAST_REQUEST_TIME")
|
||||||
|
@ApiParam("上一次补货时间")
|
||||||
|
private String lastRequestTtime;
|
||||||
|
|
||||||
|
@Column(name="BOOT_QTY")
|
||||||
|
@ApiParam(value = "尾箱批量", example = "0")
|
||||||
|
private Integer bootQty = 0;
|
||||||
|
|
||||||
|
@Column(name="BOOT_PACK_COUNT")
|
||||||
|
@ApiParam(value = "尾箱容器数", example = "0")
|
||||||
|
private Integer bootPackCount = 0;
|
||||||
|
|
||||||
|
@Column(name="BOOT_LOT_NO")
|
||||||
|
@ApiParam(value = "尾箱批次", example = "0")
|
||||||
|
private Integer bootLotNo = 0;
|
||||||
|
|
||||||
|
@Column(name="ORDER_STATUS")
|
||||||
|
@ApiParam(value = "单据状态", example = "0")
|
||||||
|
private Integer orderStatus = 0;
|
||||||
|
|
||||||
|
public Integer getOrderStatus() {
|
||||||
|
return orderStatus == null ? 0 : this.orderStatus.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBootLotNo() {
|
||||||
|
return bootLotNo == null ? 0 : this.bootLotNo.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBootPackCount() {
|
||||||
|
return bootPackCount == null ? 0 : this.bootPackCount.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBootQty() {
|
||||||
|
return bootQty == null ? 0 : this.bootQty.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRequestTotalCount() {
|
||||||
|
return requestTotalCount == null ? 0 : this.requestTotalCount.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRequestLotNo() {
|
||||||
|
return requestLotNo == null ? 0 : this.requestLotNo.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRequestPackCount() {
|
||||||
|
return requestPackCount == null ? 0 : this.requestPackCount.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRequestQty() {
|
||||||
|
return requestQty == null ? 0 : this.requestQty.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getFirstPackCount() {
|
||||||
|
return firstPackCount == null ? 0 : this.firstPackCount.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getFirstBatchQty() {
|
||||||
|
return firstBatchQty == null ? 0 : this.firstBatchQty.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getPlanPackCount() {
|
||||||
|
return planPackCount == null ? 0 : this.planPackCount.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getItem() {
|
||||||
|
return item == null ? 0 : this.item.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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 : WMS_拉动计划任务主表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2019-11-09 14:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="WMS_PULL_TASK_MASTER")
|
||||||
|
@Api("WMS_拉动计划任务主表")
|
||||||
|
public class WmsPullTaskMaster extends BaseBean{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 9214639813072592736L;
|
||||||
|
|
||||||
|
@Column(name="WROKORDER_NO")
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String woekorderNo;
|
||||||
|
|
||||||
|
@Column(name="PDLINE_NO")
|
||||||
|
@ApiParam("产线代码")
|
||||||
|
private String pdlineNo;
|
||||||
|
|
||||||
|
@Column(name="PLAN_PRODUCT_TIME")
|
||||||
|
@ApiParam("生产日期")
|
||||||
|
private String planProductTime;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_NO")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shitNo;
|
||||||
|
|
||||||
|
@Column(name="START_PRODUCT_TIME")
|
||||||
|
@ApiParam("开始生产时间")
|
||||||
|
private String startProductTime;
|
||||||
|
|
||||||
|
@Column(name="END_PRODUCT_TIME")
|
||||||
|
@ApiParam("结束生产时间")
|
||||||
|
private String endProductTime;
|
||||||
|
|
||||||
|
@Column(name="ORDER_STATUS")
|
||||||
|
@ApiParam(value = "单据状态", example = "0")
|
||||||
|
private Integer orderStatus = 0;
|
||||||
|
|
||||||
|
public Integer getOrderStatus() {
|
||||||
|
return orderStatus == null ? 0 : this.orderStatus.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -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.WmsPullTaskDetails;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsPullTaskMaster;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :wms拉动计划明细表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2018-12-11 14:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsPullTaskDetailsRepository extends BaseRepository<WmsPullTaskDetails, 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.BasVendor;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsPullTaskMaster;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :wms拉动计划主表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2018-12-11 14:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsPullTaskMasterRepository extends BaseRepository<WmsPullTaskMaster, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue