修改--每日任务user_info添加总消费额更新
This commit is contained in:
parent
6890d39194
commit
f04b8d4823
@ -677,6 +677,9 @@ public class dailySysServer {
|
||||
// 近30天用户消费额
|
||||
Long thConsumption = userInfo.getThConsumption() + dailyUserYesterday.getConsumption() - dailyUserThirty.getConsumption();
|
||||
|
||||
// 总消费额
|
||||
Long tConsumption = userInfo.gettConsumption() + dailyUserYesterday.getConsumption();
|
||||
|
||||
// 总的在线时间
|
||||
Long tUserOnlineTime = userInfo.gettOnlineTime() + dailyUserYesterday.getOnlineTime();
|
||||
// 总的MR在线时间
|
||||
@ -691,6 +694,7 @@ public class dailySysServer {
|
||||
userInfo.setThConsumption(thConsumption);
|
||||
userInfo.settOnlineTime(tUserOnlineTime);
|
||||
userInfo.settMrTime(tUserMrTime);
|
||||
userInfo.settConsumption(tConsumption);
|
||||
|
||||
System.out.println("用户认证状态:"+userInfo.getAuthenticationStatus());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user