幸运25-后台-查询-表名

This commit is contained in:
khalil
2025-05-07 16:03:50 +08:00
parent 2a393b7b4d
commit ddd7dc9044

View File

@@ -16,7 +16,7 @@
count(*) `num`,
count((case when win_gold_num > 0 then 1 end)) `winNum`,
max(win_gold_num) `maxOutput`
from lucky_24_record r
from lucky_25_record r
where r.create_time >= #{startTime} and r.create_time <= #{endTime}
and r.partition_id = #{partitionId}
group by `date`, uid) l
@@ -34,7 +34,7 @@
count(*) `num`,
count((case when win_gold_num > 0 then r.uid else null end)) `winNum`,
ifnull(count((case when win_gold_num > 0 then r.uid else null end)) / count(*),0) `winRate`
from lucky_24_record r
from lucky_25_record r
where r.create_time >= #{startTime} and r.create_time <= #{endTime}
<if test="null != uid">
and r.uid = #{uid}