|
|
@@ -1034,7 +1034,7 @@
|
|
|
and REPLACE(JSON_EXTRACT(io.applyinfo, '$.name'),'"','') = #{orderQueryVo.insuredName}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
|
- and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
|
+ and iac.createtime >= #{orderQueryVo.quoteStartDateStr} AND iac.createtime <![CDATA[ <= ]]> #{orderQueryVo.quoteEndDateStr}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
and iac.company_id = #{orderQueryVo.companyId}
|
|
|
@@ -1097,7 +1097,7 @@
|
|
|
</when>
|
|
|
</choose>
|
|
|
<if test="orderQueryVo.signStartDateStr != null and orderQueryVo.signEndDateStr != null">
|
|
|
- and DATE_FORMAT(iac.signing_time, '%Y-%m-%d') between #{orderQueryVo.signStartDateStr} AND #{orderQueryVo.signEndDateStr}
|
|
|
+ and iac.signing_time >= #{orderQueryVo.signStartDateStr} AND iac.signing_time <![CDATA[ <= ]]> #{orderQueryVo.signEndDateStr}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.entryStatus != null and orderQueryVo.entryStatus != ''">
|
|
|
and io.entry_status = #{orderQueryVo.entryStatus }
|
|
|
@@ -1197,7 +1197,7 @@
|
|
|
and REPLACE(JSON_EXTRACT(io.applyinfo, '$.name'),'"','') = #{orderQueryVo.insuredName}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
|
- and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
|
+ and iac.createtime >= #{orderQueryVo.quoteStartDateStr} AND iac.createtime <![CDATA[ <= ]]> #{orderQueryVo.quoteEndDateStr}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
and iac.company_id = #{orderQueryVo.companyId}
|
|
|
@@ -1260,7 +1260,7 @@
|
|
|
</when>
|
|
|
</choose>
|
|
|
<if test="orderQueryVo.signStartDateStr != null and orderQueryVo.signEndDateStr != null">
|
|
|
- and DATE_FORMAT(iac.signing_time, '%Y-%m-%d') between #{orderQueryVo.signStartDateStr} AND #{orderQueryVo.signEndDateStr}
|
|
|
+ and iac.signing_time >= #{orderQueryVo.signStartDateStr} AND iac.signing_time <![CDATA[ <= ]]> #{orderQueryVo.signEndDateStr}
|
|
|
</if>
|
|
|
<if test="orderQueryVo.entryStatus != null and orderQueryVo.entryStatus != ''">
|
|
|
and io.entry_status = #{orderQueryVo.entryStatus }
|