|
@@ -203,6 +203,11 @@
|
|
|
WHERE
|
|
WHERE
|
|
|
iac.id = a.ins_order_no
|
|
iac.id = a.ins_order_no
|
|
|
AND orderstatus = 3
|
|
AND orderstatus = 3
|
|
|
|
|
+ <if test="params.quoteStartDateStr != null and params.quoteStartDateStr != '' and params.quoteEndDateStr != null and params.quoteEndDateStr != ''">
|
|
|
|
|
+ and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{params.quoteStartDateStr} AND
|
|
|
|
|
+ #{params.quoteEndDateStr}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ )
|
|
|
<if test="params.taskNo != null and params.taskNo != ''">
|
|
<if test="params.taskNo != null and params.taskNo != ''">
|
|
|
AND io.orderno = #{params.taskNo}
|
|
AND io.orderno = #{params.taskNo}
|
|
|
</if>
|
|
</if>
|
|
@@ -227,10 +232,7 @@
|
|
|
<if test="params.riskCode != null and params.riskCode != ''">
|
|
<if test="params.riskCode != null and params.riskCode != ''">
|
|
|
and iac.product = #{params.riskCode}
|
|
and iac.product = #{params.riskCode}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="params.quoteStartDateStr != null and params.quoteStartDateStr != '' and params.quoteEndDateStr != null and params.quoteEndDateStr != ''">
|
|
|
|
|
- and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{params.quoteStartDateStr} AND
|
|
|
|
|
- #{params.quoteEndDateStr}
|
|
|
|
|
- </if>
|
|
|
|
|
|
|
+
|
|
|
<if test="params.attachStartDateStr != null and params.attachStartDateStr != '' and params.attachStartDateStr != null and params.attachStartDateStr != '' ">
|
|
<if test="params.attachStartDateStr != null and params.attachStartDateStr != '' and params.attachStartDateStr != null and params.attachStartDateStr != '' ">
|
|
|
and ((
|
|
and ((
|
|
|
DATE_FORMAT(iac.jq_start_date, '%Y-%m-%d') BETWEEN #{params.attachStartDateStr}
|
|
DATE_FORMAT(iac.jq_start_date, '%Y-%m-%d') BETWEEN #{params.attachStartDateStr}
|
|
@@ -274,7 +276,6 @@
|
|
|
<if test="params.payStartDateStr != null and params.payStartDateStr != '' and params.payEndDateStr != null and params.payEndDateStr != ''">
|
|
<if test="params.payStartDateStr != null and params.payStartDateStr != '' and params.payEndDateStr != null and params.payEndDateStr != ''">
|
|
|
and DATE_FORMAT(iac.pay_date, '%Y-%m-%d') between #{params.payStartDateStr} AND #{params.payEndDateStr}
|
|
and DATE_FORMAT(iac.pay_date, '%Y-%m-%d') between #{params.payStartDateStr} AND #{params.payEndDateStr}
|
|
|
</if>
|
|
</if>
|
|
|
- )
|
|
|
|
|
order by iac.createtime desc
|
|
order by iac.createtime desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|