Commit 8b084a5d by qwmqiuwenmin

fix

parent 6d488296
......@@ -413,7 +413,7 @@
<if test="gicContactFlag != null">
and contact_flag = #{gicContactFlag,jdbcType=INTEGER}
</if>
<if test="version != null and version == '2'">
<if test="version != null and version == 2">
<if test="keyword != null and keyword != '' and enterpriseIds != null and enterpriseIds.size() > 0">
and (corp_name like CONCAT('%',#{keyword},'%')
or wx_enterprise_id IN
......@@ -422,7 +422,7 @@
</foreach>
)
</if>
<if test="keyword != null and keyword != '' and (enterpriseIds == null or enterpriseIds.size() > 0)">
<if test="keyword != null and keyword != '' and (enterpriseIds == null or enterpriseIds.size() == 0)">
and (corp_name like CONCAT('%',#{keyword},'%')
</if>
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment