修改框架
This commit is contained in:
@@ -5,7 +5,7 @@ import com.quoted.common.utils.StringUtils;
|
||||
/**
|
||||
* 缓存信息
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysCache
|
||||
{
|
||||
|
||||
@@ -2,110 +2,111 @@ package com.quoted.system.domain;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.quoted.common.annotation.Excel;
|
||||
import com.quoted.common.annotation.Excel.ColumnType;
|
||||
import com.quoted.common.core.domain.BaseEntity;
|
||||
import org.apache.ibatis.type.Alias;
|
||||
|
||||
/**
|
||||
* 参数配置表 sys_config
|
||||
*
|
||||
* @author ruoyi
|
||||
*
|
||||
* quoted
|
||||
*/
|
||||
public class SysConfig extends BaseEntity
|
||||
{
|
||||
public class SysConfig extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 参数主键 */
|
||||
/**
|
||||
* 参数主键
|
||||
*/
|
||||
@Excel(name = "参数主键", cellType = ColumnType.NUMERIC)
|
||||
private Long configId;
|
||||
|
||||
/** 参数名称 */
|
||||
/**
|
||||
* 参数名称
|
||||
*/
|
||||
@Excel(name = "参数名称")
|
||||
private String configName;
|
||||
|
||||
/** 参数键名 */
|
||||
/**
|
||||
* 参数键名
|
||||
*/
|
||||
@Excel(name = "参数键名")
|
||||
private String configKey;
|
||||
|
||||
/** 参数键值 */
|
||||
/**
|
||||
* 参数键值
|
||||
*/
|
||||
@Excel(name = "参数键值")
|
||||
private String configValue;
|
||||
|
||||
/** 系统内置(Y是 N否) */
|
||||
/**
|
||||
* 系统内置(Y是 N否)
|
||||
*/
|
||||
@Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
|
||||
private String configType;
|
||||
|
||||
public Long getConfigId()
|
||||
{
|
||||
public Long getConfigId() {
|
||||
return configId;
|
||||
}
|
||||
|
||||
public void setConfigId(Long configId)
|
||||
{
|
||||
public void setConfigId(Long configId) {
|
||||
this.configId = configId;
|
||||
}
|
||||
|
||||
@NotBlank(message = "参数名称不能为空")
|
||||
@Size(min = 0, max = 100, message = "参数名称不能超过100个字符")
|
||||
public String getConfigName()
|
||||
{
|
||||
public String getConfigName() {
|
||||
return configName;
|
||||
}
|
||||
|
||||
public void setConfigName(String configName)
|
||||
{
|
||||
public void setConfigName(String configName) {
|
||||
this.configName = configName;
|
||||
}
|
||||
|
||||
@NotBlank(message = "参数键名长度不能为空")
|
||||
@Size(min = 0, max = 100, message = "参数键名长度不能超过100个字符")
|
||||
public String getConfigKey()
|
||||
{
|
||||
public String getConfigKey() {
|
||||
return configKey;
|
||||
}
|
||||
|
||||
public void setConfigKey(String configKey)
|
||||
{
|
||||
public void setConfigKey(String configKey) {
|
||||
this.configKey = configKey;
|
||||
}
|
||||
|
||||
@NotBlank(message = "参数键值不能为空")
|
||||
@Size(min = 0, max = 500, message = "参数键值长度不能超过500个字符")
|
||||
public String getConfigValue()
|
||||
{
|
||||
public String getConfigValue() {
|
||||
return configValue;
|
||||
}
|
||||
|
||||
public void setConfigValue(String configValue)
|
||||
{
|
||||
public void setConfigValue(String configValue) {
|
||||
this.configValue = configValue;
|
||||
}
|
||||
|
||||
public String getConfigType()
|
||||
{
|
||||
public String getConfigType() {
|
||||
return configType;
|
||||
}
|
||||
|
||||
public void setConfigType(String configType)
|
||||
{
|
||||
public void setConfigType(String configType) {
|
||||
this.configType = configType;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("configId", getConfigId())
|
||||
.append("configName", getConfigName())
|
||||
.append("configKey", getConfigKey())
|
||||
.append("configValue", getConfigValue())
|
||||
.append("configType", getConfigType())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("configId", getConfigId())
|
||||
.append("configName", getConfigName())
|
||||
.append("configKey", getConfigKey())
|
||||
.append("configValue", getConfigValue())
|
||||
.append("configType", getConfigType())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.quoted.common.core.domain.BaseEntity;
|
||||
/**
|
||||
* 系统访问记录表 sys_logininfor
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysLogininfor extends BaseEntity
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ import com.quoted.common.xss.Xss;
|
||||
/**
|
||||
* 通知公告表 sys_notice
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysNotice extends BaseEntity
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
/**
|
||||
* 公告已读记录表 sys_notice_read
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysNoticeRead
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.quoted.common.core.domain.BaseEntity;
|
||||
/**
|
||||
* 操作日志记录表 oper_log
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysOperLog extends BaseEntity
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ import com.quoted.common.core.domain.BaseEntity;
|
||||
/**
|
||||
* 岗位表 sys_post
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysPost extends BaseEntity
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
/**
|
||||
* 角色和部门关联 sys_role_dept
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysRoleDept
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
/**
|
||||
* 角色和菜单关联 sys_role_menu
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysRoleMenu
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.quoted.system.domain;
|
||||
/**
|
||||
* 当前在线会话
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysUserOnline
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
/**
|
||||
* 用户和岗位关联 sys_user_post
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysUserPost
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
/**
|
||||
* 用户和角色关联 sys_user_role
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class SysUserRole
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ import com.quoted.common.utils.StringUtils;
|
||||
/**
|
||||
* 路由显示信息
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class MetaVo
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import java.util.List;
|
||||
/**
|
||||
* 路由配置信息
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
public class RouterVo
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysConfig;
|
||||
/**
|
||||
* 参数配置 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysConfigMapper
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.common.core.domain.entity.SysDept;
|
||||
/**
|
||||
* 部门管理 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysDeptMapper
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.common.core.domain.entity.SysDictData;
|
||||
/**
|
||||
* 字典表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysDictDataMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.common.core.domain.entity.SysDictType;
|
||||
/**
|
||||
* 字典表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysDictTypeMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysLogininfor;
|
||||
/**
|
||||
* 系统访问日志情况信息 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysLogininforMapper
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.common.core.domain.entity.SysMenu;
|
||||
/**
|
||||
* 菜单表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysMenuMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysNotice;
|
||||
/**
|
||||
* 通知公告表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysNoticeMapper
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.quoted.system.domain.SysNoticeRead;
|
||||
/**
|
||||
* 公告已读记录 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysNoticeReadMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysOperLog;
|
||||
/**
|
||||
* 操作日志 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysOperLogMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysPost;
|
||||
/**
|
||||
* 岗位信息 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysPostMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysRoleDept;
|
||||
/**
|
||||
* 角色与部门关联表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysRoleDeptMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.common.core.domain.entity.SysRole;
|
||||
/**
|
||||
* 角色表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysRoleMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysRoleMenu;
|
||||
/**
|
||||
* 角色与菜单关联表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysRoleMenuMapper
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.quoted.common.core.domain.entity.SysUser;
|
||||
/**
|
||||
* 用户表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysUserMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysUserPost;
|
||||
/**
|
||||
* 用户与岗位关联表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysUserPostMapper
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.system.domain.SysUserRole;
|
||||
/**
|
||||
* 用户与角色关联表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface SysUserRoleMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysConfig;
|
||||
/**
|
||||
* 参数配置 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysConfigService
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.common.core.domain.entity.SysDept;
|
||||
/**
|
||||
* 部门管理 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysDeptService
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.common.core.domain.entity.SysDictData;
|
||||
/**
|
||||
* 字典 业务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysDictDataService
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.common.core.domain.entity.SysDictType;
|
||||
/**
|
||||
* 字典 业务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysDictTypeService
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysLogininfor;
|
||||
/**
|
||||
* 系统访问日志情况信息 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysLogininforService
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.quoted.system.domain.vo.RouterVo;
|
||||
/**
|
||||
* 菜单 业务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysMenuService
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.system.domain.SysNotice;
|
||||
/**
|
||||
* 公告已读记录 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysNoticeReadService
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysNotice;
|
||||
/**
|
||||
* 公告 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysNoticeService
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysOperLog;
|
||||
/**
|
||||
* 操作日志 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysOperLogService
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysPost;
|
||||
/**
|
||||
* 岗位信息 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysPostService
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.quoted.system.domain.SysUserRole;
|
||||
/**
|
||||
* 角色业务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysRoleService
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.quoted.system.domain.SysUserOnline;
|
||||
/**
|
||||
* 在线用户 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysUserOnlineService
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.quoted.common.core.domain.entity.SysUser;
|
||||
/**
|
||||
* 用户 业务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public interface ISysUserService
|
||||
{
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import com.quoted.system.service.ISysConfigService;
|
||||
/**
|
||||
* 参数配置 服务层实现
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysConfigServiceImpl implements ISysConfigService
|
||||
|
||||
@@ -24,7 +24,7 @@ import com.quoted.system.service.ISysDeptService;
|
||||
/**
|
||||
* 部门管理 服务实现
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysDeptServiceImpl implements ISysDeptService
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import com.quoted.system.service.ISysDictDataService;
|
||||
/**
|
||||
* 字典 业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysDictDataServiceImpl implements ISysDictDataService
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import com.quoted.system.service.ISysDictTypeService;
|
||||
/**
|
||||
* 字典 业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysDictTypeServiceImpl implements ISysDictTypeService
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import com.quoted.system.service.ISysLogininforService;
|
||||
/**
|
||||
* 系统访问日志情况信息 服务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysLogininforServiceImpl implements ISysLogininforService
|
||||
|
||||
@@ -32,7 +32,7 @@ import com.quoted.system.service.ISysMenuService;
|
||||
/**
|
||||
* 菜单 业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysMenuServiceImpl implements ISysMenuService
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import com.quoted.system.service.ISysNoticeReadService;
|
||||
/**
|
||||
* 公告已读记录 服务层实现
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysNoticeReadServiceImpl implements ISysNoticeReadService
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import com.quoted.system.service.ISysNoticeService;
|
||||
/**
|
||||
* 公告 服务层实现
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysNoticeServiceImpl implements ISysNoticeService
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import com.quoted.system.service.ISysOperLogService;
|
||||
/**
|
||||
* 操作日志 服务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysOperLogServiceImpl implements ISysOperLogService
|
||||
|
||||
@@ -14,7 +14,7 @@ import com.quoted.system.service.ISysPostService;
|
||||
/**
|
||||
* 岗位信息 服务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysPostServiceImpl implements ISysPostService
|
||||
|
||||
@@ -27,7 +27,7 @@ import com.quoted.system.service.ISysRoleService;
|
||||
/**
|
||||
* 角色 业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysRoleServiceImpl implements ISysRoleService
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import com.quoted.system.service.ISysUserOnlineService;
|
||||
/**
|
||||
* 在线用户 服务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.quoted.system.service.ISysUserService;
|
||||
/**
|
||||
* 用户 业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
@Service
|
||||
public class SysUserServiceImpl implements ISysUserService
|
||||
|
||||
Reference in New Issue
Block a user