From 4269d20178cfab9253aacac15e1c02905c192428 Mon Sep 17 00:00:00 2001 From: aijinhui <aijinhui> Date: 星期五, 15 十二月 2023 13:33:52 +0800 Subject: [PATCH] 设备健康列表 --- ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml index d33f4d4..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> @@ -124,14 +124,6 @@ select * from sys_user su where su.del_flag = '0' and su.user_id not in (select asu.sys_user_id from ard_sy_user asu) </select> - - <select id="selectArdSyUserByUsersId" resultType="java.util.Map" parameterType="java.lang.Integer" > - select asu.id,asu.user_id as userId,asu.password, - aus.users_id as usersId,au.name from ard_sy_user asu - inner join ard_users_sy aus on asu.id = aus.sy_user_id - inner join ard_users au on aus.users_id = au.id - where aus.users_id = #{usersId} - </select> <select id="userById" parameterType="String" resultMap="ArdSyUserResult"> <include refid="selectArdSyUserVo"/> -- Gitblit v1.9.3