main
parent
6b4b11729c
commit
5ff0814995
|
|
@ -181,7 +181,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="isMember != null "> and a.is_member = #{isMember}</if>
|
||||
<if test="appId != null "> and a.id != #{appId}</if>
|
||||
<if test="school != null and school != ''"> and a.school = #{school}</if>
|
||||
<if test="companyName != null and companyName != ''"> and a.company_name like concat('%', #{companyName}, '%')</if>
|
||||
<if test="companyName != null and companyName != ''">
|
||||
and (a.company_name like concat('%', #{companyName}, '%')
|
||||
or a.username like concat('%', #{companyName}, '%')
|
||||
or s.name like concat('%', #{companyName}, '%')
|
||||
)
|
||||
</if>
|
||||
<if test="ids != null and ids.size()"> and a.id not in
|
||||
<foreach collection="ids" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
|
|
|
|||
Loading…
Reference in New Issue