|
@@ -115,9 +115,11 @@ public class VipGroupActivityController extends BaseController {
|
|
|
}
|
|
|
long newStudentNum = students.stream().filter(s -> s.getIsNewUser()).count();
|
|
|
|
|
|
- Integer applyToStudentType = null;
|
|
|
- if(newStudentNum!=userIds.size()){
|
|
|
- applyToStudentType = -1;
|
|
|
+ Integer applyToStudentType = -1;
|
|
|
+ if(newStudentNum==0){
|
|
|
+ applyToStudentType = 0;
|
|
|
+ }else if(newStudentNum==userIds.size()){
|
|
|
+ applyToStudentType = 1;
|
|
|
}
|
|
|
|
|
|
SysUser student = teacherDao.getUser(userIds.get(0));
|