Explorar o código

课程课时关联信息完善

honorfire hai 7 meses
pai
achega
a84b7a781c

+ 2 - 2
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/controller/CourseClassHourController.java

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