Commit 5750242e authored by lcl's avatar lcl

u

parent 81c53462
......@@ -13,22 +13,24 @@
where recommend_org_id = 'F17305B4EA4444CBAB12892C7B99E475'
<if test="bo.customerName != null and bo.customerName != '' "> and customer_name like concat('%',#{bo.customerName},'%')</if>
<if test="bo.region != null and bo.region != '' ">
and register_region in
<foreach collection="region" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="bo.province != null and bo.province != '' ">
and register_province in
<foreach collection="province" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="bo.city != null and bo.city != '' ">
and register_city in
<foreach collection="city" item="item" open="(" separator="," close=")">
#{item}
and (
<foreach collection="region" item="item" open="(" separator=" or " close=")">
register_region = #{item}
<if test="bo.province != null and bo.province != '' ">
and (
<foreach collection="province" item="item" open="(" separator=" or " close=")">
register_province = #{item}
<if test="bo.city != null and bo.city != '' ">
and register_city in
<foreach collection="city" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</foreach>
)
</if>
</foreach>
)
</if>
<if test="bo.customerClass != null and bo.customerClass != '' ">
and customer_class in
......
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