mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 03:16:48 +08:00
注释多余代码
提交审核时创建标签
This commit is contained in:
@@ -422,10 +422,10 @@ public class CourseAuditApi extends ApiBaseController{
|
||||
dto.getCourse().setEnabled(true);//设置启用状态问题
|
||||
dto.getCourse().setPublished(false);//重新提交审核设置为未发布状态
|
||||
try {
|
||||
// log.info("-------- 标签相关开始 ------- 课程ID = {} " , dto.getCourse().getId());
|
||||
// Course oldCourse = StringUtils.isBlank(dto.getCourse().getId()) ? null : courseService.get(dto.getCourse().getId());
|
||||
// tagService.updateTags(oldCourse,dto.getCourse(),cuser);
|
||||
// log.info("-------- 标签相关结束 -------");
|
||||
log.info("-------- 标签相关开始 ------- 课程ID = {} " , dto.getCourse().getId());
|
||||
Course oldCourse = StringUtils.isBlank(dto.getCourse().getId()) ? null : courseService.get(dto.getCourse().getId());
|
||||
tagService.updateTags(oldCourse,dto.getCourse(),cuser);
|
||||
log.info("-------- 标签相关结束 -------");
|
||||
|
||||
courseService.submitAndPublish(dto,cuser.getAccountId(),cuser.getName());
|
||||
log.info("---------------在线课开始同步到讲师管理 ------- token = " + token);
|
||||
|
||||
@@ -344,5 +344,5 @@ public interface ICourseService {
|
||||
List<Course> findByIds(List<String> courseIds);
|
||||
void deletedStudyResourceBatchByCourseIdAndType(String courseId,Integer courseType);
|
||||
|
||||
void getPhpCourseData();
|
||||
// void getPhpCourseData();
|
||||
}
|
||||
|
||||
@@ -2015,6 +2015,8 @@ public class CourseServiceImpl implements ICourseService {
|
||||
|
||||
return courseDao.findListByHql("Select new Course(id,studys,score) from Course where id in(?1)", ids);
|
||||
}
|
||||
|
||||
/*
|
||||
private class Result{
|
||||
private Boolean success;
|
||||
private Data data;
|
||||
@@ -2117,6 +2119,8 @@ public class CourseServiceImpl implements ICourseService {
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public void deletedStudyResourceBatchByCourseIdAndType(String courseId, Integer courseType) {
|
||||
DeleteByQueryRequest request = new DeleteByQueryRequest("new_study_resource");
|
||||
|
||||
Reference in New Issue
Block a user