From 8493f9f2ee3ba7b518bdf813f37c6c7418c3c4f7 Mon Sep 17 00:00:00 2001 From: lzh1232 <15120652+lzh1232@user.noreply.gitee.com> Date: Fri, 7 Nov 2025 23:03:49 +0800 Subject: [PATCH] =?UTF-8?q?11.7=20=E9=A2=84=E8=AD=A6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=9A=84=E7=B1=BB=E5=9E=8B=E6=94=B9=E4=B8=BAstring?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/exceptionController/AlertMessageController.java | 2 +- .../main/java/com/alops/system/mapper/AlertMessageMapper.java | 2 +- .../java/com/alops/system/service/IAlertMessageService.java | 2 +- .../com/alops/system/service/impl/AlertMessageServiceImpl.java | 2 +- .../src/main/resources/mapper/system/AlertMessageMapper.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ALOps_sys_backend/alops-admin/src/main/java/com/alops/web/controller/exceptionController/AlertMessageController.java b/ALOps_sys_backend/alops-admin/src/main/java/com/alops/web/controller/exceptionController/AlertMessageController.java index a664300d..0553cf58 100644 --- a/ALOps_sys_backend/alops-admin/src/main/java/com/alops/web/controller/exceptionController/AlertMessageController.java +++ b/ALOps_sys_backend/alops-admin/src/main/java/com/alops/web/controller/exceptionController/AlertMessageController.java @@ -109,7 +109,7 @@ public class AlertMessageController extends BaseController @PreAuthorize("@ss.hasPermi('inMonitoring:alertMessage:listByEquId')") @GetMapping("/{equId}") @ApiOperation("获取界面ALlertMessage信息") - public TableDataInfo listByEquId(@PathVariable("equId")Long equId) + public TableDataInfo listByEquId(@PathVariable("equId")String equId) { List list = alertMessageService.selectAlertMessageListByEquId(equId); diff --git a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/mapper/AlertMessageMapper.java b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/mapper/AlertMessageMapper.java index 580fe2a6..ddfdcfbf 100644 --- a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/mapper/AlertMessageMapper.java +++ b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/mapper/AlertMessageMapper.java @@ -47,7 +47,7 @@ public interface AlertMessageMapper public List selectAlertMessageList(AlertDto alertMessage); public List selectStaticAlertMessageList(); - public ArrayList selectAlertMessageByEquId(Long Equid); + public ArrayList selectAlertMessageByEquId(String Equid); /** * 统计设备类型、预警等级、时间的预警次数 diff --git a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/IAlertMessageService.java b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/IAlertMessageService.java index f528a1ad..03655ea1 100644 --- a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/IAlertMessageService.java +++ b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/IAlertMessageService.java @@ -32,7 +32,7 @@ public interface IAlertMessageService */ public List selectAlertMessageList(AlertDto alertMessage); public List selectStaticAlertMessageList(); - public List selectAlertMessageListByEquId(Long equId); + public List selectAlertMessageListByEquId(String equId); /** * 统计设备类型、预警等级、时间的预警次数 diff --git a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/impl/AlertMessageServiceImpl.java b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/impl/AlertMessageServiceImpl.java index d0708772..18dedbae 100644 --- a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/impl/AlertMessageServiceImpl.java +++ b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/impl/AlertMessageServiceImpl.java @@ -60,7 +60,7 @@ public class AlertMessageServiceImpl implements IAlertMessageService } @Override - public List selectAlertMessageListByEquId(Long equId) + public List selectAlertMessageListByEquId(String equId) { ArrayList alertMessagelist = alertMessageMapper.selectAlertMessageByEquId(equId); return alertMessagelist; diff --git a/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/AlertMessageMapper.xml b/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/AlertMessageMapper.xml index ac3e2078..ef1c2c8b 100644 --- a/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/AlertMessageMapper.xml +++ b/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/AlertMessageMapper.xml @@ -124,7 +124,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where am.id = #{id} - where g.equ_id = #{equid} AND a.batch = (