mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 04:11:41 +08:00
提升系统稳定性
This commit is contained in:
@@ -80,7 +80,8 @@ public class UserLearnDurationStatsServiceImpl extends ServiceImpl<UserLearnDura
|
||||
|
||||
@Override
|
||||
public Integer userDuration(Integer userId) {
|
||||
return getBaseMapper().getUserDuration(userId);
|
||||
Integer totalDuration = getBaseMapper().getUserDuration(userId);
|
||||
return totalDuration == null ? 0 : totalDuration;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user