瀏覽代碼

Merge branch 'master' of http://git.dayaedu.com/yonge/cooleshow

liujunchi 3 年之前
父節點
當前提交
1329b7c513

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

@@ -2031,7 +2031,7 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
         courseTime.setEndTime(courseSchedule.getEndTime());
         courseTime.setEndTime(courseSchedule.getEndTime());
         List<CourseTimeEntity> timeList = Arrays.asList(courseTime);
         List<CourseTimeEntity> timeList = Arrays.asList(courseTime);
         //批量检查老师课时在数据库是否重复
         //批量检查老师课时在数据库是否重复
-        this.batchCheckTeacherCourseTime(teacherId, timeList, CourseTimeEntity::getStartTime, CourseTimeEntity::getEndTime);
+//        this.batchCheckTeacherCourseTime(teacherId, timeList, CourseTimeEntity::getStartTime, CourseTimeEntity::getEndTime);
 
 
         List<CourseScheduleStudentPayment> payments = new ArrayList<>();
         List<CourseScheduleStudentPayment> payments = new ArrayList<>();
         for (Long studentId : studentIds) {
         for (Long studentId : studentIds) {

+ 1 - 0
cooleshow-user/user-teacher/src/main/java/com/yonge/cooleshow/teacher/controller/TeacherCourseScheduleController.java

@@ -277,6 +277,7 @@ public class TeacherCourseScheduleController extends BaseController {
 
 
     @ApiImplicitParams({
     @ApiImplicitParams({
             @ApiImplicitParam(name = "studentIds", dataType = "List", value = "学生id集合"),
             @ApiImplicitParam(name = "studentIds", dataType = "List", value = "学生id集合"),
+            @ApiImplicitParam(name = "courseId", dataType = "Long", value = "课程id"),
     })
     })
     @ApiOperation("调整上课学员")
     @ApiOperation("调整上课学员")
     @PostMapping("/updateCourseStudent")
     @PostMapping("/updateCourseStudent")