guarantee-lsq vor 1 Jahr
Ursprung
Commit
8fa44a6286
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      platform-dao/src/main/resources/mapper/upms/SysUserMapper.xml

+ 3 - 0
platform-dao/src/main/resources/mapper/upms/SysUserMapper.xml

@@ -224,6 +224,9 @@
         <if test="roleId!=null and roleId!=''">
             and role.role_id=#{roleId}
         </if>
+        <if test="userId !=null and userId !=''">
+            and user.user_id = #{userId}
+        </if>
         GROUP BY user.`user_id`
         order by user.update_time desc
     </select>