ソースを参照

酷乐秀优化

zouxuan 5 ヶ月 前
コミット
78e634fab2

+ 2 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/CourseScheduleServiceImpl.java

@@ -1309,6 +1309,8 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
         UpdateWrapper<CourseGroup> warp = new UpdateWrapper<>();
         warp.set("status_", "ING").eq("id_", paymentList.get(0).getCourseGroupId());
         courseGroupService.update(warp);
+        //更新开课时间
+        courseGroupService.getDao().updateCourseStartTime(paymentList.get(0).getCourseGroupId());
 
         //查询趣纠课服务费
         String practiceServiceRateStr = sysConfigService.findConfigValue(SysConfigConstant.PRACTICE_SERVICE_FEE);

+ 2 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/PaymentDivMemberRecordServiceImpl.java

@@ -426,6 +426,8 @@ public class PaymentDivMemberRecordServiceImpl extends ServiceImpl<PaymentDivMem
         UpdateWrapper<CourseGroup> warp = new UpdateWrapper<>();
         warp.set("status_", "ING").eq("id_", paymentList.get(0).getCourseGroupId());
         courseGroupService.update(warp);
+        //更新开课时间
+        courseGroupService.getDao().updateCourseStartTime(paymentList.get(0).getCourseGroupId());
 
         //查询服务费
         String practiceServiceRateStr = null;