|
|
@ -450,7 +450,7 @@ public class SysUserController extends BaseController |
|
|
@GetMapping("/studyUser") |
|
|
@GetMapping("/studyUser") |
|
|
public AjaxResult studyUser(Long studyId,Long studySubjectId,String permit) |
|
|
public AjaxResult studyUser(Long studyId,Long studySubjectId,String permit) |
|
|
{ |
|
|
{ |
|
|
if(studyId==null || studyId.longValue()<=0){ |
|
|
|
|
|
|
|
|
if((studyId==null || studyId.longValue()<=0) && StringUtils.isBlank(permit)){ |
|
|
return AjaxResult.success(new ArrayList<>()); |
|
|
return AjaxResult.success(new ArrayList<>()); |
|
|
} |
|
|
} |
|
|
List<DeptUserTreeDto> depts = userService.selectStudyUser(studyId,studySubjectId,permit); |
|
|
List<DeptUserTreeDto> depts = userService.selectStudyUser(studyId,studySubjectId,permit); |
|
|
|