From 3e398dfbd544c651d32cd07b4a6949a4896f1c24 Mon Sep 17 00:00:00 2001
From: zhanzhiqin <895896009@qq.com>
Date: 星期五, 22 四月 2022 14:53:13 +0800
Subject: [PATCH] fix

---
 dao/src/main/resources/mapper/LightReportErrorMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dao/src/main/resources/mapper/LightReportErrorMapper.xml b/dao/src/main/resources/mapper/LightReportErrorMapper.xml
index 2f3d725..20cc56c 100644
--- a/dao/src/main/resources/mapper/LightReportErrorMapper.xml
+++ b/dao/src/main/resources/mapper/LightReportErrorMapper.xml
@@ -30,11 +30,15 @@
                 AND (
                 t3.id LIKE CONCAT('%', #{keyword},'%')
                 OR t3.pole_name LIKE CONCAT('%', #{keyword},'%')
+                OR t1.error_code LIKE CONCAT('%', #{keyword},'%')
                 )
             </if>
             <if test="userid != null">
                 AND (t3.user_id = #{userid} OR t3.client_id = #{userid})
             </if>
+            <if test="error_code != null">
+                AND t1.error_code = #{error_code}
+            </if>
         </where>
         ORDER BY t1.light_report_error_id DESC
     </select>

--
Gitblit v1.9.3