|
|
|
@ -110,6 +110,18 @@ public class SystemSettingController implements SystemSetttingApi { |
|
|
|
|
return R.ok(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 删除专业的同时删除员工(假删) |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/dalStaffByProfessionalId") |
|
|
|
|
public R dalStaffByProfessionalId(@RequestParam("staffProfessionalArchitectureId") Integer staffProfessionalArchitectureId){ |
|
|
|
|
//根据staffGradeId查询staff表中的userId,然后调用批量删除员工信息接口
|
|
|
|
|
List<Integer> userIds = systemSetttingService.queryUserIdsByProfessionalId(staffProfessionalArchitectureId); |
|
|
|
|
systemSetttingService.daleteBatchStaff(userIds); |
|
|
|
|
return R.ok(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 新增部门 |
|
|
|
|
*/ |
|
|
|
|