From a346e2af25169c885c634edc6b9fa619053a50b7 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期三, 27 九月 2023 11:49:14 +0800
Subject: [PATCH] 优化获取附近井接口分页

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 8e1754c..49f1b86 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -293,6 +293,6 @@
     </select>
 
     <select id="userByPlanId" parameterType="String" resultMap="SysUserResult">
-        select nick_name from sys_user where id in (select app_user_id from ard_app_patroluser where patrolplan_id = ${id})
+        select user_id,nick_name from sys_user where user_id in (select app_user_id from ard_app_patroluser where patrolplan_id = #{id})
     </select>
 </mapper> 
\ No newline at end of file

--
Gitblit v1.9.3