소스 검색

BUG修复

jichaobo 2 년 전
부모
커밋
dfdcd6b17c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionPlanServiceImpl.java

+ 1 - 1
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionPlanServiceImpl.java

@@ -635,7 +635,7 @@ public class PatrolInspectionPlanServiceImpl extends AbstractCrudService<PatrolI
         if ("00".equals(userType)) {
             queryWrapper.eq(PatrolInspectionSite::getCreator, SecurityUtils.getUsername());
         }
-        List<PatrolInspectionSite> patrolInspectionSiteList = patrolInspectionSiteService.list();
+        List<PatrolInspectionSite> patrolInspectionSiteList = patrolInspectionSiteService.list(queryWrapper);
         List<PatrolInspectionPlanSite> planSiteList = new ArrayList<>();
         if (planId != 0 && planId != null) {
             LambdaQueryWrapper<PatrolInspectionPlanSite> queryWrapperOne = Wrappers.lambdaQuery();