|
@@ -343,6 +343,12 @@
|
|
|
WHEN 2 THEN '审核驳回'
|
|
WHEN 2 THEN '审核驳回'
|
|
|
ELSE ifa.audit_status
|
|
ELSE ifa.audit_status
|
|
|
END AS checkResult,
|
|
END AS checkResult,
|
|
|
|
|
+ CASE io.entry_status
|
|
|
|
|
+ WHEN 1 THEN '车险出单'
|
|
|
|
|
+ WHEN 2 THEN '代客录单'
|
|
|
|
|
+ WHEN 3 THEN '补录订单'
|
|
|
|
|
+ ELSE ''
|
|
|
|
|
+ END AS order_type_name,
|
|
|
ifa.audit_time - ifa.create_time as checkDuration,
|
|
ifa.audit_time - ifa.create_time as checkDuration,
|
|
|
ifa.audit_user as checkUserPhone
|
|
ifa.audit_user as checkUserPhone
|
|
|
from
|
|
from
|
|
@@ -351,6 +357,8 @@
|
|
|
ifa.order_no = ioci.order_no
|
|
ifa.order_no = ioci.order_no
|
|
|
and ifa.system_code = #{systemCode}
|
|
and ifa.system_code = #{systemCode}
|
|
|
and ifa.receive_user = #{userName}
|
|
and ifa.receive_user = #{userName}
|
|
|
|
|
+ left join ins_orders io on
|
|
|
|
|
+ io.id = ifa.order_no
|
|
|
order by
|
|
order by
|
|
|
ifa.audit_time desc
|
|
ifa.audit_time desc
|
|
|
</select>
|
|
</select>
|