Authored by mingdan.ge

cps达人总排行榜

... ... @@ -50,7 +50,7 @@
<select id="selectTotalRankList" resultType="com.yoho.service.model.union.bo.UninoShareIncomeBo" >
select sum(amount) as amount ,uid,alias,nickname,image,order_num as orderNum
from union_share_orders_month
group by uid
group by alias
order by sum(amount) desc
limit #{start},#{size}
</select>
... ...
... ... @@ -31,8 +31,8 @@ public class CpsVirtualUserTask {
private static String VIRTUAL_ADD_KEY = "yh:union:share:virtual:add";
// 每天07:30执行
@Scheduled(cron = "1 55 7 * * ?")
// 每天07:55:01执行
@Scheduled(cron = "1/20 55 7 * * ?")
// @Scheduled(cron = "10/25 59 14 * * ?")
public void run() {
logger.info("CpsVirtualUserTask.run,query redis for virtual.");
... ...