You've already forked FrameTour-BE
推客统计
This commit is contained in:
@ -43,7 +43,7 @@
|
||||
WHERE DATE_ADD(#{startTime}, INTERVAL (units.i + tens.i * 10 + hundreds.i * 100) DAY) <= #{endTime}
|
||||
) date_series
|
||||
LEFT JOIN broker_record br ON DATE(br.create_time) = date_series.date AND br.broker_id = #{brokerId}
|
||||
LEFT JOIN t_stats_record s ON s.action = 'CODE_SCAN' and s.identifier = br.id
|
||||
LEFT JOIN t_stats_record s ON s.action = 'CODE_SCAN' and DATE(s.create_time) = date_series.date and s.identifier = #{brokerId}
|
||||
GROUP BY date_series.date
|
||||
ORDER BY date_series.date
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user