方法返回对象添加泛型对象

This commit is contained in:
zhangran 2021-07-15 17:13:51 +08:00
parent 6ce5263f9c
commit 3104a263d1
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
* @return
*/
@Override
public List findRolesByUserId(Integer userId) {
public List<SysRole> findRolesByUserId(Integer userId) {
return baseMapper.listRolesByUserId(userId);
}