This commit is contained in:
Chopper 2021-06-24 11:18:13 +08:00
parent d185de27dd
commit 158234412c

View File

@ -51,6 +51,9 @@ public class PlatformViewDataServiceImpl extends ServiceImpl<PlatformViewDataMap
@Autowired @Autowired
private Cache cache; private Cache cache;
//平台流量统计
@Autowired
private PlatformViewDataMapper platformViewDataMapper;
@Override @Override
public Long online() { public Long online() {
@ -235,7 +238,7 @@ public class PlatformViewDataServiceImpl extends ServiceImpl<PlatformViewDataMap
} else { } else {
queryWrapper.eq("store_id", -1); queryWrapper.eq("store_id", -1);
} }
return this.count(queryWrapper); return platformViewDataMapper.count(queryWrapper);
} }
} }