|
|
@@ -954,16 +954,15 @@
|
|
|
<if test="insOrdersParam.salesman!= null">
|
|
|
AND io.real_quote_user_id = #{insOrdersParam.salesman}
|
|
|
</if>
|
|
|
- <if test="insOrdersParam.companyId != null and insOrdersParam.companyId != ''">
|
|
|
- AND io.company_id = #{insOrdersParam.companyId}
|
|
|
- </if>
|
|
|
<if test="insOrdersParam.startDate != null and insOrdersParam.startDate != ''and insOrdersParam.endDate != null and insOrdersParam.endDate != ''">
|
|
|
AND io.create_time BETWEEN #{insOrdersParam.startDate} and #{insOrdersParam.endDate}
|
|
|
</if>
|
|
|
-
|
|
|
<if test="insOrdersParam.companyName != null and insOrdersParam.companyName != ''">
|
|
|
AND io.company_name = #{insOrdersParam.companyName}
|
|
|
</if>
|
|
|
+ <if test="insOrdersParam.companyId != null and insOrdersParam.companyId != ''">
|
|
|
+ AND io.company_id = #{insOrdersParam.companyId}
|
|
|
+ </if>
|
|
|
<if test="insOrdersParam.productCode != null and insOrdersParam.productCode != ''">
|
|
|
AND io.product_id = #{insOrdersParam.productCode}
|
|
|
</if>
|