|
@@ -141,6 +141,7 @@ public class HomeServiceImpl implements HomeService {
|
|
|
List<HomeTotalStudent> totalList = baserMapper.totalStudent(query.getTimeType().getCode(), query);
|
|
|
Integer registerNum = 0;
|
|
|
Integer vipNum = 0;
|
|
|
+ Integer svipNum = 0;
|
|
|
Integer practiceNum = 0;
|
|
|
Integer videoNum = 0;
|
|
|
Integer liveNum = 0;
|
|
@@ -151,6 +152,7 @@ public class HomeServiceImpl implements HomeService {
|
|
|
for (HomeTotalStudent totalStudent : totalList) {
|
|
|
totalStudent.setRegisterNum(null == totalStudent.getRegisterNum() ? 0 : totalStudent.getRegisterNum());
|
|
|
totalStudent.setVipNum(null == totalStudent.getVipNum() ? 0 : totalStudent.getVipNum());
|
|
|
+ totalStudent.setSvipNum(null == totalStudent.getSvipNum() ? 0 : totalStudent.getSvipNum());
|
|
|
totalStudent.setPracticeNum(null == totalStudent.getPracticeNum() ? 0 : totalStudent.getPracticeNum());
|
|
|
totalStudent.setVideoNum(null == totalStudent.getVideoNum() ? 0 : totalStudent.getVideoNum());
|
|
|
totalStudent.setLiveNum(null == totalStudent.getLiveNum() ? 0 : totalStudent.getLiveNum());
|
|
@@ -160,6 +162,7 @@ public class HomeServiceImpl implements HomeService {
|
|
|
|
|
|
registerNum += totalStudent.getRegisterNum();
|
|
|
vipNum += totalStudent.getVipNum();
|
|
|
+ svipNum += totalStudent.getSvipNum();
|
|
|
practiceNum += totalStudent.getPracticeNum();
|
|
|
videoNum += totalStudent.getVideoNum();
|
|
|
liveNum += totalStudent.getLiveNum();
|
|
@@ -170,6 +173,7 @@ public class HomeServiceImpl implements HomeService {
|
|
|
HomeTotalStudent total = new HomeTotalStudent();
|
|
|
total.setRegisterNum(registerNum);
|
|
|
total.setVipNum(vipNum);
|
|
|
+ total.setSvipNum(svipNum);
|
|
|
total.setPracticeNum(practiceNum);
|
|
|
total.setVideoNum(videoNum);
|
|
|
total.setLiveNum(liveNum);
|