jichaobo il y a 2 ans
Parent
commit
dfdcd6b17c

+ 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();