|
|
|
@ -51,9 +51,6 @@ |
|
|
|
<if test="params.quoteNo != null and params.quoteNo != ''"> |
|
|
|
and q.quote_no = #{params.quoteNo} |
|
|
|
</if> |
|
|
|
<if test="params.quoteVersionNo != null and params.quoteVersionNo != ''"> |
|
|
|
and q.quote_version_no = #{params.quoteVersionNo} |
|
|
|
</if> |
|
|
|
<if test="params.buNo != null and params.buNo != ''"> |
|
|
|
and q.bu_no = #{params.buNo} |
|
|
|
</if> |
|
|
|
@ -67,7 +64,7 @@ |
|
|
|
and q.status = #{params.status} |
|
|
|
</if> |
|
|
|
<if test="params.quoteVersionNo != null and params.quoteVersionNo != ''"> |
|
|
|
and q.quote_version_no = #{params.quoteVersionNo} |
|
|
|
and q.quote_version_no like #{params.quoteVersionNo} |
|
|
|
</if> |
|
|
|
<if test="params.customerDesc != null and params.customerDesc != ''"> |
|
|
|
and c.customer_desc like #{params.customerDesc} |
|
|
|
@ -85,7 +82,7 @@ |
|
|
|
and q.customer_inquiry_no like #{params.customerInquiryNo} |
|
|
|
</if> |
|
|
|
<if test="params.insideInquiryNo != null and params.insideInquiryNo != ''"> |
|
|
|
and q.customer_inquiry_no like #{params.insideInquiryNo} |
|
|
|
and q.inside_inquiry_no like #{params.insideInquiryNo} |
|
|
|
</if> |
|
|
|
<if test="params.startDate != null"> |
|
|
|
and q.quote_date >= #{params.startDate} |
|
|
|
@ -166,7 +163,7 @@ |
|
|
|
and q.status = #{ status} |
|
|
|
</if> |
|
|
|
<if test="quoteVersionNo != null and quoteVersionNo != ''"> |
|
|
|
and q.quote_version_no = #{ quoteVersionNo} |
|
|
|
and q.quote_version_no like #{ quoteVersionNo} |
|
|
|
</if> |
|
|
|
<if test="customerDesc != null and customerDesc != ''"> |
|
|
|
and c.customer_desc like #{ customerDesc} |
|
|
|
@ -184,7 +181,7 @@ |
|
|
|
and q.customer_inquiry_no like #{ customerInquiryNo} |
|
|
|
</if> |
|
|
|
<if test="insideInquiryNo != null and insideInquiryNo != ''"> |
|
|
|
and q.customer_inquiry_no like #{ insideInquiryNo} |
|
|
|
and q.inside_inquiry_no like #{ insideInquiryNo} |
|
|
|
</if> |
|
|
|
<if test="startDate != null"> |
|
|
|
and q.quote_date >= #{ startDate} |
|
|
|
|