yonge 4 vuotta sitten
vanhempi
commit
b41b3980d7

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

@@ -1837,7 +1837,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
             studentRegistrationDao.update(studentRegistration);
             studentRegistrationDao.update(studentRegistration);
 
 
             //更新服务指标、运营指标
             //更新服务指标、运营指标
-            int remainCourseNum = courseScheduleStudentPaymentDao.countStudentNotStartCourseNumWithCourseType(userId, null);
+            /*int remainCourseNum = courseScheduleStudentPaymentDao.countStudentNotStartCourseNumWithCourseType(userId, null);
             if (remainCourseNum == 0) {
             if (remainCourseNum == 0) {
                 Student student = studentDao.get(userId);
                 Student student = studentDao.get(userId);
                 if (student == null) {
                 if (student == null) {
@@ -1848,7 +1848,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
                 student.setOperatingTempTag(0);
                 student.setOperatingTempTag(0);
                 student.setUpdateTime(date);
                 student.setUpdateTime(date);
                 studentDao.update(student);
                 studentDao.update(student);
-            }
+            }*/
 
 
             //删除进行中加学生,且在审批中或拒绝的缴费
             //删除进行中加学生,且在审批中或拒绝的缴费
             List<Long> paymentCalenderIdList = musicGroupPaymentCalenderDao.findStudentNoPaymentCalender(userId, musicGroupId);
             List<Long> paymentCalenderIdList = musicGroupPaymentCalenderDao.findStudentNoPaymentCalender(userId, musicGroupId);
@@ -2012,7 +2012,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
         studentRegistrationDao.update(studentRegistration);
         studentRegistrationDao.update(studentRegistration);
 
 
         //更新服务指标、运营指标
         //更新服务指标、运营指标
-        int remainCourseNum = courseScheduleStudentPaymentDao.countStudentNotStartCourseNumWithCourseType(userId, null);
+        /*int remainCourseNum = courseScheduleStudentPaymentDao.countStudentNotStartCourseNumWithCourseType(userId, null);
         if (remainCourseNum == 0) {
         if (remainCourseNum == 0) {
             Student student = studentDao.get(userId);
             Student student = studentDao.get(userId);
             if (student == null) {
             if (student == null) {
@@ -2023,7 +2023,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
             student.setOperatingTempTag(0);
             student.setOperatingTempTag(0);
             student.setUpdateTime(date);
             student.setUpdateTime(date);
             studentDao.update(student);
             studentDao.update(student);
-        }
+        }*/
 
 
         //删除进行中加学生,且在审批中或拒绝的缴费
         //删除进行中加学生,且在审批中或拒绝的缴费
         List<Long> paymentCalenderIdList = musicGroupPaymentCalenderDao.findStudentNoPaymentCalender(userId, musicGroupId);
         List<Long> paymentCalenderIdList = musicGroupPaymentCalenderDao.findStudentNoPaymentCalender(userId, musicGroupId);