|
@@ -210,6 +210,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="noticeNumber != null and noticeNumber != ''">and so.notice_number = #{noticeNumber}</if>
|
|
|
<if test="customerId != null and customerId != ''">and c.id = #{customerId}</if>
|
|
|
<if test="noticeDate != null ">and so.notice_date = #{noticeDate}</if>
|
|
|
+ <if test="orderType == 'contractOrder'">
|
|
|
+ and so.sale_order_technology_no != 'retailOrder'
|
|
|
+ </if>
|
|
|
+ <if test="orderType == 'retailOrder'">
|
|
|
+ and so.sale_order_technology_no = 'retailOrder'
|
|
|
+ </if>
|
|
|
order by so.id desc
|
|
|
</select>
|
|
|
<select id="financialStatementExportList" resultType="com.zkqy.business.domain.vo.ProductInvoiceFinancialExportVo" parameterType="com.zkqy.business.domain.vo.ProductInvoiceFinancialExportVo">
|