Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
a1a63c2247
@ -0,0 +1,38 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.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 :生产区域
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_AREA")
|
||||||
|
@Api("生产区域")
|
||||||
|
public class MesArea extends BaseBean {
|
||||||
|
@Column(name="AREA_CODE")
|
||||||
|
@ApiParam("区域代码")
|
||||||
|
private String areaCode;
|
||||||
|
|
||||||
|
@Column(name="AREA_NAME")
|
||||||
|
@ApiParam("区域名称")
|
||||||
|
private String areaName;
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesArea;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesAreaRepository extends BaseRepository<MesArea, Long> {
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
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:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-04-26-10:25
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_PRODUCE_CATEGORY")
|
||||||
|
@Api("系统业务动作")
|
||||||
|
public class MesProduceCategory extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="PRODUCE_CTGY_CODE")
|
||||||
|
@ApiParam("产品类型代码")
|
||||||
|
private String produceCategoryCode;
|
||||||
|
|
||||||
|
@Column(name="PRODUCE_CTGY_NAME")
|
||||||
|
@ApiParam("产品类型名称")
|
||||||
|
private String produceCategoryName;
|
||||||
|
}
|
@ -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.MesProduceCategory;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-04-26-10:28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesProduceCategoryRepository extends BaseRepository<MesProduceCategory, Long> {
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.softswitch;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 数据模型转换对象
|
||||||
|
* @Reference :
|
||||||
|
* @Author : alwaysfrin
|
||||||
|
* @CreateDate : 2019-04-29 11:11
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public class DataSwitchModel {
|
||||||
|
|
||||||
|
private String stringVal;
|
||||||
|
|
||||||
|
private Long longVal;
|
||||||
|
|
||||||
|
private Double doubleVal;
|
||||||
|
|
||||||
|
private List<?> listVal;
|
||||||
|
|
||||||
|
private Map<String,?> mapVal;
|
||||||
|
|
||||||
|
private Object[] arrayVal;
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.wms;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsActionGroupDetails;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStep;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStepCall;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStepCallParam;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 作业流程明细Model
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2019-04-29 15:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("作业流程明细Model")
|
||||||
|
public class WmsActionGroupDetailsModel {
|
||||||
|
@ApiParam("作业流程明细")
|
||||||
|
public WmsActionGroupDetails wmsActionGroupDetails;
|
||||||
|
@ApiParam("作业步骤")
|
||||||
|
public WmsActionStep wmsActionStep;
|
||||||
|
@ApiParam("作业步骤调用")
|
||||||
|
public List<WmsActionStepCall> wmsActionStepCallList;
|
||||||
|
@ApiParam("作业步骤调用参数")
|
||||||
|
public List<WmsActionStepCallParam> wmsActionStepCallParamList;
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.wms;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsActionGroup;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsActionGroupDetails;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 作业流程Model
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2019-04-29 15:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("作业流程Model")
|
||||||
|
public class WmsActionGroupModel {
|
||||||
|
@ApiParam("流程")
|
||||||
|
public WmsActionGroup wmsActionGroup;
|
||||||
|
@ApiParam("流程明细Model集合")
|
||||||
|
public List<WmsActionGroupDetailsModel> wmsActionGroupDetailsModelList;
|
||||||
|
}
|
@ -1,27 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.platform.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description : 测试类
|
|
||||||
* @Reference :
|
|
||||||
* @Author : yunhao
|
|
||||||
* @CreateDate : 2019-02-24 16:21
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
public class TestInfo extends BaseBean {
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 执行耗时
|
|
||||||
*/
|
|
||||||
private long executeTime;
|
|
||||||
|
|
||||||
public TestInfo(){
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public TestInfo(long executeTime){
|
|
||||||
this.executeTime = System.currentTimeMillis() - executeTime;
|
|
||||||
}
|
|
||||||
}
|
|
@ -0,0 +1,26 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.BasVendor;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 供应商微服调用Model
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.lv
|
||||||
|
* @CreateDate : 2019-04-30 19:18
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("供应商微服调用Model")
|
||||||
|
public class WmsBasVendorModel extends BaseBean {
|
||||||
|
|
||||||
|
@ApiParam("供应商")
|
||||||
|
private BasVendor basVendor;
|
||||||
|
|
||||||
|
@ApiParam("分页对象")
|
||||||
|
private Pager pager;
|
||||||
|
}
|
@ -1,49 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import cn.estsh.i3plus.pojo.wms.bean.WmsASNMasterDetails;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
||||||
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 : 单据明细Model
|
|
||||||
* @Reference :
|
|
||||||
* @Author : dragon.xu
|
|
||||||
* @CreateDate : 2019-03-07 19:18
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
@Data
|
|
||||||
@Entity
|
|
||||||
//以子类table为准
|
|
||||||
@javax.persistence.Inheritance(strategy= InheritanceType.TABLE_PER_CLASS)
|
|
||||||
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
|
|
||||||
@Api("单据明细Model")
|
|
||||||
public class WmsOrderDetailsModel extends BaseBean {
|
|
||||||
|
|
||||||
@Column(name = "PART_NO")
|
|
||||||
@ApiParam("物料编码")
|
|
||||||
public String partNo;
|
|
||||||
@Column(name = "PART_NAME_RDD")
|
|
||||||
@ApiParam("物料名称")
|
|
||||||
public String partNameRdd;
|
|
||||||
@Column(name = "ITEM")
|
|
||||||
@ApiParam("行号")
|
|
||||||
public Integer item;
|
|
||||||
@Column(name = "QTY")
|
|
||||||
@ApiParam(value = "需求数量", example = "0")
|
|
||||||
public Double qty;
|
|
||||||
@Column(name = "UNIT")
|
|
||||||
@ApiParam("单位")
|
|
||||||
public String unit;
|
|
||||||
@Column(name = "ORDER_NO")
|
|
||||||
@ApiParam("订单号")
|
|
||||||
public String orderNo;
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiParam;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description : 单据Model
|
|
||||||
* @Reference :
|
|
||||||
* @Author : dragon.xu
|
|
||||||
* @CreateDate : 2019-03-07 19:18
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
@Data
|
|
||||||
@Api("单据Model")
|
|
||||||
public class WmsOrderMasterModel extends BaseBean {
|
|
||||||
@Column(name = "ORDER_NO")
|
|
||||||
@ApiParam("订单号")
|
|
||||||
public String orderNo;
|
|
||||||
}
|
|
@ -0,0 +1,27 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.BasVendor;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsPart;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 供应商微服调用Model
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.lv
|
||||||
|
* @CreateDate : 2019-04-30 19:18
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("供应商微服调用Model")
|
||||||
|
public class WmsPartModel extends BaseBean {
|
||||||
|
|
||||||
|
@ApiParam("物料")
|
||||||
|
private WmsPart wmsPart;
|
||||||
|
|
||||||
|
@ApiParam("分页对象")
|
||||||
|
private Pager pager;
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue