mirror of https://gitee.com/maxjhandsome/pig
方法返回对象添加泛型对象
This commit is contained in:
parent
6ce5263f9c
commit
3104a263d1
|
@ -51,7 +51,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List findRolesByUserId(Integer userId) {
|
public List<SysRole> findRolesByUserId(Integer userId) {
|
||||||
return baseMapper.listRolesByUserId(userId);
|
return baseMapper.listRolesByUserId(userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue