|
@@ -1075,7 +1075,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
classGroup.setStudentNum(classGroup.getStudentNum()+num);
|
|
|
}
|
|
|
|
|
|
- Integer studentPaymentNum=studentPaymentOrderDao.countStudentPaymentNum(vipGroupId.toString());
|
|
|
+// Integer studentPaymentNum=studentPaymentOrderDao.countStudentPaymentNum(vipGroupId.toString());
|
|
|
+
|
|
|
+ Integer studentPaymentNum = classGroupStudentMapperDao.countClassGroupNormalStudentNum(classGroup.getId());
|
|
|
|
|
|
if(studentPaymentNum.equals(classGroup.getExpectStudentNum())&&updateVipStatus){
|
|
|
classGroup.setStudentNum(studentPaymentNum);
|