|
|
|
@ -106,7 +106,9 @@ public class SystemSettingController implements SystemSetttingApi { |
|
|
|
|
public R dalStaffByStaffGradeId(@RequestParam("staffGradeId") Integer staffGradeId){ |
|
|
|
|
//根据staffGradeId查询staff表中的userId,然后调用批量删除员工信息接口
|
|
|
|
|
List<Integer> userIds = systemSetttingService.queryUserIdsByGradeId(staffGradeId); |
|
|
|
|
if(userIds.size()>0){ |
|
|
|
|
systemSetttingService.daleteBatchStaff(userIds); |
|
|
|
|
} |
|
|
|
|
return R.ok(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -118,7 +120,9 @@ public class SystemSettingController implements SystemSetttingApi { |
|
|
|
|
public R dalStaffByProfessionalId(@RequestParam("staffProfessionalArchitectureId") Integer staffProfessionalArchitectureId){ |
|
|
|
|
//根据staffGradeId查询staff表中的userId,然后调用批量删除员工信息接口
|
|
|
|
|
List<Integer> userIds = systemSetttingService.queryUserIdsByProfessionalId(staffProfessionalArchitectureId); |
|
|
|
|
if(userIds.size()>0){ |
|
|
|
|
systemSetttingService.daleteBatchStaff(userIds); |
|
|
|
|
} |
|
|
|
|
return R.ok(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|