@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;
}
@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…
Cancel
Save