Browse Source

feat:首页数据

Joburgess 4 years ago
parent
commit
d242c29ba1

+ 2 - 4
mec-biz/src/main/java/com/ym/mec/biz/service/impl/IndexServiceImpl.java

@@ -102,14 +102,12 @@ public class IndexServiceImpl implements IndexService {
     }
 
     private IndexBaseDto getUserSignUpDate(IndexBaseDto indexBaseData, Set<Integer> organIds, String startMonth, String endMonth){
-        List<IndexBaseMonthDto> studentSignUpData = indexDao.getStudentSignUpData(organIds, startMonth, endMonth);
-        indexBaseData.setIndexMonthData(studentSignUpData);
+        indexBaseData.setIndexMonthData(indexDao.getStudentSignUpData(organIds, startMonth, endMonth));
         return indexBaseData;
     }
 
     private IndexBaseDto getHomeworkDate(IndexBaseDto indexBaseData, Set<Integer> organIds, String startMonth, String endMonth, String type){
-        List<IndexBaseMonthDto> homeworkAssignDate = indexDao.getHomeworkDate(organIds, startMonth, endMonth, type);
-        indexBaseData.setIndexMonthData(homeworkAssignDate);
+        indexBaseData.setIndexMonthData(indexDao.getHomeworkDate(organIds, startMonth, endMonth, type));
         return indexBaseData;
     }
 }