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