Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
52d8fc86ad
@ -0,0 +1,60 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 工厂仓库
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-09-04 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name="WH_STOCK_AREA")
|
||||
@Api("仓库区域")
|
||||
public class StockArea extends BaseBean {
|
||||
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("仓库区域代码")
|
||||
public String areaCode;
|
||||
|
||||
@Column(name="AREA_NAME")
|
||||
@ApiParam("仓库区域名称")
|
||||
public String areaName;
|
||||
|
||||
@Column(name="WH_ID")
|
||||
@ApiParam(value = "仓库编号", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long whId;
|
||||
|
||||
@Column(name="WH_CODE_RDD")
|
||||
@ApiParam("仓库代码")
|
||||
public String whCodeRdd;
|
||||
|
||||
@Column(name="WH_NAME_RDD")
|
||||
@ApiParam("仓库名称")
|
||||
public String whNameRdd;
|
||||
|
||||
public Long getWhId() {
|
||||
if(whId != null) {
|
||||
return whId.longValue();
|
||||
}else{
|
||||
return whId;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 库位
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-09-04 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name="WH_STOCK_LOC")
|
||||
@Api("仓库库位")
|
||||
public class StockLocation extends BaseBean {
|
||||
|
||||
@Column(name="LOC_CODE")
|
||||
@ApiParam("仓库库位代码")
|
||||
public String locCode;
|
||||
|
||||
@Column(name="LOC_NAME")
|
||||
@ApiParam("仓库库位名称")
|
||||
public String locName;
|
||||
|
||||
@Column(name="AREA_ID")
|
||||
@ApiParam(value = "库区编号", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long areaId;
|
||||
|
||||
@Column(name="AREA_CODE_RDD")
|
||||
@ApiParam("库区代码")
|
||||
public String areaCodeRdd;
|
||||
|
||||
@Column(name="AREA_NAME_RDD")
|
||||
@ApiParam("库区名称")
|
||||
public String areaNameRdd;
|
||||
|
||||
public Long getAreaId() {
|
||||
if(areaId != null) {
|
||||
return areaId.longValue();
|
||||
}else{
|
||||
return areaId;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :元数据按钮信息表
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-02 9:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_BUTTON")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Api(value="元数据按钮信息表",description = "元数据按钮信息表")
|
||||
public class WmsButton extends BaseBean {
|
||||
|
||||
@Column(name = "CODE")
|
||||
@ApiParam(value = "元数据编码")
|
||||
private String code;
|
||||
|
||||
@Column(name = "NAME")
|
||||
@ApiParam(value = "按钮名称")
|
||||
private String name;
|
||||
|
||||
@Column(name = "ICON")
|
||||
@ApiParam(value = "图标")
|
||||
private String icon;
|
||||
|
||||
@Column(name = "UI")
|
||||
@ApiParam(value = "按钮UI路径")
|
||||
private String ui;
|
||||
|
||||
@Column(name = "BS")
|
||||
@ApiParam(value = "按钮BS路径")
|
||||
private String bs;
|
||||
|
||||
@Column(name = "URL")
|
||||
@ApiParam(value = "服务端URL")
|
||||
private String url;
|
||||
|
||||
@Column(name = "ORDER_NUM")
|
||||
@ApiParam(value = "排序号",example = "1")
|
||||
private Integer orderNum;
|
||||
|
||||
@Column(name = "GROUP_NUM")
|
||||
@ApiParam(value = "分组号",example = "1")
|
||||
private Integer groupNum;
|
||||
|
||||
@Column(name = "IS_BASE")
|
||||
@ApiParam(value = "是否基础功能",example = "2")
|
||||
private Integer isBase;
|
||||
|
||||
@Column(name = "IS_HIDE")
|
||||
@ApiParam(value = "是否删除",example = "2")
|
||||
private Integer isHide;
|
||||
}
|
@ -0,0 +1,125 @@
|
||||
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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 元数据字段表
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-02 10:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "WMS_FIELD")
|
||||
@Api("元数据字段表")
|
||||
public class WmsField extends BaseBean{
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象编码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "FIELD_NUM")
|
||||
@ApiParam(value = "表单分组序号",example = "-1")
|
||||
private Integer fieldNum;
|
||||
|
||||
@Column(name = "ORDER_NUM")
|
||||
@ApiParam(value = "排序索引",example = "-1")
|
||||
private Integer orderNum;
|
||||
|
||||
@Column(name = "FIELD_SET")
|
||||
@ApiParam("表单分组")
|
||||
private String fieldSet;
|
||||
|
||||
@Column(name = "TABLE_NAME")
|
||||
@ApiParam("字段表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name = "FIELD_EN")
|
||||
@ApiParam("英文名")
|
||||
private String fieldEn;
|
||||
|
||||
@Column(name = "FIELD_CN")
|
||||
@ApiParam("中文名")
|
||||
private String fieldCn;
|
||||
|
||||
@Column(name = "TYPE")
|
||||
@ApiParam("控件类型")
|
||||
private String type;
|
||||
|
||||
@Column(name = "EXP")
|
||||
@ApiParam("控件表达式")
|
||||
private String exp;
|
||||
|
||||
@Column(name = "IS_QUERY")
|
||||
@ApiParam(value = "是否可查询", example = "2")
|
||||
private Integer isQuery;
|
||||
|
||||
@Column(name = "IS_SHOW")
|
||||
@ApiParam(value = "是否可显", example = "1")
|
||||
private Integer isShow;
|
||||
|
||||
@Column(name = "IS_DISABLE")
|
||||
@ApiParam(value = "是否禁用", example = "2")
|
||||
private Integer isDisable;
|
||||
|
||||
@Column(name = "IS_ORDER")
|
||||
@ApiParam(value = "是否可排序", example = "1")
|
||||
private Integer isOrder;
|
||||
|
||||
@Column(name = "IS_EDIT")
|
||||
@ApiParam(value = "是否可编辑字段", example = "1")
|
||||
private Integer isEdit;
|
||||
|
||||
@Column(name = "IS_REQURIED")
|
||||
@ApiParam(value = "是否必填", example = "1")
|
||||
private Integer isRequried;
|
||||
|
||||
@Column(name = "IS_MULTIPLE")
|
||||
@ApiParam(value = "是否多选项", example = "2")
|
||||
private Integer isMultiple;
|
||||
|
||||
@Column(name = "PLACEHOLDER")
|
||||
@ApiParam("输入提示")
|
||||
private String placeholder;
|
||||
|
||||
@Column(name = "VALIDATOR")
|
||||
@ApiParam(value = "是否可编辑字段", example = "2")
|
||||
private Integer validator;
|
||||
|
||||
@Column(name = "DEFAULTER")
|
||||
@ApiParam("默认值")
|
||||
private String defaulter;
|
||||
|
||||
@Column(name = "ADD_STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer addStatus;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("数据类型")
|
||||
private Integer dataType;
|
||||
|
||||
@Column(name = "DATA_TYPE_NAME")
|
||||
@ApiParam("数据类型名称")
|
||||
private String dataTypeName;
|
||||
|
||||
@Column(name = "DATA_SIZE")
|
||||
@ApiParam("整数位长度")
|
||||
private Integer dataSize;
|
||||
|
||||
@Column(name = "DATA_DECIMAL")
|
||||
@ApiParam("小数位长度")
|
||||
private Integer dataDecimal;
|
||||
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-02 10:37
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "WMS_OBJECT")
|
||||
@Api("元数据信息表")
|
||||
public class WmsObject extends BaseBean {
|
||||
|
||||
@Column(name = "CODE")
|
||||
@ApiParam("对象编码")
|
||||
private String code;
|
||||
|
||||
@Column(name = "NAME")
|
||||
@ApiParam("对象名称")
|
||||
private String name;
|
||||
|
||||
@Column(name = "VIEW_NAME")
|
||||
@ApiParam("查询数据视图")
|
||||
private String viewName;
|
||||
|
||||
@Column(name = "TABLE_NAME")
|
||||
@ApiParam("保存数据主表")
|
||||
private String tableName;
|
||||
|
||||
@Column(name = "PK_NAME")
|
||||
@ApiParam("主键")
|
||||
private String pkName;
|
||||
|
||||
@Column(name = "DATA_SOURCE")
|
||||
@ApiParam("数据源")
|
||||
private String dataSource;
|
||||
|
||||
@Column(name = "IS_SINGLE")
|
||||
@ApiParam(value = "是否单选", example = "1")
|
||||
private Integer isSingle;
|
||||
|
||||
@Column(name = "IS_CELL_EDIT")
|
||||
@ApiParam(value = "是否可行内编辑", example = "2")
|
||||
private Integer isCellEdit;
|
||||
|
||||
@Column(name = "IS_SHOW_NUM")
|
||||
@ApiParam(value = "是否显示行号", example = "1")
|
||||
private Integer isShowNum;
|
||||
|
||||
@Column(name = "IS_FIRST_LOAD")
|
||||
@ApiParam(value = "是否初始加载", example = "1")
|
||||
private Integer isFirstLoad;
|
||||
|
||||
@Column(name = "FILTER")
|
||||
@ApiParam("初始数据过滤条件")
|
||||
private String filter;
|
||||
|
||||
@Column(name = "DEFAULT_ORDER")
|
||||
@ApiParam("默认排序字段(desc)")
|
||||
private String defaultOrder;
|
||||
|
||||
@Column(name = "BIZ_INTERCEPT")
|
||||
@ApiParam("自定义业务拦截")
|
||||
private String bizIntercept;
|
||||
|
||||
@ApiParam("元数据字段列表")
|
||||
private transient List<WmsField> fiedList;
|
||||
|
||||
@ApiParam("自定义按钮列表")
|
||||
private transient List<WmsButton> btnList;
|
||||
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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 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-02 11:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_STOCK_QUANT")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Api(value="库存表",description = "库存表")
|
||||
public class WmsStockQuant extends BaseBean{
|
||||
|
||||
@Column(name="CUST_ID")
|
||||
@ApiParam(value ="客户编号",example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long custId;
|
||||
|
||||
@Column(name="CUST_CODE")
|
||||
@ApiParam(value ="客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name="SUPP_ID")
|
||||
@ApiParam(value ="供应商编号",example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suppId;
|
||||
|
||||
@Column(name="SUPP_CODE")
|
||||
@ApiParam(value ="供应商代码")
|
||||
private String suppCode;
|
||||
|
||||
@Column(name="PART_ID")
|
||||
@ApiParam(value ="零件id", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long partId;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam(value ="零件编号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME_RDD")
|
||||
@ApiParam(value ="零件名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name="UNIT")
|
||||
@ApiParam(value ="采购单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name="QIT")
|
||||
@ApiParam(value ="库存数")
|
||||
private Double qit;
|
||||
|
||||
@Column(name="ERP_WAREHOUSE")
|
||||
@ApiParam(value ="收货库存地")
|
||||
private String erpWareHouse;
|
||||
|
||||
@Column(name="WH_ID")
|
||||
@ApiParam(value ="仓库编号",example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long whId;
|
||||
|
||||
@Column(name="WH_CODE")
|
||||
@ApiParam(value ="仓库代码")
|
||||
private String whCode;
|
||||
|
||||
@Column(name="LOC_ID")
|
||||
@ApiParam(value ="库位编号",example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long locId;
|
||||
|
||||
@Column(name="LOC_CODE")
|
||||
@ApiParam(value ="库位代码")
|
||||
private String locCode;
|
||||
|
||||
public Long getCustId() {
|
||||
if(custId != null) {
|
||||
return custId.longValue();
|
||||
}else{
|
||||
return custId;
|
||||
}
|
||||
}
|
||||
|
||||
public Long getSuppId() {
|
||||
if(suppId != null) {
|
||||
return suppId.longValue();
|
||||
}else{
|
||||
return suppId;
|
||||
}
|
||||
}
|
||||
|
||||
public Long getPartId() {
|
||||
if(partId != null) {
|
||||
return partId.longValue();
|
||||
}else{
|
||||
return partId;
|
||||
}
|
||||
}
|
||||
|
||||
public Long getWhId() {
|
||||
if(whId != null) {
|
||||
return whId.longValue();
|
||||
}else{
|
||||
return whId;
|
||||
}
|
||||
}
|
||||
|
||||
public Long getLocId() {
|
||||
if(locId != null) {
|
||||
return locId.longValue();
|
||||
}else{
|
||||
return locId;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
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 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 : 2018-11-04 12:19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_TRANS_CODE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Api(value="交易代码方法表",description = "交易代码方法表")
|
||||
public class WmsTransCode extends BaseBean{
|
||||
|
||||
@Column(name="TRANS_CODE")
|
||||
@ApiParam(value ="交易代码")
|
||||
private String transCode;
|
||||
|
||||
@Column(name="CLASS_PATH")
|
||||
@ApiParam(value ="类路径")
|
||||
private String classPath;
|
||||
|
||||
@Column(name="ATTRIBUTE")
|
||||
@ApiParam(value ="属性")
|
||||
private String attribute;
|
||||
|
||||
@Column(name="METHOD_NAME")
|
||||
@ApiParam(value ="方法名")
|
||||
private String methodName;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.StockArea;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTransType;
|
||||
|
||||
/**
|
||||
* @Description : 库区表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-11-04 12:02
|
||||
* @Modify:
|
||||
**/
|
||||
public interface StockAreaRepository extends BaseRepository<StockArea, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.StockArea;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.StockLocation;
|
||||
|
||||
/**
|
||||
* @Description : 库位表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-11-04 14:33
|
||||
* @Modify:
|
||||
**/
|
||||
public interface StockLocationRepository extends BaseRepository<StockLocation, Long> {
|
||||
}
|
@ -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.WmsButton;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(元数据按钮按钮信息)
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-02 10:22
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsButtonRepository extends BaseRepository<WmsButton,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.WmsField;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-02 11:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
public interface WmsFieldRepository extends BaseRepository<WmsField, 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.WmsObject;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-02 11:23
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
public interface WmsObjectRepository extends BaseRepository<WmsObject, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsStockQuant;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTransRcd;
|
||||
|
||||
/**
|
||||
* @Description : 库存表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-11-02 17:08
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsStockQuantRepository extends BaseRepository<WmsStockQuant, Long> {
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTrans;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTransCode;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 交易代码方法表
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2018-11-04 14:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsTransCodeRepository extends BaseRepository<WmsTransCode, Long> {
|
||||
@Query("from WmsTransCode wtc where wtc.transCode =:code and wtc.isValid = 1")
|
||||
WmsTransCode findWmsTransCodeByCode(@Param("code") String code);
|
||||
}
|
Loading…
Reference in New Issue