周星榜bug

This commit is contained in:
2025-09-09 14:28:32 +08:00
parent 3843d5f443
commit efc5789557

View File

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