guarantee-lsq il y a 1 an
Parent
commit
8fa44a6286

+ 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>