gamedatafixed

This commit is contained in:
2025-08-18 10:59:45 +08:00
parent 952096471a
commit d15f1e72d4

View File

@@ -223,14 +223,16 @@ public class GameDayStatDataServiceImpl extends ServiceImpl<GameDayStatDataMappe
throw new AdminServiceException("请选择第三方名称");
}
List<Long> uids = new ArrayList<>();
String[] split = erbanNoStr.trim().split(SymbolConstants.COMMA);
List<Long> erbanNos = Arrays.stream(split).map(Long::valueOf).collect(Collectors.toList());
for (Long erbanNo : erbanNos) {
Users user = usersService.getUserByErbanNo(erbanNo);
if (user == null) {
throw new AdminServiceException(erbanNo + " 用户不存在");
if (StringUtils.isNotEmpty(erbanNoStr)) {
String[] split = erbanNoStr.trim().split(SymbolConstants.COMMA);
List<Long> erbanNos = Arrays.stream(split).map(Long::valueOf).collect(Collectors.toList());
for (Long erbanNo : erbanNos) {
Users user = usersService.getUserByErbanNo(erbanNo);
if (user == null) {
throw new AdminServiceException(erbanNo + " 用户不存在");
}
uids.add(user.getUid());
}
uids.add(user.getUid());
}
Date beginTime, endTime;
Date now = new Date();