Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
f38e54e496
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.aps.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class GanttOrderModel {
|
||||
private Long id;
|
||||
private String code;
|
||||
private String name;
|
||||
private List<GanttOrderModel> children = new ArrayList<>();
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
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 :JIS发运模式
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-12-25
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_JIS_PATTERN")
|
||||
@Api("JIS发运模式")
|
||||
public class MesJisPattern extends BaseBean {
|
||||
|
||||
@Column(name = "PATTERN_NO")
|
||||
@ApiParam("模式编号")
|
||||
private String patternNo;
|
||||
|
||||
@Column(name = "PATTERN_NAME")
|
||||
@ApiParam("模式名称")
|
||||
private String patternName;
|
||||
|
||||
@Column(name = "RULE")
|
||||
@ApiParam("规则")
|
||||
private String rule;
|
||||
|
||||
@Column(name = "DESC")
|
||||
@ApiParam("描述")
|
||||
private String desc;
|
||||
|
||||
@Column(name = "TOP_NO")
|
||||
@ApiParam("一次显示TOP数")
|
||||
private Integer topNo;
|
||||
|
||||
@Column(name = "HANDLE_NO")
|
||||
@ApiParam("一次处理套数")
|
||||
private Integer handleNo;
|
||||
|
||||
@Column(name = "PATTERN_TYPE")
|
||||
@ApiParam("模式类型")
|
||||
private Integer patternType;
|
||||
|
||||
@Column(name = "SCAN_SEQ_TYPE")
|
||||
@ApiParam("产品组扫描顺序类型")
|
||||
private Integer scanSeqType;
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
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 :JIS发运队列
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-12-24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_JIS")
|
||||
@Api("JIS发运队列")
|
||||
public class MesQueueJis extends BaseBean {
|
||||
|
||||
@Column(name = "JIS_NO")
|
||||
@ApiParam("主队列编号")
|
||||
private String jisNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("产品配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CAR_NO")
|
||||
@ApiParam("车号")
|
||||
private String carNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("排序")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
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 :JIS发运队列明细
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-12-24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_JIS_DETAIL")
|
||||
@Api("JIS发运队列明细")
|
||||
public class MesQueueJisDetail extends BaseBean {
|
||||
|
||||
@Column(name = "JIS_NO")
|
||||
@ApiParam("主队列编号")
|
||||
private String jisNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("产品配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class QueueJisModel implements Serializable {
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("作业任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@ApiParam("作业类型")
|
||||
private Integer taskType;
|
||||
|
||||
@ApiParam("作业状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
@ApiParam(value="生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("计划日期")
|
||||
private String planTime;
|
||||
|
||||
@ApiParam("任务来源")
|
||||
private Integer taskSource;
|
||||
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@ApiParam("通知标识")
|
||||
private Integer notifyFlag;
|
||||
|
||||
@ApiParam("关联任务")
|
||||
private String relateTask;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam("有效性")
|
||||
public Integer isValid;
|
||||
|
||||
@ApiParam("是否已删除")
|
||||
public Integer isDeleted;
|
||||
|
||||
@ApiParam("创建用户")
|
||||
public String createUser;
|
||||
|
||||
@ApiParam("创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam("修改人")
|
||||
public String modifyUser;
|
||||
|
||||
@ApiParam("修改日期")
|
||||
public String modifyDatetime;
|
||||
|
||||
@ApiParam("作业类型")
|
||||
private String taskTypeName;
|
||||
|
||||
@ApiParam("作业状态")
|
||||
private String taskStatusName;
|
||||
|
||||
@ApiParam("任务来源")
|
||||
private String taskSourceName;
|
||||
|
||||
@ApiParam("通知标识")
|
||||
private String notifyFlagName;
|
||||
|
||||
@ApiParam("mes设备作业任务页面按钮控制")
|
||||
private MesButtonFlagModel mesButtonFlagModel;
|
||||
|
||||
|
||||
public QueueJisModel() {
|
||||
|
||||
}
|
||||
|
||||
public QueueJisModel(Long id, String taskNo, Integer taskType, Integer taskStatus, String workCenterCode, String planTime, Integer taskSource, String memo, Integer notifyFlag, String relateTask, String organizeCode, Integer isValid, Integer isDeleted, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
|
||||
this.id = id;
|
||||
this.taskNo = taskNo;
|
||||
this.taskType = taskType;
|
||||
this.taskStatus = taskStatus;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.planTime = planTime;
|
||||
this.taskSource = taskSource;
|
||||
this.memo = memo;
|
||||
this.notifyFlag = notifyFlag;
|
||||
this.relateTask = relateTask;
|
||||
this.organizeCode = organizeCode;
|
||||
this.isValid = isValid;
|
||||
this.isDeleted = isDeleted;
|
||||
this.createUser = createUser;
|
||||
this.createDatetime = createDatetime;
|
||||
this.modifyUser = modifyUser;
|
||||
this.modifyDatetime = modifyDatetime;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesJisPattern;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-12-25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesJisPatternRepository extends BaseRepository<MesJisPattern, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesQueueJisDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-12-25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesQueueJisDetailRepository extends BaseRepository<MesQueueJisDetail, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesQueueJis;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-12-25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesQueueJisRepository extends BaseRepository<MesQueueJis, Long> {
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description SAP DB操作参数Model
|
||||
* @Reference
|
||||
* @Author dragon
|
||||
* @CreateDate 2020/1/2 11:23
|
||||
* @Modify
|
||||
*/
|
||||
@Data
|
||||
public class WmsSapDbParamModel implements Serializable {
|
||||
private static final long serialVersionUID = 5784492509251527816L;
|
||||
private String organizeCode;//工厂代码
|
||||
private String orderNo;//单号
|
||||
private String partNo;//物料号
|
||||
private String masterTableName;//单据主表名
|
||||
private String masterStatusName;//单据状态名
|
||||
private String detailsTableName;//单据明细表名
|
||||
private String snTableName;//单据条码表名
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
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.ColumnDefault;
|
||||
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 : jessica.chen
|
||||
* @CreateDate : 2018-11-07 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ZONE_PART")
|
||||
@Api("库区物料")
|
||||
public class WmsZonePart extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592546L;
|
||||
@Column(name="ZONE_NO")
|
||||
@ApiParam("存储区编号")
|
||||
private String zoneNo;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name="PULL_QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "拉动数量", example = "0")
|
||||
private Double pullQty;
|
||||
|
||||
@Column(name="MAX", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "最大值", example = "0")
|
||||
private Double max;
|
||||
|
||||
@Column(name="MIN", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "最小值", example = "0")
|
||||
private Double min;
|
||||
|
||||
@Column(name = "IS_GENERATE_PICKLIST")
|
||||
@ApiParam(value = "是否生成领料单", example = "2")
|
||||
private Integer isGeneratePickList;
|
||||
|
||||
@Column(name="MOQ", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "起订量", example = "0")
|
||||
private Double moq;
|
||||
|
||||
@Column(name="SAFETY_QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "安全量", example = "0")
|
||||
private Double safetyQty;
|
||||
}
|
@ -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.BasCustomer;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsZonePart;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :库区物料
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2019-12-30 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsZonePartRepository extends BaseRepository<WmsZonePart,Long> {
|
||||
}
|
Loading…
Reference in New Issue