@@ -45,7 +45,10 @@
user_appointment ua
left join institutional_information ii
on ii.id = ua.org_id
- where ii.sys_id = #{user.id}
+ <where>
+ <if test="user.id != 1">
+ ii.sys_id = #{user.id}
+ </if>
+ </where>
</select>
-
</mapper>