周星榜bug
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user