lyhzzz 2 年之前
父节点
当前提交
ee386bbdb9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/java/com/fdkankan/manage/service/impl/DataService.java

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