浏览代码

跨团合班bug修改

zouxuan 4 年之前
父节点
当前提交
30a5a42259

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

@@ -784,7 +784,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
             if (masterTotalPrice.doubleValue() > studentRegistration.getSurplusCourseFee().doubleValue()) {
                 throw new BizException("用户信息发生变动,请重新提交");
             }
-            if (oldMusicGroupId == newMusicGroupId) {
+            if (oldMusicGroupId.equals(newMusicGroupId)) {
                 continue;
             }
             courseScheduleStudentPaymentService.updateCourseActualPrice(Arrays.asList(oldMusicGroupId), null, GroupType.MUSIC);