beetlsql3-dev
Mlxa0324 2 years ago
parent 42a87f0b1d
commit ee837745bd

@ -362,4 +362,7 @@ public class CourseInfo extends BaseEntity{
public String getCourseLabelType() {
return defaultIfNull(this.get("courseLabelType"), this.get("course_label_type")) + "";
}
public void setCourseLabelType(String courseLabelType) {
this.set("courseLabelType", courseLabelType);
}
}

@ -174,9 +174,10 @@ public class UniversitiesCollegesJurisdictionCurriculumResourcesService extends
// 超管
if (orgId == 1) {
CourseInfoQuery courseInfoQuery = new CourseInfoQuery();
courseInfoQuery.setCourseLabelType("理论课程类,应用课程类,考证课程类");
courseInfoQuery.setCourseLabelTypes("理论课程类,应用课程类,考证课程类");
courseInfoQuery.setCourseInfoStatus(1);
List<CourseInfo> courseInfoList = sqlManager.getMapper(CourseInfoDao.class).getCourseInfoValues(courseInfoQuery);
courseInfoQuery.setCourseInfoType(1);
List<CourseInfo> courseInfoList = sqlManager.getMapper(CourseInfoDao.class).getValuesQuery(courseInfoQuery);
Map<String, List<CourseInfo>> stringListMap = courseInfoList.stream().collect(groupingBy(CourseInfo::getCourseLabelType));
ResourcesCourseInfoAuthDetailsVO authDetailsVO = new ResourcesCourseInfoAuthDetailsVO();

Loading…
Cancel
Save