Ver código fonte

补充遗漏的@Override注解

RuoYi 4 anos atrás
pai
commit
132b23dc33

+ 2 - 1
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 203
     {
204 204
         this.deptIds = deptIds;
205 205
     }
206
-    
206
+
207
+    @Override
207 208
     public String toString() {
208 209
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
209 210
             .append("roleId", getRoleId())

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

@@ -132,6 +132,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
132 132
     /**
133 133
      * 加载字典缓存数据
134 134
      */
135
+    @Override
135 136
     public void loadingDictCache()
136 137
     {
137 138
         List<SysDictType> dictTypeList = dictTypeMapper.selectDictTypeAll();
@@ -145,6 +146,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
145 146
     /**
146 147
      * 清空字典缓存数据
147 148
      */
149
+    @Override
148 150
     public void clearDictCache()
149 151
     {
150 152
         DictUtils.clearDictCache();
@@ -153,6 +155,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
153 155
     /**
154 156
      * 重置字典缓存数据
155 157
      */
158
+    @Override
156 159
     public void resetDictCache()
157 160
     {
158 161
         clearDictCache();

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

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