|
@@ -632,9 +632,7 @@ public class BscEnterpriseAutonomyServiceImpl extends AbstractCrudService<BscEnt
|
|
|
LambdaQueryWrapper<PatrolInspectionPlan> queryWrapper = Wrappers.lambdaQuery();
|
|
|
queryWrapper.select(PatrolInspectionPlan::getId)
|
|
|
// .eq(PatrolInspectionPlan::getTenantId, SecurityUtils.getTenantId())
|
|
|
- .eq(PatrolInspectionPlan::getEnable, 1)
|
|
|
- .between(PatrolInspectionPlan::getEndDate, startDate, endDate)
|
|
|
- .between(PatrolInspectionPlan::getStartDate, startDate, endDate);
|
|
|
+ .eq(PatrolInspectionPlan::getEnable, 1);
|
|
|
List<PatrolInspectionPlan> planList = patrolInspectionPlanService.list(queryWrapper);
|
|
|
if (CollectionUtils.isNotEmpty(planList)) {
|
|
|
List<Integer> planIdList = new ArrayList<>();
|