|
|
@@ -132,7 +132,29 @@
|
|
|
|
|
|
<select id="getAuditOrders" resultType="com.ydtech.modules.order.entity.InsOrders">
|
|
|
SELECT
|
|
|
- io.*,
|
|
|
+ io.orderno,
|
|
|
+ io.quoteno,
|
|
|
+ io.orderstatus,
|
|
|
+ io.company_id,
|
|
|
+ io.ins_company,
|
|
|
+ io.carinfo,
|
|
|
+ io.userid,
|
|
|
+ io.username,
|
|
|
+ io.deptid,
|
|
|
+ io.deptname,
|
|
|
+ io.agreeid,
|
|
|
+ iac.productid,
|
|
|
+ iac.product,
|
|
|
+ io.createtime,
|
|
|
+ io.frameno,
|
|
|
+ io.licenseno,
|
|
|
+ io.insuredname,
|
|
|
+ io.jqstartdate,
|
|
|
+ io.jqenddate,
|
|
|
+ io.systartdate,
|
|
|
+ io.syenddate,
|
|
|
+ io.vehicle_and_vessel_tax,
|
|
|
+ io.operatorid,
|
|
|
sd.management_source,
|
|
|
CASE ifa.audituser
|
|
|
WHEN '自动审核' THEN ifa.audituser
|
|
|
@@ -186,7 +208,7 @@
|
|
|
and JSON_EXTRACT( io.carinfo, '$.engineNo' ) = #{params.engineNo}
|
|
|
</if>
|
|
|
<if test="params.riskCode != null and params.riskCode != ''">
|
|
|
- and io.product = #{params.riskCode}
|
|
|
+ and iac.product = #{params.riskCode}
|
|
|
</if>
|
|
|
<if test="params.quoteStartDateStr != null and params.quoteStartDateStr != '' and params.quoteEndDateStr != null and params.quoteEndDateStr != ''">
|
|
|
and DATE_FORMAT(io.createtime, '%Y-%m-%d') between #{params.quoteStartDateStr} AND #{params.quoteEndDateStr}
|