Browse Source

缴费项目优化

zouxuan 3 years ago
parent
commit
846080bf0a

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/ClassGroupServiceImpl.java

@@ -2453,7 +2453,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
             Integer checkCourseTimes = musicGroupPaymentStudentCourseDetailDao.checkCourseTimes(musicGroupId, courseTypes, studentIds);
             if(checkCourseTimes == null || checkCourseTimes == 0){
                 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
-                return BaseController.failed(HttpStatus.MULTI_STATUS,"班级剩余排课时长不一致,请再次确认");
+                return BaseController.failed(HttpStatus.ALREADY_REPORTED,"班级剩余排课时长不一致,请再次确认");
             }
         }