Merge pull request 'demand: tms-统计报表-月结客户出货统计-查询性能优化' (#230) from develop into master
Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/230
This commit is contained in:
commit
36e89aa340
@ -4124,6 +4124,18 @@
|
|||||||
<if test="receiveCountry != null and receiveCountry != ''">
|
<if test="receiveCountry != null and receiveCountry != ''">
|
||||||
AND a.receive_country = #{receiveCountry}
|
AND a.receive_country = #{receiveCountry}
|
||||||
</if>
|
</if>
|
||||||
|
<!-- 销售主管 -->
|
||||||
|
<if test="salesExecutive != null and salesExecutive != ''">
|
||||||
|
AND a3.sales_executive LIKE CONCAT('%', #{salesExecutive}, '%')
|
||||||
|
</if>
|
||||||
|
<!-- 销售支持 -->
|
||||||
|
<if test="salesSupport != null and salesSupport != ''">
|
||||||
|
AND a3.sales_support LIKE CONCAT('%', #{salesSupport}, '%')
|
||||||
|
</if>
|
||||||
|
<!-- 销售联系人 -->
|
||||||
|
<if test="salesmen != null and salesmen != ''">
|
||||||
|
AND a3.salesmen LIKE CONCAT('%', #{salesmen}, '%')
|
||||||
|
</if>
|
||||||
<!-- 运输方式筛选 -->
|
<!-- 运输方式筛选 -->
|
||||||
<if test="transType != null and transType != ''">
|
<if test="transType != null and transType != ''">
|
||||||
AND EXISTS (
|
AND EXISTS (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user