1、BaseRepositoryImpl 根据ID 查询Bug 修复

2、更新字段名,更新对象名称
yun-zuoyi
wei.peng 7 years ago
parent dec260e3ca
commit ef85c84e68

@ -245,7 +245,11 @@ public class BaseRepositoryImpl<T, ID extends Serializable> extends SimpleJpaRep
@Override @Override
public T getById(long id) { public T getById(long id) {
return entityManager.find(persistentClass,id); try{
return entityManager.find(persistentClass,id);
}catch (Exception e){
return null;
}
} }
@Override @Override

@ -1,11 +1,9 @@
package cn.estsh.i3plus.pojo.platform.bean; package cn.estsh.i3plus.pojo.platform.bean;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.util.List;
/** /**
* @Description : * @Description :
@ -19,6 +17,9 @@ public class SessionUser implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiParam("用户ID")
private Long userId;
@ApiParam("用户工号") @ApiParam("用户工号")
private String userCode; private String userCode;
@ -28,9 +29,9 @@ public class SessionUser implements Serializable {
@ApiParam("语言代码") @ApiParam("语言代码")
private String languageCode; private String languageCode;
@ApiParam("用户类型")
//CommonEnumUtil.USER_TYPE.xxx.getCode() //CommonEnumUtil.USER_TYPE.xxx.getCode()
private String userTypeId; @ApiParam("用户类型")
private String userType;
@ApiParam("用户信息") @ApiParam("用户信息")
private SysUser user; private SysUser user;
@ -38,8 +39,6 @@ public class SessionUser implements Serializable {
@ApiParam("用户对象信息") @ApiParam("用户对象信息")
private SysUserInfo userInfo; private SysUserInfo userInfo;
public SessionUser() { public SessionUser() {
} }
@ -53,7 +52,7 @@ public class SessionUser implements Serializable {
this.userCode = userCode; this.userCode = userCode;
this.userName = userName; this.userName = userName;
this.languageCode = languageCode; this.languageCode = languageCode;
this.userTypeId = userTypeId; this.userType = userTypeId;
} }
} }

@ -11,7 +11,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -29,14 +28,13 @@ import java.text.DecimalFormat;
@Api(value="系统配置",description = "系统配置") @Api(value="系统配置",description = "系统配置")
public class SysConfig extends BaseBean { public class SysConfig extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称") @ApiParam(value ="名称")
private String name; private String name;
@Column(name="CONFIG_TYPE_ID") @Column(name="CONFIG_TYPE")
@ApiParam(value ="配置类型ID枚举1.系统配置..." , example ="-1") @ApiParam(value ="配置类型ID枚举1.系统配置..." , example ="-1")
private Integer configTypeId; private Integer configType;
@Column(name="CONFIG_CODE") @Column(name="CONFIG_CODE")
@ApiParam(value ="配置代码") @ApiParam(value ="配置代码")

@ -27,9 +27,9 @@ import java.util.List;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="DEPARTMENT") @Table(name="SYS_DEPARTMENT")
@Api(value="部门",description = "部门") @Api(value="部门",description = "部门")
public class Department extends BaseBean { public class SysDepartment extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称") @ApiParam(value ="名称")
@ -39,27 +39,19 @@ public class Department extends BaseBean {
@ApiParam(value ="部门代码") @ApiParam(value ="部门代码")
private String departmentCode; private String departmentCode;
@Column(name="RED_PARENT_NAME") @Column(name="PARENT_NAME_RDD")
@ApiParam(value ="父节点名称") @ApiParam(value ="父节点名称")
private String redParentName; private String parentNameRdd;
// 根节点-1
@Column(name="PARENT_ID") @Column(name="PARENT_ID")
@ApiParam(value ="父节点ID" , example = "-1") @ApiParam(value ="父节点ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
// 根节点-1
private Long parentId; private Long parentId;
public Long getParentId() { @Column(name="ORGANIZATION_NAME_RDD")
if(parentId != null) {
return parentId.longValue();
}else{
return parentId;
}
}
@Column(name="RED_ORGANIZATION_NAME")
@ApiParam(value ="所属组织名称" , access ="所属组织名称") @ApiParam(value ="所属组织名称" , access ="所属组织名称")
private String redOrganizeName; private String organizeNameRdd;
@Column(name="ORGANIZE_ID") @Column(name="ORGANIZE_ID")
@ApiParam(value ="所属组织" , example = "0") @ApiParam(value ="所属组织" , example = "0")
@ -71,6 +63,6 @@ public class Department extends BaseBean {
private Integer departmentSort; private Integer departmentSort;
@ApiParam(value ="子集列表") @ApiParam(value ="子集列表")
private transient List<Department> childList; private transient List<SysDepartment> childList;
} }

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -39,27 +38,19 @@ public class SysDictionary extends BaseBean {
@ApiParam(value ="字典代码") @ApiParam(value ="字典代码")
private String dictionaryCode; private String dictionaryCode;
// 根节点-1
@Column(name="PARENT_ID") @Column(name="PARENT_ID")
@ApiParam(value ="父节点" , example = "-1") @ApiParam(value ="父节点" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
// 根节点-1
private Long parentId; private Long parentId;
public Long getParentId() { @Column(name="PARENT_NAME_RDD")
if(parentId != null) {
return parentId.longValue();
}else{
return parentId;
}
}
@Column(name="RED_PARENT_NAME")
@ApiParam(value ="父级节点名称") @ApiParam(value ="父级节点名称")
private String redParentName; private String parentNameRdd;
@Column(name="RED_PARENT_CODEE") @Column(name="PARENT_CODEE_RDD")
@ApiParam(value ="父级节点代码") @ApiParam(value ="父级节点代码")
private String redParentCode; private String parentCodeRdd;
@Column(name="DICTIONARY_VALUE") @Column(name="DICTIONARY_VALUE")
@ApiParam(value ="字典值") @ApiParam(value ="字典值")

@ -1,38 +0,0 @@
package cn.estsh.i3plus.pojo.platform.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 javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @Description :
* @Reference :
* @Author : alwaysfrin
* @CreateDate : 2018-10-11 11:02
* @Modify:
**/
@Entity
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name="sys_employee")
@Api(value="用户登陆表",description = "用户登陆系统账户。")
public class SysEmployee extends BaseBean {
@Column(name="language_name")
@ApiParam(value = "语言名称",example = "前台显示的名称")
private String username;
@Column(name="language_code")
@ApiParam(value = "语言代码",example = "使用浏览器语言代码参考java.util.Locale中的代码。CN/zhTW/zhHK/zhUS/en, FR/en,GB/en,JP/en,DE/en,KR/en")
private String password;
@Column(name="is_default")
@ApiParam(value = "是否默认",example = "1")
private Integer isDefault;
}

