feat:新增通过角色编码查询所属用户接口

This commit is contained in:
2025-12-30 15:32:04 +08:00
parent 3b133c19dd
commit 6923986805
3 changed files with 25 additions and 0 deletions

View File

@@ -223,6 +223,7 @@ public class SysStaffController {
@Operation(summary = "根据角色ID集合获取员工列表", description = "根据角色ID集合获取员工列表")
@GetMapping("/findByRoleIds")
@Inner(false)
public R<Map<Long, List<SysStaffVO>>> findByRoleIds(@RequestParam("roleIds") List<Long> roleIds) {
return R.ok(sysStaffService.findByRoleIds(roleIds));
}