Browse Source

补充遗漏的@Override注解

tags/v3.2.0
RuoYi 3 years ago
parent
commit
132b23dc33
  1. 3
      ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/SysRole.java
  2. 3
      ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java
  3. 1
      ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java

3
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/SysRole.java

@ -203,7 +203,8 @@ public class SysRole extends BaseEntity @@ -203,7 +203,8 @@ public class SysRole extends BaseEntity
{
this.deptIds = deptIds;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("roleId", getRoleId())

3
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java

@ -132,6 +132,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService @@ -132,6 +132,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/**
* 加载字典缓存数据
*/
@Override
public void loadingDictCache()
{
List<SysDictType> dictTypeList = dictTypeMapper.selectDictTypeAll();
@ -145,6 +146,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService @@ -145,6 +146,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/**
* 清空字典缓存数据
*/
@Override
public void clearDictCache()
{
DictUtils.clearDictCache();
@ -153,6 +155,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService @@ -153,6 +155,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/**
* 重置字典缓存数据
*/
@Override
public void resetDictCache()
{
clearDictCache();

1
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java

@ -252,6 +252,7 @@ public class SysUserServiceImpl implements ISysUserService @@ -252,6 +252,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param user 用户信息
* @return 结果
*/
@Override
public boolean registerUser(SysUser user)
{
return userMapper.insertUser(user) > 0;

Loading…
Cancel
Save