mirror of https://gitee.com/y_project/RuoYi.git
补全@Override注解;修正注释中参数项;
parent
66aabcd2b4
commit
d881d45829
|
@ -38,7 +38,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|||
/**
|
||||
* 根据键名查询参数配置信息
|
||||
*
|
||||
* @param configName 参数名称
|
||||
* @param configKey 参数key
|
||||
* @return 参数键值
|
||||
*/
|
||||
@Override
|
||||
|
@ -89,7 +89,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|||
/**
|
||||
* 批量删除参数配置对象
|
||||
*
|
||||
* @param configIds 需要删除的数据ID
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -78,7 +78,7 @@ public class SysDeptServiceImpl implements ISysDeptService
|
|||
/**
|
||||
* 对象转部门树
|
||||
*
|
||||
* @param menuList 部门列表
|
||||
* @param deptList 部门列表
|
||||
* @param isCheck 是否需要选中
|
||||
* @param roleDeptList 角色已存在菜单列表
|
||||
* @return
|
||||
|
|
|
@ -123,7 +123,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
|
|||
/**
|
||||
* 校验字典类型称是否唯一
|
||||
*
|
||||
* @param dictType 字典类型
|
||||
* @param dict 字典类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -41,7 +41,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|||
/**
|
||||
* 根据用户查询菜单
|
||||
*
|
||||
* @param userId 用户信息
|
||||
* @param user 用户信息
|
||||
* @return 菜单列表
|
||||
*/
|
||||
@Override
|
||||
|
@ -232,7 +232,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|||
/**
|
||||
* 查询子菜单数量
|
||||
*
|
||||
* @param menuId 菜单ID
|
||||
* @param parentId 父级菜单ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
|
@ -299,7 +299,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|||
* 根据父节点的ID获取所有子节点
|
||||
*
|
||||
* @param list 分类表
|
||||
* @param typeId 传入的父节点ID
|
||||
* @param parentId 传入的父节点ID
|
||||
* @return String
|
||||
*/
|
||||
public List<SysMenu> getChildPerms(List<SysMenu> list, int parentId)
|
||||
|
@ -322,7 +322,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|||
* 递归列表
|
||||
*
|
||||
* @param list
|
||||
* @param SysMenu
|
||||
* @param t
|
||||
*/
|
||||
private void recursionFn(List<SysMenu> list, SysMenu t)
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
* @param sessionId 会话ID
|
||||
* @return 在线用户信息
|
||||
*/
|
||||
@Override
|
||||
public SysUserOnline selectOnlineById(String sessionId)
|
||||
{
|
||||
return userOnlineDao.selectOnlineById(sessionId);
|
||||
|
@ -38,6 +39,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
* @param sessionId 会话ID
|
||||
* @return 在线用户信息
|
||||
*/
|
||||
@Override
|
||||
public void deleteOnlineById(String sessionId)
|
||||
{
|
||||
SysUserOnline userOnline = selectOnlineById(sessionId);
|
||||
|
@ -53,6 +55,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
* @param sessions 会话ID集合
|
||||
* @return 在线用户信息
|
||||
*/
|
||||
@Override
|
||||
public void batchDeleteOnline(List<String> sessions)
|
||||
{
|
||||
for (String sessionId : sessions)
|
||||
|
@ -70,6 +73,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
*
|
||||
* @param online 会话信息
|
||||
*/
|
||||
@Override
|
||||
public void saveOnline(SysUserOnline online)
|
||||
{
|
||||
userOnlineDao.saveOnline(online);
|
||||
|
@ -78,8 +82,9 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
/**
|
||||
* 查询会话集合
|
||||
*
|
||||
* @param pageUtilEntity 分页参数
|
||||
* @param userOnline 在线用户
|
||||
*/
|
||||
@Override
|
||||
public List<SysUserOnline> selectUserOnlineList(SysUserOnline userOnline)
|
||||
{
|
||||
return userOnlineDao.selectUserOnlineList(userOnline);
|
||||
|
@ -90,6 +95,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
*
|
||||
* @param sessionId 会话ID
|
||||
*/
|
||||
@Override
|
||||
public void forceLogout(String sessionId)
|
||||
{
|
||||
userOnlineDao.deleteOnlineById(sessionId);
|
||||
|
@ -98,8 +104,9 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||
/**
|
||||
* 查询会话集合
|
||||
*
|
||||
* @param online 会话信息
|
||||
* @param expiredDate 失效日期
|
||||
*/
|
||||
@Override
|
||||
public List<SysUserOnline> selectOnlineByExpired(Date expiredDate)
|
||||
{
|
||||
String lastAccessTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, expiredDate);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
/**
|
||||
* 通过手机号码查询用户
|
||||
*
|
||||
* @param userName 用户名
|
||||
* @param phoneNumber 手机号码
|
||||
* @return 用户对象信息
|
||||
*/
|
||||
@Override
|
||||
|
@ -268,7 +268,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
/**
|
||||
* 校验用户名称是否唯一
|
||||
*
|
||||
* @param phonenumber 用户名
|
||||
* @param user 用户信息
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
|
@ -286,7 +286,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
/**
|
||||
* 校验email是否唯一
|
||||
*
|
||||
* @param email 用户名
|
||||
* @param user 用户信息
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue