Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
d0cd9d03b9
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.base.annotation;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
/**
|
||||
* 字段类型属性注解
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.FIELD})
|
||||
public @interface FieldAnnotation {
|
||||
// Web前端字段数据类型
|
||||
WmsEnumUtil.FIELD_TYPE webFieldType();
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.annotation;
|
||||
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/12/25 1:45 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.FIELD})
|
||||
@Documented
|
||||
public @interface Json4Es {
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.dynamic;
|
||||
|
||||
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 : WMS字段信息表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 09:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_FIELDINFO")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="WMS字段信息表",description = "WMS字段信息表")
|
||||
public class WmsFieldInfo extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 3903166651913139064L;
|
||||
@Column(name = "FIELD_NAME")
|
||||
@ApiParam(value = "字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name = "FIELD_DESC")
|
||||
@ApiParam(value = "字段描述")
|
||||
private String fieldDesc;
|
||||
|
||||
@Column(name = "FIELD_TYPE")
|
||||
@ApiParam(value = "字段类型")
|
||||
private String fieldType;
|
||||
|
||||
@Column(name = "ENTITY_NAME")
|
||||
@ApiParam(value = "实体名称")
|
||||
private String entityName;
|
||||
|
||||
@Column(name = "ENTITY_DESC")
|
||||
@ApiParam(value = "实体描述")
|
||||
private String entityDesc;
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.dynamic;
|
||||
|
||||
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 : WMS列表元素菜单关系表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 09:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_LISTELEMENT_FUNCTION")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="WMS列表元素菜单关系表",description = "WMS列表元素菜单关系表")
|
||||
public class WmsListElementFunction extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 3903166651913139061L;
|
||||
@Column(name = "FUNCTION_ID")
|
||||
@ApiParam(value = "功能菜单ID")
|
||||
private Long functionId;
|
||||
|
||||
@Column(name = "ELEMENT_ID")
|
||||
@ApiParam(value = "元素ID")
|
||||
private Long elementId;
|
||||
|
||||
@Column(name = "USER_CODE")
|
||||
@ApiParam(value = "用户编号")
|
||||
private String userCode;
|
||||
|
||||
@Column(name = "IS_DEFAULT")
|
||||
@ApiParam(value = "是否默认配置")
|
||||
private Integer isDefault;
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.dynamic;
|
||||
|
||||
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 : WMS搜索元素表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 09:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_SEARCHELEMENT")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="WMS搜索元素表",description = "WMS搜索元素表")
|
||||
public class WmsSearchElement extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 3903166651913139062L;
|
||||
@Column(name = "FIELD_NAME")
|
||||
@ApiParam(value = "字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name = "TITLE_NAME")
|
||||
@ApiParam(value = "标题名称")
|
||||
private String titleName;
|
||||
|
||||
@Column(name = "CONDITION_EXPRE")
|
||||
@ApiParam(value = "条件表达式:>,<,>=等")
|
||||
private String conditionExpre;
|
||||
|
||||
@Column(name = "VALUE")
|
||||
@ApiParam(value = "检索值")
|
||||
private String value;
|
||||
|
||||
@Column(name = "CONDITION_CONNECTOR")
|
||||
@ApiParam(value = "条件连接符:and/or")
|
||||
private String conditionConnector;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.dynamic;
|
||||
|
||||
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 : WMS搜索元素菜单关系表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 09:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_SEARCHELEMENT_FUNCTION")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="WMS搜索元素菜单关系表",description = "WMS搜索元素菜单关系表")
|
||||
public class WmsSearchElementFunction extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 3903166651913139063L;
|
||||
@Column(name = "FUNCTION_ID")
|
||||
@ApiParam(value = "功能菜单ID")
|
||||
private Long functionId;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiParam(value = "组名称")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "SEARCH_ELEMENT_ID")
|
||||
@ApiParam(value = "搜索元素ID")
|
||||
private Long searchElementId;
|
||||
|
||||
@Column(name = "GROUP_CONNECTOR")
|
||||
@ApiParam(value = "组条件连接符")
|
||||
private String groupConnector;
|
||||
|
||||
@Column(name = "USER_CODE")
|
||||
@ApiParam(value = "用户编号")
|
||||
private String userCode;
|
||||
|
||||
@Column(name = "IS_SHARE")
|
||||
@ApiParam(value = "是否共享")
|
||||
private Integer isShare;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : WMS列表搜索model
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 14:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("WMS列表搜索model")
|
||||
public class WmsSearchElementModel extends BaseBean {
|
||||
|
||||
@ApiParam("字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@ApiParam("标题名称")
|
||||
private String titleName;
|
||||
|
||||
@ApiParam(value = "条件表达式:>,<,>=等")
|
||||
private String conditionExpre;
|
||||
|
||||
@ApiParam(value = "检索值")
|
||||
private String value;
|
||||
|
||||
@ApiParam(value = "条件连接符:and/or")
|
||||
private String conditionConnector;
|
||||
|
||||
@ApiParam(value = "功能菜单ID")
|
||||
private Long functionId;
|
||||
|
||||
@ApiParam(value = "组名称")
|
||||
private String groupName;
|
||||
|
||||
@ApiParam(value = "组条件连接符")
|
||||
private String groupConnector;
|
||||
|
||||
@ApiParam(value = "用户编号")
|
||||
private String userCode;
|
||||
|
||||
@ApiParam(value = "是否共享")
|
||||
private Integer isShare;
|
||||
}
|
@ -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.dynamic.WmsFieldInfo;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : WMS字段信息表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 11:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsFieldInfoRepository extends BaseRepository<WmsFieldInfo, 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.dynamic.WmsListElementFunction;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : WMS列表元素菜单关系表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 11:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsListElementFunctionRepository extends BaseRepository<WmsListElementFunction, 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.dynamic.WmsListElement;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : WMS列表元素表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 11:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsListElementRepository extends BaseRepository<WmsListElement, 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.dynamic.WmsSearchElementFunction;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : WMS搜索元素菜单关系表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 11:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsSearchElementFunctionRepository extends BaseRepository<WmsSearchElementFunction, 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.dynamic.WmsSearchElement;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : WMS搜索元素表
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 11:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsSearchElementRepository extends BaseRepository<WmsSearchElement, Long> {
|
||||
}
|
Loading…
Reference in New Issue