@Override 注解缺失

dep_wangsr
RuoYi 5 years ago committed by Limy
parent 826cad4d9b
commit f0dd299e0c

@ -135,11 +135,13 @@ public class UserOperateModel extends BaseEntity
this.status = status; this.status = status;
} }
@Override
public Date getCreateTime() public Date getCreateTime()
{ {
return createTime; return createTime;
} }
@Override
public void setCreateTime(Date createTime) public void setCreateTime(Date createTime)
{ {
this.createTime = createTime; this.createTime = createTime;

@ -81,6 +81,7 @@ public class GenTableServiceImpl implements IGenTableService
* @param genTable * @param genTable
* @return * @return
*/ */
@Override
public List<GenTable> selectDbTableList(GenTable genTable) public List<GenTable> selectDbTableList(GenTable genTable)
{ {
return genTableMapper.selectDbTableList(genTable); return genTableMapper.selectDbTableList(genTable);
@ -92,6 +93,7 @@ public class GenTableServiceImpl implements IGenTableService
* @param tableNames * @param tableNames
* @return * @return
*/ */
@Override
public List<GenTable> selectDbTableListByNames(String[] tableNames) public List<GenTable> selectDbTableListByNames(String[] tableNames)
{ {
return genTableMapper.selectDbTableListByNames(tableNames); return genTableMapper.selectDbTableListByNames(tableNames);
@ -174,6 +176,7 @@ public class GenTableServiceImpl implements IGenTableService
* @param tableId * @param tableId
* @return * @return
*/ */
@Override
public Map<String, String> previewCode(Long tableId) public Map<String, String> previewCode(Long tableId)
{ {
Map<String, String> dataMap = new LinkedHashMap<>(); Map<String, String> dataMap = new LinkedHashMap<>();
@ -278,6 +281,7 @@ public class GenTableServiceImpl implements IGenTableService
* *
* @param genTable * @param genTable
*/ */
@Override
public void validateEdit(GenTable genTable) public void validateEdit(GenTable genTable)
{ {
if (GenConstants.TPL_TREE.equals(genTable.getTplCategory())) if (GenConstants.TPL_TREE.equals(genTable.getTplCategory()))

@ -143,6 +143,7 @@ public class SysConfigServiceImpl implements ISysConfigService
/** /**
* *
*/ */
@Override
public void clearCache() public void clearCache()
{ {
CacheUtils.removeAll(getCacheName()); CacheUtils.removeAll(getCacheName());

@ -110,6 +110,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
* @param dictType * @param dictType
* @return * @return
*/ */
@Override
public SysDictType selectDictTypeByType(String dictType) public SysDictType selectDictTypeByType(String dictType)
{ {
return dictTypeMapper.selectDictTypeByType(dictType); return dictTypeMapper.selectDictTypeByType(dictType);
@ -144,6 +145,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/** /**
* *
*/ */
@Override
public void clearCache() public void clearCache()
{ {
DictUtils.clearDictCache(); DictUtils.clearDictCache();
@ -210,6 +212,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
* @param dictType * @param dictType
* @return * @return
*/ */
@Override
public List<Ztree> selectDictTree(SysDictType dictType) public List<Ztree> selectDictTree(SysDictType dictType)
{ {
List<Ztree> ztrees = new ArrayList<Ztree>(); List<Ztree> ztrees = new ArrayList<Ztree>();

@ -299,6 +299,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* *
* @param role * @param role
*/ */
@Override
public void checkRoleAllowed(SysRole role) public void checkRoleAllowed(SysRole role)
{ {
if (StringUtils.isNotNull(role.getRoleId()) && role.isAdmin()) if (StringUtils.isNotNull(role.getRoleId()) && role.isAdmin())
@ -350,6 +351,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @param userIds ID * @param userIds ID
* @return * @return
*/ */
@Override
public int deleteAuthUsers(Long roleId, String userIds) public int deleteAuthUsers(Long roleId, String userIds)
{ {
return userRoleMapper.deleteUserRoleInfos(roleId, Convert.toLongArray(userIds)); return userRoleMapper.deleteUserRoleInfos(roleId, Convert.toLongArray(userIds));
@ -362,6 +364,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @param userIds ID * @param userIds ID
* @return * @return
*/ */
@Override
public int insertAuthUsers(Long roleId, String userIds) public int insertAuthUsers(Long roleId, String userIds)
{ {
Long[] users = Convert.toLongArray(userIds); Long[] users = Convert.toLongArray(userIds);

@ -73,6 +73,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param user * @param user
* @return * @return
*/ */
@Override
@DataScope(deptAlias = "d", userAlias = "u") @DataScope(deptAlias = "d", userAlias = "u")
public List<SysUser> selectAllocatedList(SysUser user) public List<SysUser> selectAllocatedList(SysUser user)
{ {
@ -85,6 +86,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param user * @param user
* @return * @return
*/ */
@Override
@DataScope(deptAlias = "d", userAlias = "u") @DataScope(deptAlias = "d", userAlias = "u")
public List<SysUser> selectUnallocatedList(SysUser user) public List<SysUser> selectUnallocatedList(SysUser user)
{ {
@ -145,6 +147,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param userId ID * @param userId ID
* @return * @return
*/ */
@Override
public List<SysUserRole> selectUserRoleByUserId(Long userId) public List<SysUserRole> selectUserRoleByUserId(Long userId)
{ {
return userRoleMapper.selectUserRoleByUserId(userId); return userRoleMapper.selectUserRoleByUserId(userId);
@ -208,6 +211,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param user * @param user
* @return * @return
*/ */
@Override
public boolean registerUser(SysUser user) public boolean registerUser(SysUser user)
{ {
user.setUserType(UserConstants.REGISTER_USER_TYPE); user.setUserType(UserConstants.REGISTER_USER_TYPE);
@ -254,6 +258,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param userId ID * @param userId ID
* @param roleIds * @param roleIds
*/ */
@Override
public void insertUserAuth(Long userId, Long[] roleIds) public void insertUserAuth(Long userId, Long[] roleIds)
{ {
userRoleMapper.deleteUserRoleByUserId(userId); userRoleMapper.deleteUserRoleByUserId(userId);
@ -381,6 +386,7 @@ public class SysUserServiceImpl implements ISysUserService
* *
* @param user * @param user
*/ */
@Override
public void checkUserAllowed(SysUser user) public void checkUserAllowed(SysUser user)
{ {
if (StringUtils.isNotNull(user.getUserId()) && user.isAdmin()) if (StringUtils.isNotNull(user.getUserId()) && user.isAdmin())

Loading…
Cancel
Save