|
|
@@ -812,14 +812,14 @@
|
|
|
io.agreeid as agreeid,
|
|
|
iac.productid as productid,
|
|
|
iac.product as product,
|
|
|
- io.createtime as createtime,
|
|
|
+ iac.createtime as createtime,
|
|
|
io.frameno as frameno,
|
|
|
io.licenseno as licenseno,
|
|
|
io.insuredname as insuredname,
|
|
|
- io.jqstartdate as jqstartdate,
|
|
|
- io.jqenddate as jqenddate,
|
|
|
- io.systartdate as systartdate,
|
|
|
- io.syenddate as syenddate,
|
|
|
+ iac.jq_start_date as jqstartdate,
|
|
|
+ iac.jq_end_date as jqenddate,
|
|
|
+ iac.sy_start_date as systartdate,
|
|
|
+ iac.sy_end_date as syenddate,
|
|
|
io.risk as risk,
|
|
|
io.king as king,
|
|
|
io.vehicle_and_vessel_tax as vehicleAndVesselTax,
|
|
|
@@ -897,7 +897,7 @@
|
|
|
and io.insuredname = #{orderQueryVo.insuredName}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
|
- and DATE_FORMAT(io.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
|
+ and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
and iac.company_id = #{orderQueryVo.companyId}
|
|
|
@@ -937,10 +937,10 @@
|
|
|
</if>
|
|
|
<if test="orderQueryVo.attachStartDateStr != null and orderQueryVo.attachEndDateStr != ''">
|
|
|
and ((
|
|
|
- DATE_FORMAT(io.jqstartdate, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr}
|
|
|
+ DATE_FORMAT(iac.jq_start_date, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr}
|
|
|
AND #{orderQueryVo.attachEndDateStr}
|
|
|
)
|
|
|
- OR ( DATE_FORMAT(io.systartdate, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr} AND #{orderQueryVo.attachEndDateStr} )
|
|
|
+ OR ( DATE_FORMAT(iac.sy_start_date, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr} AND #{orderQueryVo.attachEndDateStr} )
|
|
|
)
|
|
|
</if>
|
|
|
</where>
|
|
|
@@ -1009,7 +1009,7 @@
|
|
|
and io.insuredname = #{orderQueryVo.insuredName}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
|
- and DATE_FORMAT(io.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
|
+ and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
and iac.company_id = #{orderQueryVo.companyId}
|
|
|
@@ -1049,10 +1049,10 @@
|
|
|
</if>
|
|
|
<if test="orderQueryVo.attachStartDateStr != null and orderQueryVo.attachEndDateStr != ''">
|
|
|
and ((
|
|
|
- DATE_FORMAT(io.jqstartdate, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr}
|
|
|
+ DATE_FORMAT(iac.jq_start_date, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr}
|
|
|
AND #{orderQueryVo.attachEndDateStr}
|
|
|
)
|
|
|
- OR ( DATE_FORMAT(io.systartdate, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr} AND #{orderQueryVo.attachEndDateStr} )
|
|
|
+ OR ( DATE_FORMAT(iac.sy_start_date, '%Y-%m-%d') BETWEEN #{orderQueryVo.attachStartDateStr} AND #{orderQueryVo.attachEndDateStr} )
|
|
|
)
|
|
|
</if>
|
|
|
</where>
|