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