mirror of https://gitee.com/y_project/RuoYi.git
@Override 注解缺失
parent
28c861c6df
commit
025731a04c
|
@ -135,11 +135,13 @@ public class UserOperateModel extends BaseEntity
|
|||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getCreateTime()
|
||||
{
|
||||
return createTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCreateTime(Date createTime)
|
||||
{
|
||||
this.createTime = createTime;
|
||||
|
|
|
@ -81,6 +81,7 @@ public class GenTableServiceImpl implements IGenTableService
|
|||
* @param genTable 业务信息
|
||||
* @return 数据库表集合
|
||||
*/
|
||||
@Override
|
||||
public List<GenTable> selectDbTableList(GenTable genTable)
|
||||
{
|
||||
return genTableMapper.selectDbTableList(genTable);
|
||||
|
@ -92,6 +93,7 @@ public class GenTableServiceImpl implements IGenTableService
|
|||
* @param tableNames 表名称组
|
||||
* @return 数据库表集合
|
||||
*/
|
||||
@Override
|
||||
public List<GenTable> selectDbTableListByNames(String[] tableNames)
|
||||
{
|
||||
return genTableMapper.selectDbTableListByNames(tableNames);
|
||||
|
@ -174,6 +176,7 @@ public class GenTableServiceImpl implements IGenTableService
|
|||
* @param tableId 表编号
|
||||
* @return 预览数据列表
|
||||
*/
|
||||
@Override
|
||||
public Map<String, String> previewCode(Long tableId)
|
||||
{
|
||||
Map<String, String> dataMap = new LinkedHashMap<>();
|
||||
|
@ -278,6 +281,7 @@ public class GenTableServiceImpl implements IGenTableService
|
|||
*
|
||||
* @param genTable 业务信息
|
||||
*/
|
||||
@Override
|
||||
public void validateEdit(GenTable genTable)
|
||||
{
|
||||
if (GenConstants.TPL_TREE.equals(genTable.getTplCategory()))
|
||||
|
|
|
@ -143,6 +143,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|||
/**
|
||||
* 清空缓存数据
|
||||
*/
|
||||
@Override
|
||||
public void clearCache()
|
||||
{
|
||||
CacheUtils.removeAll(getCacheName());
|
||||
|
|
|
@ -110,6 +110,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
|
|||
* @param dictType 字典类型
|
||||
* @return 字典类型
|
||||
*/
|
||||
@Override
|
||||
public SysDictType selectDictTypeByType(String dictType)
|
||||
{
|
||||
return dictTypeMapper.selectDictTypeByType(dictType);
|
||||
|
@ -144,6 +145,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
|
|||
/**
|
||||
* 清空缓存数据
|
||||
*/
|
||||
@Override
|
||||
public void clearCache()
|
||||
{
|
||||
DictUtils.clearDictCache();
|
||||
|
@ -210,6 +212,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
|
|||
* @param dictType 字典类型
|
||||
* @return 所有字典类型
|
||||
*/
|
||||
@Override
|
||||
public List<Ztree> selectDictTree(SysDictType dictType)
|
||||
{
|
||||
List<Ztree> ztrees = new ArrayList<Ztree>();
|
||||
|
|
|
@ -299,6 +299,7 @@ public class SysRoleServiceImpl implements ISysRoleService
|
|||
*
|
||||
* @param role 角色信息
|
||||
*/
|
||||
@Override
|
||||
public void checkRoleAllowed(SysRole role)
|
||||
{
|
||||
if (StringUtils.isNotNull(role.getRoleId()) && role.isAdmin())
|
||||
|
@ -350,6 +351,7 @@ public class SysRoleServiceImpl implements ISysRoleService
|
|||
* @param userIds 需要删除的用户数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAuthUsers(Long roleId, String userIds)
|
||||
{
|
||||
return userRoleMapper.deleteUserRoleInfos(roleId, Convert.toLongArray(userIds));
|
||||
|
@ -362,6 +364,7 @@ public class SysRoleServiceImpl implements ISysRoleService
|
|||
* @param userIds 需要删除的用户数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertAuthUsers(Long roleId, String userIds)
|
||||
{
|
||||
Long[] users = Convert.toLongArray(userIds);
|
||||
|
|
|
@ -73,6 +73,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 用户信息集合信息
|
||||
*/
|
||||
@Override
|
||||
@DataScope(deptAlias = "d", userAlias = "u")
|
||||
public List<SysUser> selectAllocatedList(SysUser user)
|
||||
{
|
||||
|
@ -85,6 +86,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 用户信息集合信息
|
||||
*/
|
||||
@Override
|
||||
@DataScope(deptAlias = "d", userAlias = "u")
|
||||
public List<SysUser> selectUnallocatedList(SysUser user)
|
||||
{
|
||||
|
@ -145,6 +147,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @return 用户和角色关联列表
|
||||
*/
|
||||
@Override
|
||||
public List<SysUserRole> selectUserRoleByUserId(Long userId)
|
||||
{
|
||||
return userRoleMapper.selectUserRoleByUserId(userId);
|
||||
|
@ -208,6 +211,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public boolean registerUser(SysUser user)
|
||||
{
|
||||
user.setUserType(UserConstants.REGISTER_USER_TYPE);
|
||||
|
@ -254,6 +258,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @param roleIds 角色组
|
||||
*/
|
||||
@Override
|
||||
public void insertUserAuth(Long userId, Long[] roleIds)
|
||||
{
|
||||
userRoleMapper.deleteUserRoleByUserId(userId);
|
||||
|
@ -381,6 +386,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
*
|
||||
* @param user 用户信息
|
||||
*/
|
||||
@Override
|
||||
public void checkUserAllowed(SysUser user)
|
||||
{
|
||||
if (StringUtils.isNotNull(user.getUserId()) && user.isAdmin())
|
||||
|
|
Loading…
Reference in New Issue