|
@@ -169,7 +169,7 @@ public class CourseClassHourController {
|
|
|
List<Map<String,Object>> courseRelatesList=new ArrayList<>();
|
|
List<Map<String,Object>> courseRelatesList=new ArrayList<>();
|
|
|
Map funcTypeParam =new HashMap();
|
|
Map funcTypeParam =new HashMap();
|
|
|
funcTypeParam.put("mainId", classHourIdParam.getId());
|
|
funcTypeParam.put("mainId", classHourIdParam.getId());
|
|
|
- funcTypeParam.put("chapterhourType","0");
|
|
|
|
|
|
|
+ funcTypeParam.put("chapterhourType","1");
|
|
|
List<CourseRelate> relateList=courseRelateService.wrapperList(funcTypeParam);
|
|
List<CourseRelate> relateList=courseRelateService.wrapperList(funcTypeParam);
|
|
|
List<String>funcTypeList=CollStreamUtil.toList(relateList, CourseRelate::getFuncType);
|
|
List<String>funcTypeList=CollStreamUtil.toList(relateList, CourseRelate::getFuncType);
|
|
|
Map relateParam =new HashMap();
|
|
Map relateParam =new HashMap();
|
|
@@ -205,7 +205,7 @@ public class CourseClassHourController {
|
|
|
List<Map<String,Object>> courseRelatesList=new ArrayList<>();
|
|
List<Map<String,Object>> courseRelatesList=new ArrayList<>();
|
|
|
Map funcTypeParam =new HashMap();
|
|
Map funcTypeParam =new HashMap();
|
|
|
funcTypeParam.put("mainId", classHourIdParam.getId());
|
|
funcTypeParam.put("mainId", classHourIdParam.getId());
|
|
|
- funcTypeParam.put("chapterhourType","0");
|
|
|
|
|
|
|
+ funcTypeParam.put("chapterhourType","1");
|
|
|
List<CourseRelate> relateList=courseRelateService.wrapperList(funcTypeParam);
|
|
List<CourseRelate> relateList=courseRelateService.wrapperList(funcTypeParam);
|
|
|
List<String>funcTypeList=CollStreamUtil.toList(relateList, CourseRelate::getFuncType);
|
|
List<String>funcTypeList=CollStreamUtil.toList(relateList, CourseRelate::getFuncType);
|
|
|
Map relateParam =new HashMap();
|
|
Map relateParam =new HashMap();
|