From 4a25664ccad3be6fc6d2bf21867a4f3b313743e1 Mon Sep 17 00:00:00 2001 From: hanrenchun Date: Thu, 25 Jan 2024 15:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/business/controller/BigScreenController.java | 2 +- .../business/controller/PerceptionDeviceController.java | 8 ++++---- .../impl/MetaPortContactPersonInfoServiceImpl.java | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java b/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java index 01a86e6..5189bf4 100644 --- a/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java +++ b/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java @@ -299,7 +299,7 @@ public class BigScreenController extends BaseController { @PostMapping("/realTimeAlarmSituation") @ApiOperation("实时警情") - public AjaxResult realTimeAlarmSituation(@ApiParam @Param("时间") @RequestParam String time) { + public AjaxResult realTimeAlarmSituation(@ApiParam("时间") @RequestParam String time) { try { if (0 == NumKit.checkInt(time)) { time = "30"; diff --git a/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java b/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java index 7082925..294c4fa 100644 --- a/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java +++ b/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java @@ -103,7 +103,7 @@ public class PerceptionDeviceController extends BaseController { @GetMapping("/allHumanTrafficStatistics") @ApiOperation("人流量统计(前7天)(全数)") - public AjaxResult allHumanTrafficStatistics(TransitUserRecord transitUserRecord, DevopsDeviceInfo devopsDeviceInfo) { + public AjaxResult allHumanTrafficStatistics(TransitUserRecord transitUserRecord) { try { // 获取当前日期 LocalDate currentDate = LocalDate.now(); @@ -113,7 +113,7 @@ public class PerceptionDeviceController extends BaseController { for (int i = 1; i <= 7; i++) { LocalDate date = currentDate.minusDays(i); // 构造查询条件 - QueryWrapper deviceInfoQueryWrapper = new QueryWrapper<>(devopsDeviceInfo); + QueryWrapper deviceInfoQueryWrapper = new QueryWrapper<>(); deviceInfoQueryWrapper.eq("parent_monitoring_type", 1); List list = devopsDeviceInfoService.list(deviceInfoQueryWrapper); @@ -139,7 +139,7 @@ public class PerceptionDeviceController extends BaseController { } @GetMapping("/allVehicleTrafficStatistics") @ApiOperation("车流量统计(前7天)(全数)") - public AjaxResult allVehicleTrafficStatistics(TransitVehicleRecord transitVehicleRecord,DevopsDeviceInfo devopsDeviceInfo) { + public AjaxResult allVehicleTrafficStatistics(TransitVehicleRecord transitVehicleRecord) { try { // 获取当前日期 LocalDate currentDate = LocalDate.now(); @@ -149,7 +149,7 @@ public class PerceptionDeviceController extends BaseController { for (int i = 1; i <= 7; i++) { LocalDate date = currentDate.minusDays(i); // 构造查询条件 - QueryWrapper deviceInfoQueryWrapper = new QueryWrapper<>(devopsDeviceInfo); + QueryWrapper deviceInfoQueryWrapper = new QueryWrapper<>(); deviceInfoQueryWrapper.eq("parent_monitoring_type", 1); List list = devopsDeviceInfoService.list(deviceInfoQueryWrapper); diff --git a/gather-app/src/main/java/com/ruoyi/database/service/impl/MetaPortContactPersonInfoServiceImpl.java b/gather-app/src/main/java/com/ruoyi/database/service/impl/MetaPortContactPersonInfoServiceImpl.java index 7f95f1a..2242a3f 100644 --- a/gather-app/src/main/java/com/ruoyi/database/service/impl/MetaPortContactPersonInfoServiceImpl.java +++ b/gather-app/src/main/java/com/ruoyi/database/service/impl/MetaPortContactPersonInfoServiceImpl.java @@ -4,8 +4,8 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.ruoyi.database.domain.MetaPortContactPersonInfo; import com.ruoyi.database.mapper.MetaPortContactPersonInfoMapper; import com.ruoyi.database.service.MetaPortContactPersonInfoService; +import org.springframework.stereotype.Service; -import javax.xml.ws.Service; - +@Service public class MetaPortContactPersonInfoServiceImpl extends ServiceImpl implements MetaPortContactPersonInfoService { }