|
@@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="notifyUrl != null and notifyUrl != ''"> and notify_url = #{notifyUrl}</if>
|
|
<if test="notifyUrl != null and notifyUrl != ''"> and notify_url = #{notifyUrl}</if>
|
|
|
<if test="chatToolbar != null and chatToolbar != ''"> and chat_toolbar = #{chatToolbar}</if>
|
|
<if test="chatToolbar != null and chatToolbar != ''"> and chat_toolbar = #{chatToolbar}</if>
|
|
|
<if test="chatToolbarOauth != null and chatToolbarOauth != ''"> and chat_toolbar_oauth = #{chatToolbarOauth}</if>
|
|
<if test="chatToolbarOauth != null and chatToolbarOauth != ''"> and chat_toolbar_oauth = #{chatToolbarOauth}</if>
|
|
|
- <if test="companyIds != null and companyIds != ''"> and company_ids = #{companyIds}</if>
|
|
|
|
|
|
|
+ <if test="companyIds != null and companyIds != ''"> and FIND_IN_SET(#{companyIds}, company_ids) > 0</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="isBuy != null "> and isBuy = #{isBuy}</if>
|
|
<if test="isBuy != null "> and isBuy = #{isBuy}</if>
|
|
|
<if test="createDeptId != null "> and create_dept_id = #{createDeptId}</if>
|
|
<if test="createDeptId != null "> and create_dept_id = #{createDeptId}</if>
|