Commit e76cd6dc authored by 332784038@qq.com's avatar 332784038@qq.com

sql修复

parent 2ac4cdf6
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
</foreach> </foreach>
</if> </if>
</if> </if>
<if test="query.destCountryIds != null and query.objectiveIds.size()>0 "> <if test="query.destCountryIds != null and query.destCountryIds.size()>0 ">
AND ob.`objective_country_id` in AND ob.`objective_country_id` in
<foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'> <foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'>
#{destCountryId} #{destCountryId}
...@@ -687,7 +687,7 @@ ...@@ -687,7 +687,7 @@
<!-- </foreach>--> <!-- </foreach>-->
<!-- </if>--> <!-- </if>-->
<!-- </if>--> <!-- </if>-->
<!-- <if test="query.destCountryIds != null and query.objectiveIds.size()>0 ">--> <!-- <if test="query.destCountryIds != null and query.destCountryIds.size()>0 ">-->
<!-- AND ob.`objective_country_id` in--> <!-- AND ob.`objective_country_id` in-->
<!-- <foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'>--> <!-- <foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'>-->
<!-- #{destCountryId}--> <!-- #{destCountryId}-->
...@@ -1730,7 +1730,7 @@ ...@@ -1730,7 +1730,7 @@
</foreach> </foreach>
</if> </if>
</if> </if>
<if test="query.destCountryIds != null and query.objectiveIds.size()>0 "> <if test="query.destCountryIds != null and query.destCountryIds.size()>0 ">
AND ob.`objective_country_id` in AND ob.`objective_country_id` in
<foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'> <foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'>
#{destCountryId} #{destCountryId}
...@@ -2295,7 +2295,7 @@ ...@@ -2295,7 +2295,7 @@
</foreach> </foreach>
</if> </if>
</if> </if>
<if test="query.destCountryIds != null and query.objectiveIds.size()>0 "> <if test="query.destCountryIds != null and query.destCountryIds.size()>0 ">
AND ob.`objective_country_id` in AND ob.`objective_country_id` in
<foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'> <foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'>
#{destCountryId} #{destCountryId}
...@@ -2880,7 +2880,7 @@ ...@@ -2880,7 +2880,7 @@
</foreach> </foreach>
</if> </if>
</if> </if>
<if test="query.destCountryIds != null and query.objectiveIds.size()>0 "> <if test="query.destCountryIds != null and query.destCountryIds.size()>0 ">
AND ob.`objective_country_id` in AND ob.`objective_country_id` in
<foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'> <foreach item='destCountryId' index='index' collection='query.destCountryIds' open='(' separator=',' close=')'>
#{destCountryId} #{destCountryId}
......
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