diff --git a/pqs-supervision/supervision-boot/src/main/java/com/njcn/supervision/service/survey/impl/SurveyTestServiceImpl.java b/pqs-supervision/supervision-boot/src/main/java/com/njcn/supervision/service/survey/impl/SurveyTestServiceImpl.java index 117e6c081..062a4b0cf 100644 --- a/pqs-supervision/supervision-boot/src/main/java/com/njcn/supervision/service/survey/impl/SurveyTestServiceImpl.java +++ b/pqs-supervision/supervision-boot/src/main/java/com/njcn/supervision/service/survey/impl/SurveyTestServiceImpl.java @@ -93,7 +93,7 @@ public class SurveyTestServiceImpl extends ServiceImpl surveyPlanLambdaQueryWrapper = new LambdaQueryWrapper<>(); surveyPlanLambdaQueryWrapper.eq(SurveyPlan::getState, DataStateEnum.ENABLE.getCode()) .like(SurveyPlan::getPlanName, surveyTestQueryParam.getSearchValue()); @@ -101,10 +101,10 @@ public class SurveyTestServiceImpl extends ServiceImpl planIds = surveyPlans.stream().map(SurveyPlan::getId).collect(Collectors.toList()); surveyTestVOQueryWrapper.in("supervision_survey_test.plan_id", planIds); + }else { + //没有匹配的。直接返回 + return new Page<>(); } - } else { - //没有匹配的。直接返回 - return new Page<>(); } } //获取当前用户部门所有同事的id,查看该部门下所有的数据