|
@@ -48,9 +48,9 @@ public class DataService implements IDataService {
|
|
|
@Override
|
|
|
public SceneTotalVo sceneTotal() {
|
|
|
SceneTotalVo totalVo = new SceneTotalVo();
|
|
|
- Long totalSceneCount = dataMapper.totalUserCount("t_scene_pro",0) + dataMapper.totalUserCount("t_scene_plus",1);
|
|
|
- Long preMonthAddCount = dataMapper.preMonthAddCount("t_scene_pro",0) + dataMapper.preMonthAddCount("t_scene_plus",1);
|
|
|
- Long todayAddCount = dataMapper.todayAddCount("t_scene_pro",0) + dataMapper.todayAddCount("t_scene_plus",1);
|
|
|
+ Long totalSceneCount = dataMapper.totalUserCount("t_scene_pro",1) + dataMapper.totalUserCount("t_scene_plus",0);
|
|
|
+ Long preMonthAddCount = dataMapper.preMonthAddCount("t_scene_pro",1) + dataMapper.preMonthAddCount("t_scene_plus",0);
|
|
|
+ Long todayAddCount = dataMapper.todayAddCount("t_scene_pro",1) + dataMapper.todayAddCount("t_scene_plus",0);
|
|
|
|
|
|
totalVo.setTotalSceneCount(totalSceneCount);
|
|
|
totalVo.setPreMonthAddCount(preMonthAddCount);
|