From 8adb5f2dda515e44d05690400065c61669911139 Mon Sep 17 00:00:00 2001
From: LHN <31457034@qq.com>
Date: 星期三, 19 十月 2022 15:41:00 +0800
Subject: [PATCH] changes
---
dao/src/main/resources/mapper/LightReportErrorMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dao/src/main/resources/mapper/LightReportErrorMapper.xml b/dao/src/main/resources/mapper/LightReportErrorMapper.xml
index cea33d4..965f330 100644
--- a/dao/src/main/resources/mapper/LightReportErrorMapper.xml
+++ b/dao/src/main/resources/mapper/LightReportErrorMapper.xml
@@ -53,7 +53,7 @@
LEFT JOIN pole t3 ON t1.device_code = t3.device_code
WHERE
<if test="userid != null">
- t3.client_id = #{userId} OR t3.user_id = #{userId}
+ t3.client_id = #{userId} OR t3.user_id = #{userId} AND
</if>
t1.light_report_error_id IN ( SELECT t.max_id FROM ( SELECT Max( light_report_error.light_report_error_id ) AS
max_id FROM light_report_error GROUP BY light_report_error.device_code ) AS t )
--
Gitblit v1.9.3