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 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'>
<foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId}
</foreach>
or
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}
</foreach>
))
......@@ -739,13 +739,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
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}
</foreach>
or
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}
</foreach>
)
......@@ -1727,13 +1727,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'>
<foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId}
</foreach>
or
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}
</foreach>
))
......@@ -1741,13 +1741,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
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}
</foreach>
or
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}
</foreach>
)
......@@ -2481,13 +2481,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'>
<foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId}
</foreach>
or
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}
</foreach>
))
......@@ -2495,13 +2495,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
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}
</foreach>
or
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}
</foreach>
)
......@@ -3169,13 +3169,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds'>
<foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId}
</foreach>
or
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}
</foreach>
))
......@@ -3183,13 +3183,13 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
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}
</foreach>
or
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}
</foreach>
)
......@@ -4315,24 +4315,24 @@
<if test="query.salesmanIds != null and query.salesmanIds.size()==1 ">
AND (o.`salesman_id` =
<foreach item='salesmanId' index="index" collection='query.salesmanIds' >
<foreach item='salesmanId' index="index" collection='query.salesmanIds' open='(' separator=',' close=')'>
#{salesmanId}
</foreach>
or
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}
</foreach> ))
</if>
<if test="query.salesmanIds != null and query.salesmanIds.size()>1 ">
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}
</foreach>
or
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}
</foreach> ))
</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