Merge remote-tracking branch 'origin/dev' into dev
commit
ae1c6ef8fd
@ -0,0 +1,66 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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 :MES_JIT发运队列
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING")
|
||||
@Api("MES_JIT发运队列")
|
||||
public class MesQueueShipping extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 655875369308414110L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("排序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户产线代码")
|
||||
private String custPlantCode;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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 :MES_JIT发运队列明细
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING_DETAIL")
|
||||
@Api("MES_JIT发运队列明细")
|
||||
public class MesQueueShippingDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1442091799346314190L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@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;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "GROUP_SEQ")
|
||||
@ApiParam("分组序号")
|
||||
private String groupSeq;
|
||||
|
||||
@Column(name = "qty")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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.*;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* @Description : 运输规则表
|
||||
* @Reference :
|
||||
* @Author : puxiao.liao
|
||||
* @CreateDate : 2020-03-06 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_TRANSPORT_RULE")
|
||||
@Api("运输规则表")
|
||||
public class WmsTransportRule extends BaseBean {
|
||||
private static final long serialVersionUID = 6120257805546343124L;
|
||||
|
||||
@Column(name = "COMMAND_TYPE")
|
||||
@ApiParam(value = "指令类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.IMPORT_ORDER_TYPE.class, refForeignKey = "value", value = "description")
|
||||
private String commandType;
|
||||
|
||||
@Column(name = "BUSI_TYPE")
|
||||
@ApiParam("业务类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.OUT_MOVEMENT_BUSI_TYPE.class, refForeignKey = "value", value = "description")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "OUT_MOVEMENT_BUSI_TYPE")
|
||||
public Integer busiType;
|
||||
|
||||
@Column(name = "BUSI_SCENE_TYPE")
|
||||
@ApiParam("业务场景")
|
||||
//@AnnoOutputColumn(refClass = WmsEnumUtil.BUSI_SCENE_TYPE.class, refForeignKey = "value", value = "description")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "BUSI_SCENE_TYPE")
|
||||
public Integer busiSceneType;
|
||||
|
||||
|
||||
@Column(name = "SRC_AREA_NO")
|
||||
@ApiParam("发货库存地")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
public String srcAreaNo;
|
||||
|
||||
|
||||
@Column(name = "DEST_AREA_NO")
|
||||
@ApiParam("目标库存地")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
public String destAreaNo;
|
||||
|
||||
@Column(name = "OUT_VENDOR_NO")
|
||||
@ApiParam("委外供应商编码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
public String outVendorNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
public String partNo;
|
||||
|
||||
@Column(name = "CUST_NO")
|
||||
@ApiParam("客户代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
public String custNo;
|
||||
|
||||
@Column(name = "IS_TRANSPORT")
|
||||
@ApiParam("是否安排运输")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.TRUE_OR_FALSE.class, refForeignKey = "value", value = "description")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "TRUE_OR_FALSE")
|
||||
public int isTransport;
|
||||
|
||||
@Column(name = "REMARK",length = 255)
|
||||
@ApiParam("备注")
|
||||
public String remark;
|
||||
|
||||
@ApiParam("物料编码")
|
||||
@Transient
|
||||
public List<String> partNoLst;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTransportRule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 运输规则dao层
|
||||
* @Reference :
|
||||
* @Author : puxiao.liao
|
||||
* @CreateDate : 2020-03-27 10:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsTransportRuleRepository extends BaseRepository<WmsTransportRule, Long> {
|
||||
}
|
Loading…
Reference in New Issue