|
|
|
@ -10,6 +10,7 @@ import com.ibeetl.jlw.entity.CourseInfo;
|
|
|
|
|
import com.ibeetl.jlw.entity.ResourcesApplicationCourse;
|
|
|
|
|
import com.ibeetl.jlw.service.CourseInfoService;
|
|
|
|
|
import com.ibeetl.jlw.service.ResourcesApplicationCourseService;
|
|
|
|
|
import com.ibeetl.jlw.service.UniversitiesCollegesService;
|
|
|
|
|
import com.ibeetl.jlw.web.query.ResourcesApplicationCourseQuery;
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
@ -42,6 +43,7 @@ public class ResourcesApplicationCourseController{
|
|
|
|
|
|
|
|
|
|
@Autowired private ResourcesApplicationCourseService resourcesApplicationCourseService;
|
|
|
|
|
@Autowired private CourseInfoService courseInfoService;
|
|
|
|
|
@Autowired private UniversitiesCollegesService universitiesCollegesService;
|
|
|
|
|
|
|
|
|
|
@Autowired FileService fileService;
|
|
|
|
|
|
|
|
|
@ -212,5 +214,17 @@ public class ResourcesApplicationCourseController{
|
|
|
|
|
return JsonResult.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通过应用ID查询,理论课程类的课程
|
|
|
|
|
* @param applicationIds 应用ID不能为空
|
|
|
|
|
* @param universitiesCollegesId 院校ID 可为空
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping(MODEL + "/getAllByApplicationIds.json")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public JsonResult<List<CourseInfo>> getAllByApplicationIds(String applicationIds, Long universitiesCollegesId) {
|
|
|
|
|
List<CourseInfo> list = resourcesApplicationCourseService.getAllByApplicationIds(applicationIds, universitiesCollegesId);
|
|
|
|
|
return JsonResult.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|