From 88ffead7ba6041085e5d3da884030a468748c952 Mon Sep 17 00:00:00 2001 From: xiaohuo <14141624+dsgfhrh@user.noreply.gitee.com> Date: Sun, 9 Nov 2025 15:48:13 +0800 Subject: [PATCH] =?UTF-8?q?11.9=E9=A2=84=E8=AD=A6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=9A=84=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/alops/system/domain/dto/AlertDto.java | 2 ++ .../main/resources/mapper/system/AlertMessageMapper.xml | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/dto/AlertDto.java b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/dto/AlertDto.java index 1e788111..1886f959 100644 --- a/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/dto/AlertDto.java +++ b/ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/dto/AlertDto.java @@ -12,4 +12,6 @@ public class AlertDto { private String status; private String location; private String inCharge; + private String name; + private String equNumber; } 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 ef1c2c8b..f13c626d 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 @@ -82,6 +82,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND eb.in_charge = #{inCharge} + + + AND eb.name LIKE CONCAT('%', #{name}, '%') + + + + + AND eb.equ_number = #{equNumber} + ORDER BY am.batch DESC