|
|
@@ -6,9 +6,9 @@
|
|
|
<select id="selectActiveCodeByFollowIndx" resultType="com.cyksj.model.entity.CorpCustomerAcquisitionLink">
|
|
|
select *
|
|
|
from corp_customer_acquisition_link
|
|
|
- where user_list != '[]'
|
|
|
+ where user_list != '[]' and
|
|
|
<foreach collection="list" item="item" separator="OR">
|
|
|
- JSON_CONTAINS(user_list, '[#{item}]')
|
|
|
+ JSON_CONTAINS(user_list, '${item}')
|
|
|
</foreach>
|
|
|
</select>
|
|
|
</mapper>
|