style: 返回值警告消除

返回值警告消除
由 Result 为  Result<?>
由 Option 为 Option<Type>
This commit is contained in:
Theo
2024-08-02 23:43:40 +08:00
parent 8c6f95148d
commit e694ac5bb7
20 changed files with 69 additions and 69 deletions

View File

@@ -79,7 +79,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
* @return {@link List<Option>} 角色下拉列表
*/
@Override
public List<Option> listRoleOptions() {
public List<Option<Long>> listRoleOptions() {
// 查询数据
List<SysRole> roleList = this.list(new LambdaQueryWrapper<SysRole>()
.ne(!SecurityUtils.isRoot(), SysRole::getCode, SystemConstants.ROOT_ROLE_CODE)