lyhzzz 2 éve
szülő
commit
ee386bbdb9

+ 3 - 3
src/main/java/com/fdkankan/manage/service/impl/DataService.java

@@ -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);