| | |
| | | import com.doumee.dao.system.dto.CreateRoleMenuDTO; |
| | | import com.doumee.dao.system.dto.CreateRolePermissionDTO; |
| | | import com.doumee.dao.system.dto.QuerySystemRoleDTO; |
| | | import com.doumee.dao.system.model.SystemDataPermission; |
| | | import com.doumee.dao.system.model.SystemRole; |
| | | import com.doumee.dao.system.vo.SystemRoleListVO; |
| | | import com.doumee.service.system.SystemRoleService; |
| | |
| | | } |
| | | return ApiResponse.success(systemRoleService.findList(systemRole)); |
| | | } |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("配置角色数据权限") |
| | | @PostMapping("/createRoleDataPermission") |
| | | @RequiresPermissions("system:role:query") |
| | | public ApiResponse createRoleDataPermission (@Validated @RequestBody SystemDataPermission dto) { |
| | | systemRoleBiz.createRoleDataPermission(dto); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | } |