周星榜bug

This commit is contained in:
2025-09-09 15:11:11 +08:00
parent efc5789557
commit 07f7ff281e

View File

@@ -221,7 +221,7 @@
</select>
<select id="getWeekStarCharmScore" resultType="java.lang.Long">
select ifnull(sum(gsr.total_gold_num),0) as total_gold_num
select sum(gsr.total_gold_num) as total_gold_num
from gift_send_record gsr
where gsr.create_time BETWEEN #{startDate} and #{endDate}
and gsr.recive_uid = #{uid}
@@ -229,10 +229,11 @@
<foreach collection="giftIdList" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
group by gsr.recive_uid
</select>
<select id="getWeekStarLevelScore" resultType="java.lang.Long">
select ifnull(sum(gsr.total_gold_num),0) as total_gold_num
select sum(gsr.total_gold_num) as total_gold_num
from gift_send_record gsr
where gsr.create_time BETWEEN #{startDate} and #{endDate}
and gsr.recive_uid = #{uid}
@@ -240,6 +241,7 @@
<foreach collection="giftIdList" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
group by gsr.recive_uid
</select>
<select id="listUserTotalGoldNum" resultType="com.accompany.sharding.model.GiftSendRecord">