|
|
@ -159,6 +159,13 @@ public class SysStaffOrgRest { |
|
|
|
return sysStaffOrgService.selAllByOrgSidPath(orgSidPath); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/selByOrgPath") |
|
|
|
@ResponseBody |
|
|
|
@ApiOperation("根据顶级sid查询当前组织下的所有员工(新)") |
|
|
|
public ResultBean<List<SysStaffOrgByUserVo>> selByOrgPath(@RequestParam("orgSidPath") String orgSidPath) { |
|
|
|
return sysStaffOrgService.selByOrgPath(orgSidPath); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ResultBean<SysStaffOrg> selectAllByStaffSid(String staffSid,String orgSid) { |
|
|
|
return sysStaffOrgService.selectAllByStaffSid(staffSid,""); |
|
|
|