Commit 2cfdc0f9 authored by liuzeheng's avatar liuzeheng

目的国

parent 34099b02
...@@ -4068,8 +4068,21 @@ ...@@ -4068,8 +4068,21 @@
<if test = "query.departureId != null "> <if test = "query.departureId != null ">
AND de.`departure_id` = #{query.departureId} AND de.`departure_id` = #{query.departureId}
</if> </if>
<if test = "query.objectiveId != null "> <!-- <if test = "query.objectiveId != null ">-->
AND ob.`objective_id` = #{query.objectiveId} <!-- AND ob.`objective_id` = #{query.objectiveId}-->
<!-- </if>-->
<if test="query.objectiveId != null and query.objectiveId.size() != 0">
AND ob.`objective_id` in
<foreach item='orderId' index='index' collection='query.objectiveId' open='(' separator=',' close=')'>
#{orderId}
</foreach>
</if>
<if test="query.destCountryId != null ">
AND ob.`objective_country_id` in
<foreach item='destCountryId' index='index' collection='query.destCountryId' open='(' separator=',' close=')'>
#{destCountryId}
</foreach>
</if> </if>
<if test = "query.consignorId != null "> <if test = "query.consignorId != null ">
AND nor.`customer_id` = #{query.consignorId} AND nor.`customer_id` = #{query.consignorId}
......
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