@ -11,7 +11,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -25,10 +24,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="ENTERPRISE") @Table(name="SYS_ENTERPRISE")
@Api(value="企业信息",description = "企业信息") @Api(value="企业信息",description = "企业信息")
public class Enterprise extends BaseBean { public class SysEnterprise extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称" , access ="名称") @ApiParam(value ="名称" , access ="名称")

@ -27,10 +27,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="ENTERPRISE_CONFIG") @Table(name="SYS_ENTERPRISE_CONFIG")
@Api(value="企业配置信息",description = "企业配置信息") @Api(value="企业配置信息",description = "企业配置信息")
public class EnterpriseConfig extends BaseBean { public class SysEnterpriseConfig extends BaseBean {
@Column(name="ENTERPRISE_ID") @Column(name="ENTERPRISE_ID")
@ApiParam(value ="企业id" , example = "0") @ApiParam(value ="企业id" , example = "0")
@ -41,9 +40,9 @@ public class EnterpriseConfig extends BaseBean {
@ApiParam(value ="配置名称" , access ="配置名称") @ApiParam(value ="配置名称" , access ="配置名称")
private String enterpriseConfigName; private String enterpriseConfigName;
@Column(name="CONFIG_TYPE_ID") @Column(name="CONFIG_TYPE")
@ApiParam(value ="配置类型" , example ="0" , access ="配置类型") @ApiParam(value ="配置类型" , example ="0" , access ="配置类型")
private Integer configTypeId; private Integer configType;
@Column(name="CONFIG_PARENT_ID") @Column(name="CONFIG_PARENT_ID")
@ApiParam(value ="配置父节点" , access ="配置父节点") @ApiParam(value ="配置父节点" , access ="配置父节点")

@ -28,10 +28,10 @@ import javax.persistence.Table;
@Api(value="系统异常表",description = "记录系统出现的异常") @Api(value="系统异常表",description = "记录系统出现的异常")
public class SysException extends BaseBean { public class SysException extends BaseBean {
//CommonEnumUtil.SOFT_TYPE
@Column(name="EXC_MODULE_ID") @Column(name="EXC_MODULE_ID")
@ApiParam(value ="系统模块(枚举)", example = "1") @ApiParam(value ="系统模块(枚举)", example = "1")
//CommonEnumUtil.SOFT_TYPE private Integer excModule;
private Integer excModuleId;
@Column(name="EXC_CLASS_NAME") @Column(name="EXC_CLASS_NAME")
@ApiParam(value ="异常类名") @ApiParam(value ="异常类名")

@ -23,9 +23,9 @@ import javax.persistence.Table;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="factory_store") @Table(name="SYS_FACTORY_STORE")
@Api("工厂仓库") @Api("工厂仓库")
public class FactoryStore extends BaseBean { public class SysFactoryStore extends BaseBean {
@Column(name="store_code") @Column(name="store_code")
@ApiParam("仓库代码") @ApiParam("仓库代码")

@ -40,14 +40,6 @@ public class SysFile extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userId; private Long userId;
public Long getUserId() {
if(userId != null) {
return userId.longValue();
}else{
return userId;
}
}
@Column(name="DFS_GROUP_NAME") @Column(name="DFS_GROUP_NAME")
@ApiParam(value ="FastDfs Group 名称(后台使用)") @ApiParam(value ="FastDfs Group 名称(后台使用)")
private String dfsGroupName; private String dfsGroupName;
@ -68,6 +60,10 @@ public class SysFile extends BaseBean {
@ApiParam(value ="文件类型ID") @ApiParam(value ="文件类型ID")
private Long fileTypeId; private Long fileTypeId;
@Column(name="FILE_TYPE_NAME_RDD")
@ApiParam(value ="文件类型ID")
private Long fileTypeNameRdd;
@Column(name="FILE_TYPE_NAME") @Column(name="FILE_TYPE_NAME")
@ApiParam(value ="文件类型名称") @ApiParam(value ="文件类型名称")
private String fileTypeName; private String fileTypeName;

@ -32,6 +32,7 @@ public class SysLocaleResource extends BaseBean {
private Integer resourceType; private Integer resourceType;
private transient String resourceTypeTxt; private transient String resourceTypeTxt;
public String getResourceTypeTxt(){ public String getResourceTypeTxt(){
if(this.resourceType != null){ if(this.resourceType != null){
return CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE.valueOf(this.resourceType); return CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE.valueOf(this.resourceType);
@ -56,8 +57,8 @@ public class SysLocaleResource extends BaseBean {
@ApiParam(value = "资源Value",example = "通过resourceTypelanguageId和key获取") @ApiParam(value = "资源Value",example = "通过resourceTypelanguageId和key获取")
private String resourceValue; private String resourceValue;
//系统自带需要有初始化表只能修改value无法删除。
@Column(name="is_system") @Column(name="is_system")
@ApiParam(value = "是否系统参数",example = "2") @ApiParam(value = "是否系统参数",example = "2")
//系统自带需要有初始化表只能修改value无法删除。
private Integer isSystem; private Integer isSystem;
} }

@ -11,7 +11,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -25,19 +24,19 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="LOG_OPERATE") @Table(name="SYS_LOG_OPERATE")
@Api(value="操作日志表",description = "操作日志表") @Api(value="操作日志表",description = "操作日志表")
public class LogOperate extends BaseBean { public class SysLogOperate extends BaseBean {
@Column(name="OPERATE_MODULE_ID")
@ApiParam(value ="系统模块(枚举)", example = "1")
//CommonEnumUtil.SOFT_TYPE //CommonEnumUtil.SOFT_TYPE
private Integer operateModuleId; @Column(name="OPERATE_MODULE")
@ApiParam(value ="系统模块(枚举)", example = "1")
private Integer operateModule;
@Column(name="OPERATE_TYPE_ID")
//ImppEnumUtil.OPERATE_TYPE枚举 //ImppEnumUtil.OPERATE_TYPE枚举
@Column(name="OPERATE_TYPE")
@ApiParam(value ="操作类型" , example = "-1") @ApiParam(value ="操作类型" , example = "-1")
private Integer operateTypeId; private Integer operateType;
@Column(name="OPERATE_MESSAGE") @Column(name="OPERATE_MESSAGE")
@ApiParam(value ="操作信息" , access ="操作信息") @ApiParam(value ="操作信息" , access ="操作信息")

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -27,9 +26,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="LOG_SYSTEM") @Table(name="SYS_LOG_SYSTEM")
@Api(value="系统日志表",description = "系统日志表") @Api(value="系统日志表",description = "系统日志表")
public class LogSystem extends BaseBean { public class SysLogSystem extends BaseBean {
@Column(name="LOG_LEVEL") @Column(name="LOG_LEVEL")
@ApiParam(value ="日志级别" , example ="1") @ApiParam(value ="日志级别" , example ="1")
@ -79,7 +78,6 @@ public class LogSystem extends BaseBean {
@Column(name="SERVER_HOST") @Column(name="SERVER_HOST")
@ApiParam(value ="服务器") @ApiParam(value ="服务器")
//hostName + ip
private String serverHost; private String serverHost;
@Column(name="EXECUTE_TIME") @Column(name="EXECUTE_TIME")

@ -11,7 +11,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -25,9 +24,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="LOG_USER_LOGIN") @Table(name="SYS_LOG_USER_LOGIN")
@Api(value="用户登录记录",description = "用户登录记录") @Api(value="用户登录记录",description = "用户登录记录")
public class LogUserLogin extends BaseBean { public class SysLogUserLogin extends BaseBean {
@Column(name="USER_ID") @Column(name="USER_ID")
@ApiParam(value ="用户ID" , access ="用户ID") @ApiParam(value ="用户ID" , access ="用户ID")
@ -41,13 +40,9 @@ public class LogUserLogin extends BaseBean {
@ApiParam(value ="登录状态枚举1.成功2.失败3锁定" , example ="1") @ApiParam(value ="登录状态枚举1.成功2.失败3锁定" , example ="1")
private Integer logLoginStatus; private Integer logLoginStatus;
@Column(name="LOG_LOGIN_PLATFORM_ID") @Column(name="LOG_LOGIN_PLATFORM")
@ApiParam(value ="登录平台ID枚举" , example ="1") @ApiParam(value ="登录平台ID枚举" , example ="1")
private Integer logLoginPlatformId; private Integer logLoginPlatform;
@Column(name="LOG_LOGIN_PLATFORM_NAME")
@ApiParam(value ="登录平台名称(枚举)")
private String redLogLoginPlatformName;
@Column(name="LOG_LOGIN_HOST") @Column(name="LOG_LOGIN_HOST")
@ApiParam(value ="登录IP" , access ="登录IP") @ApiParam(value ="登录IP" , access ="登录IP")

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
import java.util.List; import java.util.List;
/** /**
@ -40,24 +39,16 @@ public class SysMenu extends BaseBean {
@ApiParam(value ="功能代码") @ApiParam(value ="功能代码")
private String menuCode; private String menuCode;
@Column(name="MENU_TYPE_ID") @Column(name="MENU_TYPE")
@ApiParam(value ="功能类型枚举1.模块2.菜单3.按钮)" , example ="-1") @ApiParam(value ="功能类型枚举1.模块2.菜单3.按钮)" , example ="-1")
private Integer menuTypeId; private Integer menuType;
// 根节点-1
@Column(name="PARENT_ID") @Column(name="PARENT_ID")
@ApiParam(value ="父级功能ID" , example = "-1") @ApiParam(value ="父级功能ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
// 根节点-1
private Long parentId; private Long parentId;
public Long getParentId() {
if(parentId != null) {
return parentId.longValue();
}else{
return parentId;
}
}
@Column(name="PARENT_NAME_RDD") @Column(name="PARENT_NAME_RDD")
@ApiParam(value ="父级功能名称" , access ="父级功能名称") @ApiParam(value ="父级功能名称" , access ="父级功能名称")
private String parentNameRdd; private String parentNameRdd;

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -52,14 +51,6 @@ public class SysMessage extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long messageSenderId; private Long messageSenderId;
public Long getMessageSenderId() {
if(messageSenderId != null) {
return messageSenderId.longValue();
}else{
return messageSenderId;
}
}
@Column(name="MESSAGE_SENDER_NAME_RDD") @Column(name="MESSAGE_SENDER_NAME_RDD")
@ApiParam(value ="发送者名称" ) @ApiParam(value ="发送者名称" )
private String messageSenderNameRdd; private String messageSenderNameRdd;

@ -1,55 +0,0 @@
package cn.estsh.i3plus.pojo.platform.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 javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @Description :
* @Reference :
* @Author : alwaysfrin
* @CreateDate : 2018-10-11 11:02
* @Modify:
**/
@Entity
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name="SYS_METHOD")
@Api(value="功能权限表",description = "功能权限包含模块、功能及按钮等权限。")
public class SysMethod extends BaseBean {
@Column(name="method_code")
@ApiParam(value = "功能编码",example = "0")
private Integer methodCode;
@Column(name="method_name")
@ApiParam(value = "语言名称",example = "前台显示的名称")
private String methodName;
@Column(name="method_level")
@ApiParam(value = "语言名称",example = "前台显示的名称")
//CommonEnumUtil.METHOD_LEVEL分为模块、功能和按钮
private Integer methodLevel;
@Column(name="method_uri")
@ApiParam(value = "方法路径",example = "前台显示的名称")
private String methodUri;
@Column(name="parent_method_id")
@ApiParam(value = "上级方法主键")
private Long parentMethodId;
public Long getParentMethodId() {
if(parentMethodId != null) {
return parentMethodId.longValue();
}else{
return parentMethodId;
}
}
}

@ -1,50 +0,0 @@
package cn.estsh.i3plus.pojo.platform.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 javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @Description :
* @Reference :
* @Author : alwaysfrin
* @CreateDate : 2018-10-11 11:02
* @Modify:
**/
@Entity
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name="SYS_METHOD_ROLE")
@Api(value="角色权限表",description = "关联角色和权限。")
public class SysMethodRole extends BaseBean {
@Column(name="ROLE_ID")
@ApiParam(value = "角色主键")
private Long roleId;
public Long getRoleId() {
if(roleId != null) {
return roleId.longValue();
}else{
return roleId;
}
}
@Column(name="method_id")
@ApiParam(value = "功能权限主键")
private Long methodId;
public Long getMethodId() {
if(methodId != null) {
return methodId.longValue();
}else{
return methodId;
}
}
}

@ -28,10 +28,9 @@ import java.util.List;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="ORGANIZE") @Table(name="SYS_ORGANIZE")
@Api(value="组织",description = "组织") @Api(value="组织",description = "组织")
public class Organize extends BaseBean { public class SysOrganize extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称") @ApiParam(value ="名称")
@ -41,9 +40,9 @@ public class Organize extends BaseBean {
@ApiParam(value ="组织代码") @ApiParam(value ="组织代码")
private String organizeCode; private String organizeCode;
@Column(name="ORGANIZE_TYPE_ID") @Column(name="ORGANIZE_TYPE")
@ApiParam(value ="组织类型ID枚举1.集团2.公司3.工厂)" , example ="1") @ApiParam(value ="组织类型ID枚举1.集团2.公司3.工厂)" , example ="1")
private Integer organizeTypeId; private Integer organizeType;
// 默认值 -1 // 默认值 -1
@Column(name="PARENT_ID") @Column(name="PARENT_ID")
@ -51,16 +50,9 @@ public class Organize extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long parentId; private Long parentId;
public Long getParentId() { @Column(name="PARENT_NAME_RDD")
if(parentId != null) {
return parentId.longValue();
}else{
return parentId;
}
}
@Column(name="RED_PARENT_NAME")
@ApiParam(value ="父节点") @ApiParam(value ="父节点")
private String redParentName; private String parentNameRdd;
@Column(name="ORGANIZE_DESCRIPTION") @Column(name="ORGANIZE_DESCRIPTION")
@ApiParam(value ="组织描述") @ApiParam(value ="组织描述")
@ -70,10 +62,10 @@ public class Organize extends BaseBean {
@ApiParam(value ="排序" , example ="1") @ApiParam(value ="排序" , example ="1")
private Integer organizeSort; private Integer organizeSort;
@Column(name="ORGANIZE_STATUS_ID") @Column(name="ORGANIZE_STATUS")
@ApiParam(value ="组织状态枚举1.正常2.禁用)" , example ="1") @ApiParam(value ="组织状态枚举1.正常2.禁用)" , example ="1")
private Integer organizeStatusId; private Integer organizeStatus;
@ApiParam(value ="子集列表") @ApiParam(value ="子集列表")
private transient List<Organize> childList; private transient List<SysOrganize> childList;
} }

@ -27,10 +27,9 @@ import java.util.List;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="POSITION") @Table(name="SYS_POSITION")
@Api(value="岗位",description = "岗位") @Api(value="岗位",description = "岗位")
public class Position extends BaseBean { public class SysPosition extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称" , access ="名称") @ApiParam(value ="名称" , access ="名称")
@ -46,23 +45,15 @@ public class Position extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long parentId; private Long parentId;
public Long getParentId() { @Column(name="PARENT_NAME_RDD")
if(parentId != null) {
return parentId.longValue();
}else{
return parentId;
}
}
@Column(name="RED_PARENT_NAME")
@ApiParam(value ="上级岗位名称" , access ="上级岗位名称") @ApiParam(value ="上级岗位名称" , access ="上级岗位名称")
private String redParentName; private String parentNameRdd;
@Column(name="POSITION_DESCRIPTION") @Column(name="POSITION_DESCRIPTION")
@ApiParam(value ="描述" , access ="描述") @ApiParam(value ="描述" , access ="描述")
private String positionDescription; private String positionDescription;
@ApiParam(value ="子部门列表") @ApiParam(value ="子部门列表")
private transient List<Position> childList; private transient List<SysPosition> childList;
} }

@ -26,23 +26,15 @@ import javax.persistence.Table;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="REF_EXPRESSION_TRIGGER") @Table(name="SYS_REF_EXPRESSION_TRIGGER")
@Api(value="关系-表达式与触发器",description = "关系-表达式与触发器") @Api(value="关系-表达式与触发器",description = "关系-表达式与触发器")
public class RefExpressionTrigger extends BaseBean { public class SysRefExpressionTrigger extends BaseBean {
@Column(name="EXPRESSION_ID") @Column(name="EXPRESSION_ID")
@ApiParam(value ="表达式_ID" ,example = "-1") @ApiParam(value ="表达式_ID" ,example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long expressionId; private Long expressionId;
public Long getExpressionId() {
if(expressionId != null) {
return expressionId.longValue();
}else{
return expressionId;
}
}
@Column(name="TRIGGER_NAME") @Column(name="TRIGGER_NAME")
@ApiParam(value ="触发器名称") @ApiParam(value ="触发器名称")
private String triggerName; private String triggerName;

@ -27,52 +27,39 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="REF_ROLE_MENU") @Table(name="SYS_REF_ROLE_MENU")
@Api(value="关系-角色菜单",description = "关系-角色菜单") @Api(value="关系-角色菜单",description = "关系-角色菜单")
public class RefRoleMenu extends BaseBean { public class SysRefRoleMenu extends BaseBean {
@Column(name="MENU_ID") @Column(name="MENU_ID")
@ApiParam(value ="菜单ID" ,example = "-1") @ApiParam(value ="菜单ID" ,example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long menuId; private Long menuId;
public Long getMenuId() { @Column(name="MENU_NAME_RDD")
if(menuId != null) {
return menuId.longValue();
}else{
return menuId;
}
}
@Column(name="RED_MENU_NAME")
@ApiParam(value ="菜单名称" , access ="菜单名称") @ApiParam(value ="菜单名称" , access ="菜单名称")
private String redMenuName; private String menuNameRdd;
@Column(name="MENU_TYPE_RDD")
@ApiParam(value ="菜单类型")
private Integer menuTypeRdd;
@Column(name="ROLE_ID") @Column(name="ROLE_ID")
@ApiParam(value ="角色ID" , example = "-1") @ApiParam(value ="角色ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long roleId; private Long roleId;
public Long getRoleId() { @Column(name="ROLE_NAME_Rdd")
if(roleId != null) {
return roleId.longValue();
}else{
return roleId;
}
}
@Column(name="RED_ROLE_NAME")
@ApiParam(value ="角色名称" , access ="角色名称") @ApiParam(value ="角色名称" , access ="角色名称")
private String redRoleName; private String roleNameRdd;
public RefRoleMenu() { public SysRefRoleMenu() {
} }
public RefRoleMenu(Long menuId, String redMenuName, Long roleId, String redRoleName) { public SysRefRoleMenu(Long menuId, String menuNameRdd, Long roleId, String roleNameRdd) {
this.menuId = menuId; this.menuId = menuId;
this.redMenuName = redMenuName; this.menuNameRdd = menuNameRdd;
this.roleId = roleId; this.roleId = roleId;
this.redRoleName = redRoleName; this.roleNameRdd = roleNameRdd;
} }
} }

@ -27,24 +27,15 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="REF_USER_DEPARTMENT") @Table(name="SYS_REF_USER_DEPARTMENT")
@Api(value="关系-用户部门",description = "关系-用户部门") @Api(value="关系-用户部门",description = "关系-用户部门")
public class RefUserDepartment extends BaseBean { public class SysRefUserDepartment extends BaseBean {
@Column(name="USER_ID") @Column(name="USER_ID")
@ApiParam(value ="用户ID" , example = "-1") @ApiParam(value ="用户ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userId; private Long userId;
public Long getUserId() {
if(userId != null) {
return userId.longValue();
}else{
return userId;
}
}
@Column(name="USER_NAME") @Column(name="USER_NAME")
@ApiParam(value ="用户名称") @ApiParam(value ="用户名称")
private String userNameRdd; private String userNameRdd;
@ -54,22 +45,15 @@ public class RefUserDepartment extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long departmentId; private Long departmentId;
public Long getDepartmentId() {
if(departmentId != null) {
return userId.longValue();
}else{
return departmentId;
}
}
@Column(name="DEPARTMENT_NAME_RDD") @Column(name="DEPARTMENT_NAME_RDD")
@ApiParam(value ="部门名称") @ApiParam(value ="部门名称")
private String departmentNameRdd; private String departmentNameRdd;
public RefUserDepartment() { public SysRefUserDepartment() {
} }
public RefUserDepartment(Long userId, String userName,Long departmentId, String departmentNameRdd) { public SysRefUserDepartment(Long userId, String userName,Long departmentId, String departmentNameRdd) {
this.userId = userId; this.userId = userId;
this.userNameRdd = userName; this.userNameRdd = userName;
this.departmentId = departmentId; this.departmentId = departmentId;

@ -4,7 +4,6 @@ import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
@ -27,23 +26,15 @@ import javax.persistence.Table;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="REF_USER_MESSAGE") @Table(name="SYS_REF_USER_MESSAGE")
@Api(value="关系-表达式与触发器",description = "关系-表达式与触发器") @Api(value="关系-表达式与触发器",description = "关系-表达式与触发器")
public class RefUserMessage extends BaseBean { public class SysRefUserMessage extends BaseBean {
@Column(name="MESSAGE_ID") @Column(name="MESSAGE_ID")
@ApiParam(value ="消息id" ,example = "-1") @ApiParam(value ="消息id" ,example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long messageId; private Long messageId;
public Long getMessageId(){
if(messageId != null) {
return messageId.longValue();
}else{
return messageId;
}
}
@Column(name="MESSAGE_TITLE_RDD") @Column(name="MESSAGE_TITLE_RDD")
@ApiParam(value ="冗余消息标题") @ApiParam(value ="冗余消息标题")
private String messageTitleRdd; private String messageTitleRdd;
@ -57,14 +48,6 @@ public class RefUserMessage extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long receiverId; private Long receiverId;
public Long getReceiverId(){
if(receiverId != null) {
return receiverId.longValue();
}else{
return receiverId;
}
}
@Column(name="RECEIVER_NAME_RDD") @Column(name="RECEIVER_NAME_RDD")
@ApiParam(value ="接收者名称" ,example = "-1") @ApiParam(value ="接收者名称" ,example = "-1")
private String receiverNameRdd; private String receiverNameRdd;

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : - * @Description : -
@ -27,23 +26,15 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="REF_USER_POSITION") @Table(name="SYS_REF_USER_POSITION")
@Api(value="关系-用户岗位",description = "关系-用户岗位") @Api(value="关系-用户岗位",description = "关系-用户岗位")
public class RefUserPosition extends BaseBean { public class SysRefUserPosition extends BaseBean {
@Column(name="USER_ID") @Column(name="USER_ID")
@ApiParam(value ="用户ID" , example = "-1") @ApiParam(value ="用户ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userId; private Long userId;
public Long getUserId() {
if(userId != null) {
return userId.longValue();
}else{
return userId;
}
}
@Column(name="USER_NAME_RDD") @Column(name="USER_NAME_RDD")
@ApiParam(value ="用户名称") @ApiParam(value ="用户名称")
private String userNameRdd; private String userNameRdd;
@ -53,22 +44,14 @@ public class RefUserPosition extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long positionId; private Long positionId;
public Long getPositionId() {
if(positionId != null) {
return positionId.longValue();
}else{
return positionId;
}
}
@Column(name="POSITION_NAME_RDD") @Column(name="POSITION_NAME_RDD")
@ApiParam(value ="岗位名称") @ApiParam(value ="岗位名称")
private String positionNameRdd; private String positionNameRdd;
public RefUserPosition() { public SysRefUserPosition() {
} }
public RefUserPosition(Long userId,String userNameRdd, Long positionId, String positionNameRdd) { public SysRefUserPosition(Long userId,String userNameRdd, Long positionId, String positionNameRdd) {
this.userId = userId; this.userId = userId;
this.userNameRdd = userNameRdd; this.userNameRdd = userNameRdd;
this.positionId = positionId; this.positionId = positionId;

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : - * @Description : -
@ -27,26 +26,17 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="REF_USER_ROLE") @Table(name="SYS_REF_USER_ROLE")
@Api(value="关系-用户角色",description = "关系-用户角色") @Api(value="关系-用户角色",description = "关系-用户角色")
public class RefUserRole extends BaseBean { public class SysRefUserRole extends BaseBean {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Column(name="USER_ID") @Column(name="USER_ID")
@ApiParam(value ="用户ID" , example = "-1") @ApiParam(value ="用户ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userId; private Long userId;
public Long getUserId() {
if(userId != null) {
return userId.longValue();
}else{
return userId;
}
}
@Column(name="USER_NAME_RDD") @Column(name="USER_NAME_RDD")
@ApiParam(value ="角色名称") @ApiParam(value ="角色名称")
private String userNameRdd; private String userNameRdd;
@ -56,22 +46,14 @@ public class RefUserRole extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long roleId; private Long roleId;
public Long getRoleId() {
if(roleId != null) {
return roleId.longValue();
}else{
return roleId;
}
}
@Column(name="ROLE_NAME_RDD") @Column(name="ROLE_NAME_RDD")
@ApiParam(value ="角色名称") @ApiParam(value ="角色名称")
private String roleNameRdd; private String roleNameRdd;
public RefUserRole() { public SysRefUserRole() {
} }
public RefUserRole(Long userId, Long roleId, String roleNameRdd) { public SysRefUserRole(Long userId, Long roleId, String roleNameRdd) {
this.userId = userId; this.userId = userId;
this.roleId = roleId; this.roleId = roleId;
this.roleNameRdd = roleNameRdd; this.roleNameRdd = roleNameRdd;

@ -5,12 +5,10 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import javafx.scene.text.TextBoundsType;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.Type;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -49,14 +47,6 @@ public class SysRole extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long parentId; private Long parentId;
public Long getParentId() {
if(parentId != null) {
return parentId.longValue();
}else{
return parentId;
}
}
@Column(name="PARENT_NAME_RDD") @Column(name="PARENT_NAME_RDD")
@ApiParam(value ="角色父节点名称" , access ="角色父节点名称") @ApiParam(value ="角色父节点名称" , access ="角色父节点名称")
private String parentNameRdd; private String parentNameRdd;

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -27,9 +26,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="TASK_TIME") @Table(name="SYS_TASK_TIME")
@Api(value="定时任务",description = "定时任务") @Api(value="定时任务",description = "定时任务")
public class TaskTime extends BaseBean { public class SysTaskTime extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称") @ApiParam(value ="名称")
@ -44,15 +43,7 @@ public class TaskTime extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long timeExpressionId; private Long timeExpressionId;
public Long getTimeExpressionId() { @Column(name="TIME_NAME_Rdd")
if(timeExpressionId != null) {
return timeExpressionId.longValue();
}else{
return timeExpressionId;
}
}
@Column(name="RED_TIME_NAME")
@ApiParam(value ="时间表达式名称") @ApiParam(value ="时间表达式名称")
private String timeExpressionNameRdd; private String timeExpressionNameRdd;
@ -68,13 +59,13 @@ public class TaskTime extends BaseBean {
@ApiParam(value ="执行次数" , example ="0") @ApiParam(value ="执行次数" , example ="0")
private Integer taskNumRun; private Integer taskNumRun;
@Column(name="TASK_TYPE_ID") @Column(name="TASK_TYPE")
@ApiParam(value ="任务类型枚举1.定时任务)" , example ="-1") @ApiParam(value ="任务类型枚举1.定时任务)" , example ="-1")
private Integer taskTypeId; private Integer taskType;
@Column(name="TASK_METHOD_TYPE_ID") @Column(name="TASK_METHOD_TYPE")
@ApiParam(value ="任务执行类型" ,example = "-1") @ApiParam(value ="任务执行类型" ,example = "-1")
private Integer taskMethodTypeId; private Integer taskMethodType;
@Column(name="TASK_PACKAGE") @Column(name="TASK_PACKAGE")
@ApiParam(value ="任务包名") @ApiParam(value ="任务包名")

@ -12,7 +12,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -26,9 +25,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="TASK_TIME_EXPRESSION") @Table(name="SYS_TASK_TIME_EXPRESSION")
@Api(value="任务表达式",description = "任务表达式") @Api(value="任务表达式",description = "任务表达式")
public class TaskTimeExpression extends BaseBean { public class SysTaskTimeExpression extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称") @ApiParam(value ="名称")

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -27,44 +26,27 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="TASK_TIME_RECORDING") @Table(name="SYS_TASK_TIME_RECORDING")
@Api(value="定时任务执行记录",description = "定时任务执行记录") @Api(value="定时任务执行记录",description = "定时任务执行记录")
public class TaskTimeRecording extends BaseBean { public class SysTaskTimeRecording extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="任务名称") @ApiParam(value ="任务名称")
private String name; private String name;
@Column(name="TIMED_TASK_ID") @Column(name="TIME_TASK_ID")
@ApiParam(value ="任务编号" , example = "-1") @ApiParam(value ="任务编号" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long timedTaskId; private Long timeTaskId;
public Long getTimedTaskId() {
if(timedTaskId != null) {
return timedTaskId.longValue();
}else{
return timedTaskId;
}
}
@Column(name="RED_TIME_ID") @Column(name="TIME_ID")
@ApiParam(value ="时间表达式ID" , example = "-1") @ApiParam(value ="时间表达式ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long redTimeId; private Long timeId;
public Long getRedTimeId() {
if(redTimeId != null) {
return redTimeId.longValue();
}else{
return redTimeId;
}
}
@Column(name="RED_TIME_EXPRESSION") @Column(name="TIME_EXPRESSION_RDD")
@ApiParam(value ="时间表达式") @ApiParam(value ="时间表达式")
private String redTimeExpression; private String timeExpressionRdd;
@Column(name="TASK_START_DATE_TIME") @Column(name="TASK_START_DATE_TIME")
@ApiParam(value ="任务开始时间") @ApiParam(value ="任务开始时间")

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
/** /**
* @Description : * @Description :
@ -27,10 +26,9 @@ import java.text.DecimalFormat;
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name="TOOL") @Table(name="SYS_TOOL")
@Api(value="硬件设备表",description = "硬件设备表") @Api(value="硬件设备表",description = "硬件设备表")
public class Tool extends BaseBean { public class SysTool extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称" , access ="名称") @ApiParam(value ="名称" , access ="名称")
@ -41,21 +39,13 @@ public class Tool extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long toolTypeId; private Long toolTypeId;
public Long getToolTypeId() { @Column(name="TOOL_TYPE_NAME_RDD")
if(toolTypeId != null) {
return toolTypeId.longValue();
}else{
return toolTypeId;
}
}
@Column(name="RED_TOOL_TYPE_NAME")
@ApiParam(value ="类型名称" , access ="类型名称") @ApiParam(value ="类型名称" , access ="类型名称")
private String redToolTypeName; private String toolTypeNameRdd;
@Column(name="TOOL_STATUS_ID") @Column(name="TOOL_STATUS")
@ApiParam(value ="设备状态枚举枚举1.正常2.禁用)" , example ="-1") @ApiParam(value ="设备状态枚举枚举1.正常2.禁用)" , example ="-1")
private Integer toolStatusId; private Integer toolStatus;
@Column(name="TOOL_IP") @Column(name="TOOL_IP")
@ApiParam(value ="IP地址" , access ="IP地址") @ApiParam(value ="IP地址" , access ="IP地址")
@ -65,13 +55,13 @@ public class Tool extends BaseBean {
@ApiParam(value ="端口" , example ="80" , access ="端口") @ApiParam(value ="端口" , example ="80" , access ="端口")
private Integer toolPort; private Integer toolPort;
@Column(name="TOOL_CONN_TYPE_ID") @Column(name="TOOL_CONN_TYPE")
@ApiParam(value ="连接方式枚举1.网口2.串口3.USB......" , example ="-1") @ApiParam(value ="连接方式枚举1.网口2.串口3.USB......" , example ="-1")
private Integer toolConnTypeId; private Integer toolConnType;
@Column(name="TOOL_DATA_TYPE_ID") @Column(name="TOOL_DATA_TYPE")
@ApiParam(value ="传输数据类型枚举1.字符串2.二进制数据流...." , example ="-1") @ApiParam(value ="传输数据类型枚举1.字符串2.二进制数据流...." , example ="-1")
private Integer toolDataTypeId; private Integer toolDataType;
@Column(name="TOOL_OPERATING") @Column(name="TOOL_OPERATING")
@ApiParam(value ="操作内容" , access ="操作内容") @ApiParam(value ="操作内容" , access ="操作内容")

@ -22,13 +22,12 @@ import java.text.DecimalFormat;
**/ **/
@Data @Data
@Entity @Entity
@Table(name="TOOL_TYPE") @Table(name="SYS_TOOL_TYPE")
@DynamicInsert @DynamicInsert
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Api(value="设备类型",description = "设备类型") @Api(value="设备类型",description = "设备类型")
public class ToolType extends BaseBean { public class SysToolType extends BaseBean {
@Column(name="NAME") @Column(name="NAME")
@ApiParam(value ="名称" , access ="名称") @ApiParam(value ="名称" , access ="名称")

@ -1,7 +1,6 @@
package cn.estsh.i3plus.pojo.platform.bean; package cn.estsh.i3plus.pojo.platform.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean; import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
@ -39,14 +38,6 @@ public class SysUser extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userInfoId; private Long userInfoId;
public Long getUserInfoId() {
if(userInfoId != null) {
return userInfoId.longValue();
}else{
return userInfoId;
}
}
@Column(name="USER_NAME_RDD") @Column(name="USER_NAME_RDD")
@ApiParam(value ="用户名称" , access ="用户名称") @ApiParam(value ="用户名称" , access ="用户名称")
private String userName; private String userName;
@ -64,14 +55,6 @@ public class SysUser extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long roleId; private Long roleId;
public Long getRoleId() {
if(roleId != null) {
return roleId.longValue();
}else{
return roleId;
}
}
@Column(name="ROLE_NAME_RDD") @Column(name="ROLE_NAME_RDD")
@ApiParam(value ="角色名称" , access ="角色名称") @ApiParam(value ="角色名称" , access ="角色名称")
private String roleNameRdd; private String roleNameRdd;
@ -92,26 +75,22 @@ public class SysUser extends BaseBean {
@ApiParam(value ="用户最后登录时间") @ApiParam(value ="用户最后登录时间")
private String userLoginLastDateTime; private String userLoginLastDateTime;
@Column(name="USER_LOGIN_NUM")
@ApiParam(value ="登录次数",example = "0")
private Integer userLoginNum;
@Column(name="DEPARTMENT_ID") @Column(name="DEPARTMENT_ID")
@ApiParam(value ="部门ID" , example ="-1") @ApiParam(value ="部门ID" , example ="-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long departmentId; private Long departmentId;
public Long getDepartmentId() {
if(departmentId != null) {
return departmentId.longValue();
}else{
return departmentId;
}
}
@Column(name="DEPARTMENT_NAME_RDD") @Column(name="DEPARTMENT_NAME_RDD")
@ApiParam(value ="部门名称" , access ="部门名称") @ApiParam(value ="部门名称" , access ="部门名称")
private String departmentNameRdd; private String departmentNameRdd;
@Column(name="USER_TYPE_ID") @Column(name="USER_TYPE")
@ApiParam(value ="用户类型(枚举,待定)" , example ="-1") @ApiParam(value ="用户类型(枚举,待定)" , example ="-1")
private Integer userTypeId; private Integer userType;
@ApiParam(value ="用户信息") @ApiParam(value ="用户信息")
private transient SysUserInfo userInfo; private transient SysUserInfo userInfo;

@ -14,7 +14,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import java.text.DecimalFormat;
import java.util.List; import java.util.List;
/** /**
@ -50,14 +49,6 @@ public class SysUserInfo extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userImageId; private Long userImageId;
public Long getUserImageId() {
if(userImageId != null) {
return userImageId.longValue();
}else{
return userImageId;
}
}
@Column(name="USER_SEX") @Column(name="USER_SEX")
@ApiParam(value ="性别1.男2.女)" , example ="1" , access ="性别1.男2.女)") @ApiParam(value ="性别1.男2.女)" , example ="1" , access ="性别1.男2.女)")
private Integer userSex; private Integer userSex;
@ -71,40 +62,16 @@ public class SysUserInfo extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long departmentId; private Long departmentId;
public Long getDepartmentId() {
if(departmentId != null) {
return departmentId.longValue();
}else{
return departmentId;
}
}
@Column(name="POSITION_ID") @Column(name="POSITION_ID")
@ApiParam(value ="岗位ID" , example ="-1") @ApiParam(value ="岗位ID" , example ="-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long positionId; private Long positionId;
public Long getPositionId() {
if(positionId != null) {
return positionId.longValue();
}else{
return positionId;
}
}
@Column(name="ORGANIZE_ID") @Column(name="ORGANIZE_ID")
@ApiParam(value ="组织ID" , example = "0") @ApiParam(value ="组织ID" , example = "0")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long organizeId; private Long organizeId;
public Long getOrganizeId() {
if(organizeId != null) {
return organizeId.longValue();
}else{
return organizeId;
}
}
@Column(name="DEPARTMENT_NAMES_RDD") @Column(name="DEPARTMENT_NAMES_RDD")
@ApiParam(value ="部门集合" , access ="部门集合") @ApiParam(value ="部门集合" , access ="部门集合")
private String departmentNamesRdd; private String departmentNamesRdd;
@ -141,17 +108,21 @@ public class SysUserInfo extends BaseBean {
@ApiParam(value ="用户最后登录时间") @ApiParam(value ="用户最后登录时间")
private String userLoginLastDateTime; private String userLoginLastDateTime;
@Column(name="USER_LOGIN_NUM")
@ApiParam(value ="登录次数",example = "0")
private Integer userLoginNum;
@ApiParam(value ="用户所有部门信息") @ApiParam(value ="用户所有部门信息")
private transient List<Department> departmentList; private transient List<SysDepartment> departmentList;
@ApiParam(value ="用户所有岗位信息") @ApiParam(value ="用户所有岗位信息")
private transient List<Position> positionList; private transient List<SysPosition> positionList;
@ApiParam(value ="用户组织信息") @ApiParam(value ="用户组织信息")
private transient Organize organize; private transient SysOrganize organize;
@ApiParam(value = "岗位信息",access = "用户主岗位信息") @ApiParam(value = "岗位信息",access = "用户主岗位信息")
private transient Position position; private transient SysPosition position;
@JsonIgnore @JsonIgnore
@ApiParam(value ="用户详细信息") @ApiParam(value ="用户详细信息")

@ -1,50 +0,0 @@
package cn.estsh.i3plus.pojo.platform.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 javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @Description :
* @Reference :
* @Author : alwaysfrin
* @CreateDate : 2018-10-11 11:02
* @Modify:
**/
@Entity
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name="sys_user_role")
@Api(value="用户角色表",description = "关联用户和角色。")
public class SysUserRole extends BaseBean {
@Column(name="user_id")
@ApiParam(value = "用户主键")
private Long userId;
public Long getUserId() {
if(userId != null) {
return userId.longValue();
}else{
return userId;
}
}
@Column(name="language_code")
@ApiParam(value = "角色主键")
private Long roleId;
public Long getRoleId() {
if(roleId != null) {
return roleId.longValue();
}else{
return roleId;
}
}
}

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.Department; import cn.estsh.i3plus.pojo.platform.bean.SysDepartment;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.Department;
* @Date : 2018-10-22 12:02:59.954 * @Date : 2018-10-22 12:02:59.954
* @Modify : * @Modify :
**/ **/
public interface DepartmentRepository extends BaseRepository<Department, Long> { public interface SysDepartmentRepository extends BaseRepository<SysDepartment, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.EnterpriseConfig; import cn.estsh.i3plus.pojo.platform.bean.SysEnterpriseConfig;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.EnterpriseConfig;
* @Date : 2018-10-22 12:03:00.074 * @Date : 2018-10-22 12:03:00.074
* @Modify : * @Modify :
**/ **/
public interface EnterpriseConfigRepository extends BaseRepository<EnterpriseConfig, Long> { public interface SysEnterpriseConfigRepository extends BaseRepository<SysEnterpriseConfig, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.Enterprise; import cn.estsh.i3plus.pojo.platform.bean.SysEnterprise;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.Enterprise;
* @Date : 2018-10-22 12:03:00.008 * @Date : 2018-10-22 12:03:00.008
* @Modify : * @Modify :
**/ **/
public interface EnterpriseRepository extends BaseRepository<Enterprise, Long> { public interface SysEnterpriseRepository extends BaseRepository<SysEnterprise, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.LogUserLogin; import cn.estsh.i3plus.pojo.platform.bean.SysLogUserLogin;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.LogUserLogin;
* @Date : 2018-10-22 12:03:00.207 * @Date : 2018-10-22 12:03:00.207
* @Modify : * @Modify :
**/ **/
public interface LogUserLoginRepository extends BaseRepository<LogUserLogin, Long> { public interface SysLogUserLoginRepository extends BaseRepository<SysLogUserLogin, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.Organize; import cn.estsh.i3plus.pojo.platform.bean.SysOrganize;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.Organize;
* @Date : 2018-10-22 12:03:00.286 * @Date : 2018-10-22 12:03:00.286
* @Modify : * @Modify :
**/ **/
public interface OrganizeRepository extends BaseRepository<Organize, Long> { public interface SysOrganizeRepository extends BaseRepository<SysOrganize, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.Position; import cn.estsh.i3plus.pojo.platform.bean.SysPosition;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.Position;
* @Date : 2018-10-22 12:03:00.375 * @Date : 2018-10-22 12:03:00.375
* @Modify : * @Modify :
**/ **/
public interface PositionRepository extends BaseRepository<Position, Long> { public interface SysPositionRepository extends BaseRepository<SysPosition, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.RefExpressionTrigger; import cn.estsh.i3plus.pojo.platform.bean.SysRefExpressionTrigger;
/** /**
* @Description : - * @Description : -
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.RefExpressionTrigger;
* @CreateDate : 2018-11-14 13:36 * @CreateDate : 2018-11-14 13:36
* @Modify: * @Modify:
**/ **/
public interface RefExpressionTriggerRepository extends BaseRepository<RefExpressionTrigger, Long> { public interface SysRefExpressionTriggerRepository extends BaseRepository<SysRefExpressionTrigger, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.RefRoleMenu; import cn.estsh.i3plus.pojo.platform.bean.SysRefRoleMenu;
/** /**
* @Description : - * @Description : -
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.RefRoleMenu;
* @Date : 2018-10-22 12:03:00.506 * @Date : 2018-10-22 12:03:00.506
* @Modify : * @Modify :
**/ **/
public interface RefRoleMenuRepository extends BaseRepository<RefRoleMenu, Long> { public interface SysRefRoleMenuRepository extends BaseRepository<SysRefRoleMenu, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.RefUserDepartment; import cn.estsh.i3plus.pojo.platform.bean.SysRefUserDepartment;
/** /**
* @Description : - * @Description : -
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.RefUserDepartment;
* @Date : 2018-10-22 12:03:00.596 * @Date : 2018-10-22 12:03:00.596
* @Modify : * @Modify :
**/ **/
public interface RefUserDepartmentRepository extends BaseRepository<RefUserDepartment, Long> { public interface SysRefUserDepartmentRepository extends BaseRepository<SysRefUserDepartment, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.RefUserMessage; import cn.estsh.i3plus.pojo.platform.bean.SysRefUserMessage;
/** /**
* @Description : - * @Description : -
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.RefUserMessage;
* @CreateDate : 2018-11-15 20:45 * @CreateDate : 2018-11-15 20:45
* @Modify: * @Modify:
**/ **/
public interface RefUserMessageRepository extends BaseRepository<RefUserMessage,Long> { public interface SysRefUserMessageRepository extends BaseRepository<SysRefUserMessage,Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.RefUserPosition; import cn.estsh.i3plus.pojo.platform.bean.SysRefUserPosition;
/** /**
* @Description : - * @Description : -
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.RefUserPosition;
* @Date : 2018-10-22 12:03:00.727 * @Date : 2018-10-22 12:03:00.727
* @Modify : * @Modify :
**/ **/
public interface RefUserPositionRepository extends BaseRepository<RefUserPosition, Long> { public interface SysRefUserPositionRepository extends BaseRepository<SysRefUserPosition, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.RefUserRole; import cn.estsh.i3plus.pojo.platform.bean.SysRefUserRole;
/** /**
* @Description : - * @Description : -
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.RefUserRole;
* @Date : 2018-10-22 12:03:00.825 * @Date : 2018-10-22 12:03:00.825
* @Modify : * @Modify :
**/ **/
public interface RefUserRoleRepository extends BaseRepository<RefUserRole, Long> { public interface SysRefUserRoleRepository extends BaseRepository<SysRefUserRole, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.TaskTimeExpression; import cn.estsh.i3plus.pojo.platform.bean.SysTaskTimeExpression;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.TaskTimeExpression;
* @Date : 2018-10-22 12:03:01.252 * @Date : 2018-10-22 12:03:01.252
* @Modify : * @Modify :
**/ **/
public interface TaskTimeExpressionRepository extends BaseRepository<TaskTimeExpression, Long> { public interface SysTaskTimeExpressionRepository extends BaseRepository<SysTaskTimeExpression, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.TaskTimeRecording; import cn.estsh.i3plus.pojo.platform.bean.SysTaskTimeRecording;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.TaskTimeRecording;
* @Date : 2018-10-22 12:03:01.409 * @Date : 2018-10-22 12:03:01.409
* @Modify : * @Modify :
**/ **/
public interface TaskTimeRecordingRepository extends BaseRepository<TaskTimeRecording, Long> { public interface SysTaskTimeRecordingRepository extends BaseRepository<SysTaskTimeRecording, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.TaskTime; import cn.estsh.i3plus.pojo.platform.bean.SysTaskTime;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.TaskTime;
* @Date : 2018-10-22 12:03:01.372 * @Date : 2018-10-22 12:03:01.372
* @Modify : * @Modify :
**/ **/
public interface TaskTimeRepository extends BaseRepository<TaskTime, Long> { public interface SysTaskTimeRepository extends BaseRepository<SysTaskTime, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.Tool; import cn.estsh.i3plus.pojo.platform.bean.SysTool;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.Tool;
* @Date : 2018-10-22 12:03:01.445 * @Date : 2018-10-22 12:03:01.445
* @Modify : * @Modify :
**/ **/
public interface ToolRepository extends BaseRepository<Tool, Long> { public interface SysToolRepository extends BaseRepository<SysTool, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repository; package cn.estsh.i3plus.pojo.platform.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.platform.bean.ToolType; import cn.estsh.i3plus.pojo.platform.bean.SysToolType;
/** /**
* @Description : * @Description :
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.ToolType;
* @Date : 2018-10-22 12:03:01.486 * @Date : 2018-10-22 12:03:01.486
* @Modify : * @Modify :
**/ **/
public interface ToolTypeRepository extends BaseRepository<ToolType, Long> { public interface SysToolTypeRepository extends BaseRepository<SysToolType, Long> {
} }

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repositorymongo; package cn.estsh.i3plus.pojo.platform.repositorymongo;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseMongoRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseMongoRepository;
import cn.estsh.i3plus.pojo.platform.bean.LogOperate; import cn.estsh.i3plus.pojo.platform.bean.SysLogOperate;
/** /**
* @Description : (使Mongodb) * @Description : (使Mongodb)
@ -10,5 +10,5 @@ import cn.estsh.i3plus.pojo.platform.bean.LogOperate;
* @Date : 2018-10-22 12:03:00.118 * @Date : 2018-10-22 12:03:00.118
* @Modify : * @Modify :
**/ **/
public interface LogOperateRepository extends BaseMongoRepository<LogOperate, Long> { public interface SysLogOperateRepository extends BaseMongoRepository<SysLogOperate, Long> {
} }

@ -1,9 +1,7 @@
package cn.estsh.i3plus.pojo.platform.repositorymongo; package cn.estsh.i3plus.pojo.platform.repositorymongo;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseMongoRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseMongoRepository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.platform.bean.SysLogSystem;
import cn.estsh.i3plus.pojo.platform.bean.LogSystem;
import org.springframework.data.mongodb.repository.MongoRepository;
/** /**
* @Description : * @Description :
@ -12,5 +10,5 @@ import org.springframework.data.mongodb.repository.MongoRepository;
* @Date : 2018-10-22 12:03:00.158 * @Date : 2018-10-22 12:03:00.158
* @Modify : * @Modify :
**/ **/
public interface LogSystemRepository extends BaseMongoRepository<LogSystem, Long> { public interface SysLogSystemRepository extends BaseMongoRepository<SysLogSystem, Long> {
} }

@ -1,14 +1,11 @@
package cn.estsh.i3plus.pojo.platform.sqlpack; package cn.estsh.i3plus.pojo.platform.sqlpack;
import cn.estsh.i3plus.pojo.base.tool.BsonPackTool; import cn.estsh.i3plus.pojo.base.tool.BsonPackTool;
import cn.estsh.i3plus.pojo.platform.bean.LogOperate; import cn.estsh.i3plus.pojo.platform.bean.SysLogOperate;
import cn.estsh.i3plus.pojo.platform.bean.LogSystem; import cn.estsh.i3plus.pojo.platform.bean.SysLogSystem;
import com.mongodb.BasicDBObject; import com.mongodb.BasicDBObject;
import com.mongodb.client.model.Filters;
import org.bson.conversions.Bson; import org.bson.conversions.Bson;
import java.util.regex.Pattern;
/** /**
* @Description : Bson * @Description : Bson
* @Reference : * @Reference :
@ -23,7 +20,7 @@ public class CoreBsonPack {
* @param logSystem * @param logSystem
* @return * @return
*/ */
public static Bson packBsonByLogSystem(LogSystem logSystem){ public static Bson packBsonByLogSystem(SysLogSystem logSystem){
Bson bson = new BasicDBObject(); Bson bson = new BasicDBObject();
bson = BsonPackTool.getNumEqualPack(logSystem.getLogLevel(),"logLevel",bson); bson = BsonPackTool.getNumEqualPack(logSystem.getLogLevel(),"logLevel",bson);
@ -36,11 +33,11 @@ public class CoreBsonPack {
return bson; return bson;
} }
public static Bson packBsonByLogOperate(LogOperate logOperate){ public static Bson packBsonByLogOperate(SysLogOperate logOperate){
Bson bson = new BasicDBObject(); Bson bson = new BasicDBObject();
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateTypeId(),"operateTypeId",bson); bson = BsonPackTool.getNumEqualPack(logOperate.getOperateType(),"operateType",bson);
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModuleId(),"operateModuleId",bson); bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModule(),"operateModule",bson);
bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(),"createDatetime",bson,false,false); bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(),"createDatetime",bson,false,false);
bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(),"createUser",bson); bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(),"createUser",bson);

@ -3,6 +3,7 @@ package cn.estsh.i3plus.pojo.platform.sqlpack;
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil; import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
import cn.estsh.i3plus.pojo.base.tool.HqlPack; import cn.estsh.i3plus.pojo.base.tool.HqlPack;
import cn.estsh.i3plus.pojo.platform.bean.*; import cn.estsh.i3plus.pojo.platform.bean.*;
import org.apache.commons.lang3.StringUtils;
import java.util.Arrays; import java.util.Arrays;
@ -16,64 +17,78 @@ import java.util.Arrays;
public class CoreHqlPack { public class CoreHqlPack {
/** /**
* In
* @param columnName
* @return
*/
public static String packHqlIds(String columnName,String[] params){
StringBuffer result = new StringBuffer();
// 参数数组 [1,2,3] -> "1,2,3"
HqlPack.getInPack(String.join(",",params),columnName,result);
return result.toString();
}
/**
* In
* @param columnName
* @return
*/
public static String packHqlIds(String columnName,Long[] params){
StringBuffer result = new StringBuffer();
// 参数数组 [1,2,3] -> "1,2,3"
HqlPack.getInPack(StringUtils.join(params,","),columnName,result);
return result.toString();
}
/**
* *
* @param sysLocaleResource * @param localeResource
* @return * @return
*/ */
public static String packHqlSysLocaleResource(SysLocaleResource sysLocaleResource){ public static String packHqlSysLocaleResource(SysLocaleResource localeResource){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
//查询日期 //查询日期
// HqlPack.timeBuilder(sysLocaleResource.getCreateDateTimeStart(),sysLocaleResource.getCreateDateTimeEnd(), // HqlPack.timeBuilder(sysLocaleResource.getCreateDateTimeStart(),sysLocaleResource.getCreateDateTimeEnd(),
// "createDateTime", result, false); // "createDateTime", result, false);
//数字类型封装 //数字类型封装
HqlPack.getNumEqualPack(sysLocaleResource.getResourceType(),"resourceType",result); HqlPack.getNumEqualPack(localeResource.getResourceType(),"resourceType",result);
//字符串类型封装 //字符串类型封装
HqlPack.getStringEqualPack(sysLocaleResource.getLanguageCode(),"languageCode",result); HqlPack.getStringEqualPack(localeResource.getLanguageCode(),"languageCode",result);
//字符串类型封装 //字符串类型封装
HqlPack.getStringLikerPack(sysLocaleResource.getResourceKey(),"resourceKey",result); HqlPack.getStringLikerPack(localeResource.getResourceKey(),"resourceKey",result);
return result.toString(); return result.toString();
} }
/** /**
* *
* @param lang * @param localeLanguage
* @return * @return
*/ */
public static String packHqlSysLocaleLanguage(SysLocaleLanguage lang) { public static String packHqlSysLocaleLanguage(SysLocaleLanguage localeLanguage) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
//查询日期 //查询日期
// HqlPack.timeBuilder(lang.getCreateDateTimeStart(),lang.getCreateDateTimeEnd(), // HqlPack.timeBuilder(lang.getCreateDateTimeStart(),lang.getCreateDateTimeEnd(),
// "createDateTime", result, false); // "createDateTime", result, false);
//字符串类型封装 //字符串类型封装
HqlPack.getStringLikerPack(lang.getLanguageCode(),"languageCode",result); HqlPack.getStringLikerPack(localeLanguage.getLanguageCode(),"languageCode",result);
//字符串类型封装 //字符串类型封装
HqlPack.getStringLikerPack(lang.getLanguageName(),"languageName",result); HqlPack.getStringLikerPack(localeLanguage.getLanguageName(),"languageName",result);
return result.toString(); return result.toString();
} }
/** /**
* In
* @param columnName
* @return
*/
public static String packHqlIds(String columnName,String[] params){
StringBuffer result = new StringBuffer();
// 参数数组 [1,2,3] -> "1,2,3"
HqlPack.getInPack(String.join(",",params),columnName,result);
return result.toString();
}
/**
* *
* @param position * @param position
* @return * @return
*/ */
public static String packHqlPosition(Position position){ public static String packHqlSysPosition(SysPosition position){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// 查询参数封装 // 查询参数封装
@ -89,7 +104,7 @@ public class CoreHqlPack {
* @param organize * @param organize
* @return * @return
*/ */
public static String packHqlOrganize(Organize organize){ public static String packHqlSysOrganize(SysOrganize organize){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// 查询参数封装 // 查询参数封装
@ -105,7 +120,7 @@ public class CoreHqlPack {
* @param department * @param department
* @return * @return
*/ */
public static String packHqlDepartment(Department department){ public static String packHqlSysDepartment(SysDepartment department){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// 查询参数封装 // 查询参数封装
@ -150,36 +165,36 @@ public class CoreHqlPack {
/** /**
* *
* @param sysConfig * @param config
* @return * @return
*/ */
public static String packHqlSysConfig(SysConfig sysConfig) { public static String packHqlSysConfig(SysConfig config) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
HqlPack.getStringLikerPack(sysConfig.getName(),"name",result); HqlPack.getStringLikerPack(config.getName(),"name",result);
HqlPack.getStringLikerPack(sysConfig.getConfigCode(),"configCode",result); HqlPack.getStringLikerPack(config.getConfigCode(),"configCode",result);
HqlPack.getNumEqualPack(sysConfig.getConfigTypeId(),"configTypeId",result); HqlPack.getNumEqualPack(config.getConfigType(),"configTypeId",result);
return result.toString(); return result.toString();
} }
/** /**
* *
* @param sysDictionary * @param dictionary
* @return * @return
*/ */
public static String packHqlSysDictionary(SysDictionary sysDictionary) { public static String packHqlSysDictionary(SysDictionary dictionary) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
HqlPack.getStringLikerPack(sysDictionary.getName(),"name",result); HqlPack.getStringLikerPack(dictionary.getName(),"name",result);
HqlPack.getStringLikerPack(sysDictionary.getDictionaryCode(),"dictionaryCode",result); HqlPack.getStringLikerPack(dictionary.getDictionaryCode(),"dictionaryCode",result);
// 默认查询非顶级字典 // 默认查询非顶级字典
if(sysDictionary.getParentId() == null || sysDictionary.getParentId() < 1){ if(dictionary.getParentId() == null || dictionary.getParentId() < 1){
HqlPack.getNumNOEqualPack(CommonEnumUtil.PARENT.DEFAULT.getValue(),"parentId",result); HqlPack.getNumNOEqualPack(CommonEnumUtil.PARENT.DEFAULT.getValue(),"parentId",result);
} }
HqlPack.getNumEqualPack(sysDictionary.getParentId(),"parentId",result); HqlPack.getNumEqualPack(dictionary.getParentId(),"parentId",result);
return result.toString(); return result.toString();
} }
@ -189,7 +204,7 @@ public class CoreHqlPack {
* @param toolType * @param toolType
* @return * @return
*/ */
public static String packHqlToolType(ToolType toolType) { public static String packHqlSysToolType(SysToolType toolType) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
@ -203,15 +218,15 @@ public class CoreHqlPack {
* @param tool * @param tool
* @return * @return
*/ */
public static String packHqlTool(Tool tool) { public static String packHqlSysTool(SysTool tool) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
HqlPack.getStringLikerPack(tool.getName(),"name",result); HqlPack.getStringLikerPack(tool.getName(),"name",result);
HqlPack.getNumEqualPack(tool.getToolTypeId(),"toolTypeId",result); HqlPack.getNumEqualPack(tool.getToolTypeId(),"toolTypeId",result);
HqlPack.getNumEqualPack(tool.getToolStatusId(),"toolStatusId",result); HqlPack.getNumEqualPack(tool.getToolStatus(),"toolStatus",result);
HqlPack.getNumEqualPack(tool.getToolDataTypeId(),"toolDataTypeId",result); HqlPack.getNumEqualPack(tool.getToolDataType(),"toolDataType",result);
HqlPack.getNumEqualPack(tool.getToolConnTypeId(),"toolConnTypeId",result); HqlPack.getNumEqualPack(tool.getToolConnType(),"toolConnType",result);
HqlPack.getStringLikerPack(tool.getToolIp(),"toolIp",result); HqlPack.getStringLikerPack(tool.getToolIp(),"toolIp",result);
HqlPack.getNumLikerPack(tool.getToolPort(),"toolPort",result); HqlPack.getNumLikerPack(tool.getToolPort(),"toolPort",result);
@ -220,37 +235,37 @@ public class CoreHqlPack {
/** /**
* *
* @param sysMessage * @param message
* @return * @return
*/ */
public static String packHqlSysMessage(SysMessage sysMessage){ public static String packHqlSysMessage(SysMessage message){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
HqlPack.getStringLikerPack(sysMessage.getMessageTitle(),"messageTitle",result); HqlPack.getStringLikerPack(message.getMessageTitle(),"messageTitle",result);
HqlPack.getStringLikerPack(sysMessage.getMessageContent(),"messageContent",result); HqlPack.getStringLikerPack(message.getMessageContent(),"messageContent",result);
// HqlPack.getNumLikerPack(sysMessage.getMessageStatusId(),"messageStatusId",result); // HqlPack.getNumLikerPack(sysMessage.getMessageStatusId(),"messageStatusId",result);
// HqlPack.getNumLikerPack(sysMessage.getMessageTypeId(),"messageTypeId",result); // HqlPack.getNumLikerPack(sysMessage.getMessageTypeId(),"messageTypeId",result);
// HqlPack.getNumEqualPack(sysMessage.getMessageRecipientId(),"messageRecipientId",result); // HqlPack.getNumEqualPack(sysMessage.getMessageRecipientId(),"messageRecipientId",result);
// HqlPack.getNumEqualPack(sysMessage.getMessageSendId(),"messageSendId",result); // HqlPack.getNumEqualPack(sysMessage.getMessageSendId(),"messageSendId",result);
HqlPack.timeBuilder(sysMessage.getCreateDatetime(),"createDatetime", result, false,false); HqlPack.timeBuilder(message.getCreateDatetime(),"createDatetime", result, false,false);
return result.toString(); return result.toString();
} }
/** /**
* *
* @param sysFile * @param file
* @return * @return
*/ */
public static String packHqlSysFile(SysFile sysFile) { public static String packHqlSysFile(SysFile file) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
HqlPack.getStringLikerPack(sysFile.getName(),"name",result); HqlPack.getStringLikerPack(file.getName(),"name",result);
HqlPack.getNumEqualPack(sysFile.getFileTypeId(),"fileTypeId",result); HqlPack.getNumEqualPack(file.getFileTypeId(),"fileTypeId",result);
HqlPack.getStringLikerPack(sysFile.getCreateUser(),"createUser",result); HqlPack.getStringLikerPack(file.getCreateUser(),"createUser",result);
HqlPack.timeBuilder(sysFile.getCreateDatetime(),"createDatetime",result,false,false); HqlPack.timeBuilder(file.getCreateDatetime(),"createDatetime",result,false,false);
return result.toString(); return result.toString();
} }
@ -260,7 +275,7 @@ public class CoreHqlPack {
* @param taskTimeExpression * @param taskTimeExpression
* @return * @return
*/ */
public static String packHqlTaskTimeExpression(TaskTimeExpression taskTimeExpression) { public static String packHqlSysTaskTimeExpression(SysTaskTimeExpression taskTimeExpression) {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
@ -274,7 +289,7 @@ public class CoreHqlPack {
* @param taskTime * @param taskTime
* @return * @return
*/ */
public static String packHqlTaskTime(TaskTime taskTime){ public static String packHqlSysTaskTime(SysTaskTime taskTime){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// hql拼接 // hql拼接
@ -308,16 +323,16 @@ public class CoreHqlPack {
/** /**
* *
* @param sysDictionary * @param dictionary
* @return * @return
*/ */
public static String packHqlSysDictionaryCode(SysDictionary sysDictionary){ public static String packHqlSysDictionaryCode(SysDictionary dictionary){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
// and // and
HqlPack.getStringEqualPack(sysDictionary.getDictionaryCode(),"dictionaryCode",result); HqlPack.getStringEqualPack(dictionary.getDictionaryCode(),"dictionaryCode",result);
// not // not
HqlPack.getNumNOEqualPack(sysDictionary.getId(),"id",result); HqlPack.getNumNOEqualPack(dictionary.getId(),"id",result);
return result.toString(); return result.toString();
} }
@ -344,29 +359,29 @@ public class CoreHqlPack {
/** /**
* *
* @param sysLocaleLanguage * @param localeLanguage
* @return * @return
*/ */
public static String packHqlSysLocaleLanguageCode(SysLocaleLanguage sysLocaleLanguage){ public static String packHqlSysLocaleLanguageCode(SysLocaleLanguage localeLanguage){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
HqlPack.getStringEqualPack(sysLocaleLanguage.getLanguageCode(),"languageCode",result); HqlPack.getStringEqualPack(localeLanguage.getLanguageCode(),"languageCode",result);
HqlPack.getNumNOEqualPack(sysLocaleLanguage.getId(),"id",result); HqlPack.getNumNOEqualPack(localeLanguage.getId(),"id",result);
return result.toString(); return result.toString();
} }
/** /**
* *
* @param sysLocaleResource * @param localeResource
* @return * @return
*/ */
public static String packHqlSysLocaleResourceKey(SysLocaleResource sysLocaleResource){ public static String packHqlSysLocaleResourceKey(SysLocaleResource localeResource){
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
HqlPack.getStringEqualPack(sysLocaleResource.getLanguageCode(),"languageCode",result); HqlPack.getStringEqualPack(localeResource.getLanguageCode(),"languageCode",result);
HqlPack.getStringEqualPack(sysLocaleResource.getResourceKey(),"resourceKey",result); HqlPack.getStringEqualPack(localeResource.getResourceKey(),"resourceKey",result);
HqlPack.getNumNOEqualPack(sysLocaleResource.getId(),"id",result); HqlPack.getNumNOEqualPack(localeResource.getId(),"id",result);
return result.toString(); return result.toString();
} }

Loading…
Cancel
Save