From 779c235959bd1979381b07ffe561242c9cdd9ce2 Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期一, 19 二月 2024 15:32:35 +0800
Subject: [PATCH] 指挥端查看权限下全部单兵端提交

---
 ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
index 6f5aedd..67d8437 100644
--- a/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
+++ b/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
@@ -60,7 +60,7 @@
         right join sys_user su on asu.sys_user_id = su.user_id
         <where>
             <if test="sysUserId != null  and sysUserId != ''"> and sys_user_id = #{sysUserId}</if>
-            <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
+            <if test="userId != null  and userId != ''"> and asu.user_id = #{userId}</if>
             <if test="password != null  and password != ''"> and password = #{password}</if>
             <if test="reserved1 != null  and reserved1 != ''"> and reserved_1 = #{reserved1}</if>
             <if test="reserved2 != null  and reserved2 != ''"> and reserved_2 = #{reserved2}</if>

--
Gitblit v1.9.3