diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java index 578c37a..828a1fe 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java @@ -450,7 +450,7 @@ public class SysUserController extends BaseController @GetMapping("/studyUser") 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<>()); } List depts = userService.selectStudyUser(studyId,studySubjectId,permit);