From a74a763d8efdda779b4c5e340f850c20a7f4ca9d Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期六, 02 九月 2023 14:07:20 +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