|
@@ -121,7 +121,7 @@ public class UserIncrementServiceImpl extends ServiceImpl<IUserIncrementMapper,
|
|
|
|
|
|
if(userIncrementList.size() >0){
|
|
|
this.saveBatch(userIncrementList);
|
|
|
- user.setDownloadNumTotal(user.getDownloadNumTotal() + param.getCount() * incrementType.getDownloadNum());
|
|
|
+ user.setDownloadNumTotal(user.getDownloadNumTotal() + param.getCount() *param.getTotalTime() * incrementType.getDownloadNum());
|
|
|
userService.updateById(user);
|
|
|
agentNewService.subNum(agentNewVo,user.getId(),incrementType,param.getCount(),param.getTotalTime(),0);
|
|
|
|