Commit c4f8f7e6 by 杨林龙

重复度 >= 50 就是有效试驾

1 parent c9223141
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<select id="statisticsDriveDataEveryDay" resultType="cn.com.glsx.stdinterface.dto.StatisticsDriveDto"> <select id="statisticsDriveDataEveryDay" resultType="cn.com.glsx.stdinterface.dto.StatisticsDriveDto">
select sn, select sn,
sum(case when percent >= 80 then 1 else 0 end) as driveNum, sum(case when percent >= 50 then 1 else 0 end) as driveNum,
count(1) as driveTotal, count(1) as driveTotal,
left(journey_time,10) as driveTime left(journey_time,10) as driveTime
from t_electric_fence_drive from t_electric_fence_drive
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!