From c9586d61be8ae3411c6428a2cc2588c11f97db2c Mon Sep 17 00:00:00 2001
From: zhanzhiqin <895896009@qq.com>
Date: 星期五, 15 四月 2022 18:15:16 +0800
Subject: [PATCH] fix

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

diff --git a/dao/src/main/resources/mapper/LightPoleHeelingMapper.xml b/dao/src/main/resources/mapper/LightPoleHeelingMapper.xml
index c0dd9aa..63dd51c 100644
--- a/dao/src/main/resources/mapper/LightPoleHeelingMapper.xml
+++ b/dao/src/main/resources/mapper/LightPoleHeelingMapper.xml
@@ -37,6 +37,9 @@
             <if test="processingState != null and processingState != 2">
                 AND t1.processing_state = #{processingState}
             </if>
+            <if test="userid != null">
+                AND (t3.user_id = #{userid} OR t3.client_id = #{userid})
+            </if>
         </where>
 
     </select>

--
Gitblit v1.9.3