Commit 299d235b authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'release-fix' into release

parents ecb07228 1e0ae5f6
...@@ -725,13 +725,13 @@ ...@@ -725,13 +725,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` = AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service = cus.customer_service =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
)) ))
...@@ -739,13 +739,13 @@ ...@@ -739,13 +739,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
AND (o.`salesman_id` in AND (o.`salesman_id` in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in cus.customer_service in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
) )
...@@ -1727,13 +1727,13 @@ ...@@ -1727,13 +1727,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` = AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service = cus.customer_service =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
)) ))
...@@ -1741,13 +1741,13 @@ ...@@ -1741,13 +1741,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
AND (o.`salesman_id` in AND (o.`salesman_id` in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in cus.customer_service in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
) )
...@@ -2481,13 +2481,13 @@ ...@@ -2481,13 +2481,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` = AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service = cus.customer_service =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
)) ))
...@@ -2495,13 +2495,13 @@ ...@@ -2495,13 +2495,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
AND (o.`salesman_id` in AND (o.`salesman_id` in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in cus.customer_service in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
) )
...@@ -3169,13 +3169,13 @@ ...@@ -3169,13 +3169,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` = AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service = cus.customer_service =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
)) ))
...@@ -3183,13 +3183,13 @@ ...@@ -3183,13 +3183,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
AND (o.`salesman_id` in AND (o.`salesman_id` in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in cus.customer_service in
<foreach item='salesmanId' index="index" collection='query.salesmanIds'> <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
) )
...@@ -4315,24 +4315,24 @@ ...@@ -4315,24 +4315,24 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` = AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds' > <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service = o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service =
<foreach item='salesmanId' index="index" collection='query.salesmanIds' > <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> )) </foreach> ))
</if> </if>
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 "> <if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
AND (o.`salesman_id` in AND (o.`salesman_id` in
<foreach item='salesmanId' index="index" collection='query.salesmanIds' > <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> </foreach>
or or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service in o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service in
<foreach item='salesmanId' index="index" collection='query.salesmanIds' > <foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId} #{salesmanId}
</foreach> )) </foreach> ))
</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