eason.qian 7 years ago
parent 690c25e399
commit 430dbda056

@ -46,9 +46,7 @@
SELECT m.* FROM sys_managers m
WHERE role & #{mask} >0 and m.is_valid=1
]]>
<if test="org_id!=null and org_ids==null">and m.org_id=#{org_id}</if>
<if test="org_ids!=null">and m.org_id in
<foreach collection="org_ids" item="org_id" open="(" close=")" separator=",">#{org_id}</foreach></if>
<if test="org_id!=null">and m.org_id=#{org_id}</if>
</select>
<select id="listRoyalPayUsers" resultType="com.alibaba.fastjson.JSONObject">
SELECT m.*

Loading…
Cancel
Save