|
|
@@ -1969,7 +1969,7 @@
|
|
|
SELECT
|
|
|
IFNULL(count(io.licenseno),0) as "orderNumber",
|
|
|
IFNULL(sum(TIMESTAMPDIFF(SECOND, iac.createtime, iac.audittime)),0) as "sumSecond",
|
|
|
- IFNULL(sum(TIMESTAMPDIFF(SECOND, iac.createtime, iac.audittime)),0) / count(io.licenseno) as "averageSecond"
|
|
|
+ ROUND(IFNULL(sum(TIMESTAMPDIFF(SECOND, iac.createtime, iac.audittime)),0) / count(io.licenseno),2) as "averageSecond"
|
|
|
FROM
|
|
|
ins_fee_audit ifa
|
|
|
LEFT JOIN ins_orders io ON io.orderno = ifa.orderno
|