Merge remote-tracking branch 'origin/dev' into dev
commit
c75a25b854
@ -0,0 +1,39 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 生产工单导入
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-03-30 13:42
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api(value="生产工单导入",description = "生产工单导入")
|
||||||
|
public class MesWorkOrderModel {
|
||||||
|
|
||||||
|
@ApiParam("工单号")
|
||||||
|
@AnnoOutputColumn(required = false)
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@ApiParam("物料号")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam("客户产线代码")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String custProdLineCode;
|
||||||
|
|
||||||
|
@ApiParam("数量")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
@ApiParam("开始时间")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.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 = "PTL_ROUTE_MODULE_PARAM")
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api("PTL_流程组件调用参数")
|
||||||
|
public class PtlRouteModuleParam extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -3036415977457877114L;
|
||||||
|
|
||||||
|
@Column(name = "ROUTE_CODE")
|
||||||
|
@ApiParam("流程代码")
|
||||||
|
private String routeCode;
|
||||||
|
|
||||||
|
@Column(name = "AMG_ID")
|
||||||
|
@ApiParam("组件集编号")
|
||||||
|
private Long amgId;
|
||||||
|
|
||||||
|
@Column(name = "AM_CODE")
|
||||||
|
@ApiParam("组件代码")
|
||||||
|
private String amCode;
|
||||||
|
|
||||||
|
@Column(name = "PARAM_CODE")
|
||||||
|
@ApiParam("参数代码")
|
||||||
|
private String paramCode;
|
||||||
|
|
||||||
|
@Column(name = "PARAM_VALUE")
|
||||||
|
@ApiParam("参数值")
|
||||||
|
private String paramValue;
|
||||||
|
|
||||||
|
@Column(name = "STATUS_CODE")
|
||||||
|
@ApiParam("状态代码")
|
||||||
|
private String statusCode;
|
||||||
|
}
|
@ -0,0 +1,36 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.ptl.bean.PtlAreaRouteModuleParam;
|
||||||
|
import cn.estsh.i3plus.pojo.ptl.bean.PtlRouteModuleParam;
|
||||||
|
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 : wangjie
|
||||||
|
* @CreateDate : 2020-04-10 13:27
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("流程明细Model")
|
||||||
|
public class ActionModuleGroupModel implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 3569055511035396175L;
|
||||||
|
|
||||||
|
@ApiParam("组件代码")
|
||||||
|
private String amCode;
|
||||||
|
|
||||||
|
@ApiParam("执行顺序")
|
||||||
|
private Integer seq;
|
||||||
|
|
||||||
|
@ApiParam("流程组件参数集合")
|
||||||
|
private List<PtlRouteModuleParam> routeModuleParamList;
|
||||||
|
|
||||||
|
@ApiParam("区域流程组件参数集合")
|
||||||
|
private List<PtlAreaRouteModuleParam> areaRouteModuleParamList;
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.model;
|
||||||
|
|
||||||
|
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 : wangjie
|
||||||
|
* @CreateDate : 2020-04-10 13:27
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("作业流程Model")
|
||||||
|
public class BussinessProcessModel implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 148029163662900001L;
|
||||||
|
|
||||||
|
@ApiParam("流程代码")
|
||||||
|
private String routeCode;
|
||||||
|
|
||||||
|
@ApiParam("GOJS位置")
|
||||||
|
private String position;
|
||||||
|
|
||||||
|
@ApiParam("流程明细Model集合")
|
||||||
|
private List<ProcessDetailModel> processDetailModelList;
|
||||||
|
|
||||||
|
@ApiParam("区域代码")
|
||||||
|
private String areaNo;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.ptl.bean.PtlActionModuleParam;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author wangjie
|
||||||
|
* @date 2020/2/12 17:41
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
|
||||||
|
public interface PtlActionModuleParamRepository extends BaseRepository<PtlActionModuleParam, Long> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.ptl.bean.PtlRouteModuleParam;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2020/2/12 17:41
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
|
||||||
|
public interface PtlRouteModuleParamRepository extends BaseRepository<PtlRouteModuleParam, Long> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,70 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
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 lombok.ToString;
|
||||||
|
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 : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-04-13 13:30
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_DOC_SO_DETAILS")
|
||||||
|
@Api("销售订单明细表")
|
||||||
|
@ToString
|
||||||
|
public class WmsDocSoDetails extends BaseBean {
|
||||||
|
private static final long serialVersionUID = -8900949569711082994L;
|
||||||
|
|
||||||
|
@Column(name = "ORDER_NO")
|
||||||
|
@ApiParam(value = "单据号")
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@Column(name = "ITEM")
|
||||||
|
@ApiParam("行号")
|
||||||
|
public Integer item;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("物料编码")
|
||||||
|
public String partNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NAME_RDD")
|
||||||
|
@ApiParam("物料名称")
|
||||||
|
public String partNameRdd;
|
||||||
|
|
||||||
|
@Column(name = "UNIT")
|
||||||
|
@ApiParam("单位")
|
||||||
|
public String unit;
|
||||||
|
|
||||||
|
@Column(name = "SNP_QTY")
|
||||||
|
@ApiParam(value = "标准包装", example = "1")
|
||||||
|
private Double snpQty;
|
||||||
|
|
||||||
|
@Column(name = "ITEM_STATUS")
|
||||||
|
@ApiParam(value = "状态", example = "1")
|
||||||
|
@AnnoOutputColumn(refClass = WmsEnumUtil.ORDER_DETAILS_STATUS.class, refForeignKey = "value", value = "description")
|
||||||
|
private Integer itemStatus;
|
||||||
|
|
||||||
|
@Column(name = "QTY", columnDefinition = "decimal(18,8)")
|
||||||
|
@ColumnDefault("0")
|
||||||
|
@ApiParam(value = "需求数量", example = "0")
|
||||||
|
public Double qty;
|
||||||
|
}
|
@ -0,0 +1,68 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
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 lombok.ToString;
|
||||||
|
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 : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-04-13 13:19
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_DOC_SO_MASTER")
|
||||||
|
@Api("销售订单主表")
|
||||||
|
@ToString
|
||||||
|
public class WmsDocSoMaster extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 8250843929041855006L;
|
||||||
|
|
||||||
|
@Column(name = "ORDER_NO")
|
||||||
|
@ApiParam(value = "单据号")
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@Column(name = "ORDER_TYPE")
|
||||||
|
@ApiParam("订单类型")
|
||||||
|
@AnnoOutputColumn(refClass = WmsEnumUtil.SO_ORDER_TYPE.class, refForeignKey = "value", value = "description")
|
||||||
|
public Integer orderType;
|
||||||
|
|
||||||
|
@Column(name = "ORDER_STATUS")
|
||||||
|
@ApiParam(value = "订单状态", example = "1")
|
||||||
|
@AnnoOutputColumn(refClass = WmsEnumUtil.MASTER_ORDER_STATUS.class, refForeignKey = "value", value = "description")
|
||||||
|
public Integer orderStatus;
|
||||||
|
|
||||||
|
@Column(name = "CUST_CODE")
|
||||||
|
@ApiParam(value = "客户编号")
|
||||||
|
private String custCode;
|
||||||
|
|
||||||
|
@Column(name = "CUST_DESC")
|
||||||
|
@ApiParam(value = "客户全称")
|
||||||
|
private String custDesc;
|
||||||
|
|
||||||
|
@Column(name = "CUST_DELIVERY_CODE")
|
||||||
|
@ApiParam(value = "客户发往地代码")
|
||||||
|
private String custDeliveryCode;
|
||||||
|
|
||||||
|
@Column(name = "FLAG_NAME")
|
||||||
|
@ApiParam(value = "客户发往地名称")
|
||||||
|
private String flagName;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsDocSoDetails;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 销售订单明细表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-04-13 14:53
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface WmsDocSoDetailsRepository extends BaseRepository<WmsDocSoDetails, Long> {
|
||||||
|
}
|
@ -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.WmsDocSoMaster;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 销售订单主表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-04-13 14:52
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsDocSoMasterRepository extends BaseRepository<WmsDocSoMaster, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue