Commit 9a0c01dc by duanhq

同上 by duanht 2019/3/4

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18058 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 28cae0eb
......@@ -593,21 +593,22 @@
</otherwise>
</choose>
<where>
u.org_id in
<foreach collection="ids" item="item" index="index"
open="(" separator="," close=")">#{item}
</foreach>
</where>
<choose>
<when test="userStatus != null and userStatus!=''">
and u.user_status = #{userStatus,jdbcType=VARCHAR}
where u.user_status = #{userStatus,jdbcType=VARCHAR}
</when>
<otherwise>
and u.user_status &lt;&gt; 'sys_user_status_logout'
where u.user_status &lt;&gt; 'sys_user_status_logout'
</otherwise>
</choose>
<if test="ids != null">
and u.org_id in
<foreach collection="ids" item="item" index="index"
open="(" separator="," close=")">#{item}
</foreach>
</if>
<if test="id != null and id!=''">
and u.id = #{id,jdbcType=TINYINT}
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!