|
@@ -38,7 +38,7 @@ public class CommonService {
|
|
|
* 获取所有"传统"考试列表
|
|
|
* (正式场景数据极少,一次获取全部)
|
|
|
*/
|
|
|
- public List<ExamInfo> getExamList(String examType) {
|
|
|
+ public List<ExamInfo> findExams(String examType) {
|
|
|
//暂时直接查库,待“考务”接口提供后改为通过接口获取数据
|
|
|
SqlWrapper sql = new SqlWrapper()
|
|
|
.select("em.id examId,em.name examName,em.root_org_id orgId,org.name orgName").from("ec_e_exam em")
|
|
@@ -54,7 +54,7 @@ public class CommonService {
|
|
|
* 获取考试所有的开考课程列表
|
|
|
* 含试卷类型、考生数量
|
|
|
*/
|
|
|
- public List<ExamCourseInfo> getExamCourseList(Long orgId, Long examId, Long courseId, String paperType) {
|
|
|
+ public List<ExamCourseInfo> findExamCourses(Long orgId, Long examId, Long courseId, String paperType) {
|
|
|
//暂时直接查库,待“考务”接口提供后改为通过接口获取数据
|
|
|
SqlWrapper sql = new SqlWrapper()
|
|
|
.select("root_org_id orgId,exam_id,course_id,course_code,course_name,paper_type,count(course_code) totalStudent")
|
|
@@ -76,8 +76,8 @@ public class CommonService {
|
|
|
* 获取考试所有的开考课程列表
|
|
|
* 含试卷类型、考生数量
|
|
|
*/
|
|
|
- public List<ExamCourseInfo> getExamCourseList(Long orgId, Long examId) {
|
|
|
- return this.getExamCourseList(orgId, examId, null, null);
|
|
|
+ public List<ExamCourseInfo> findExamCourses(Long orgId, Long examId) {
|
|
|
+ return this.findExamCourses(orgId, examId, null, null);
|
|
|
}
|
|
|
|
|
|
public PaperQuestionStructureInfo findStructureByPaperId(Long examId, String paperId) {
|