|
@@ -900,7 +900,7 @@
|
|
|
iac.createtime as createtime,
|
|
iac.createtime as createtime,
|
|
|
io.frameno as frameno,
|
|
io.frameno as frameno,
|
|
|
io.licenseno as licenseno,
|
|
io.licenseno as licenseno,
|
|
|
- io.insuredname as insuredname,
|
|
|
|
|
|
|
+ REPLACE(JSON_EXTRACT(io.applyinfo, '$.name'),'"','') as insuredname,
|
|
|
iac.jq_start_date as jqstartdate,
|
|
iac.jq_start_date as jqstartdate,
|
|
|
iac.jq_end_date as jqenddate,
|
|
iac.jq_end_date as jqenddate,
|
|
|
iac.sy_start_date as systartdate,
|
|
iac.sy_start_date as systartdate,
|
|
@@ -996,7 +996,7 @@
|
|
|
and io.licenseno = #{orderQueryVo.licenseNo}
|
|
and io.licenseno = #{orderQueryVo.licenseNo}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="orderQueryVo.insuredName != null and orderQueryVo.insuredName != ''">
|
|
<if test="orderQueryVo.insuredName != null and orderQueryVo.insuredName != ''">
|
|
|
- and io.insuredname = #{orderQueryVo.insuredName}
|
|
|
|
|
|
|
+ and REPLACE(JSON_EXTRACT(io.applyinfo, '$.name'),'"','') = #{orderQueryVo.insuredName}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
|
and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
@@ -1137,7 +1137,7 @@
|
|
|
and io.licenseno = #{orderQueryVo.licenseNo}
|
|
and io.licenseno = #{orderQueryVo.licenseNo}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="orderQueryVo.insuredName != null and orderQueryVo.insuredName != ''">
|
|
<if test="orderQueryVo.insuredName != null and orderQueryVo.insuredName != ''">
|
|
|
- and io.insuredname = #{orderQueryVo.insuredName}
|
|
|
|
|
|
|
+ and REPLACE(JSON_EXTRACT(io.applyinfo, '$.name'),'"','') = #{orderQueryVo.insuredName}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
<if test="orderQueryVo.quoteStartDateStr != null and orderQueryVo.quoteEndDateStr != null">
|
|
|
and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|
|
and DATE_FORMAT(iac.createtime, '%Y-%m-%d') between #{orderQueryVo.quoteStartDateStr} AND #{orderQueryVo.quoteEndDateStr}
|