留言板

课程跟商品关联字段
课程和标签关联展示列表
This commit is contained in:
wuchunlei
2024-06-12 11:02:40 +08:00
parent 2c9dc87e83
commit ffcfd1af5d
5 changed files with 66 additions and 0 deletions

View File

@@ -171,6 +171,12 @@ public class CourseController {
return courseService.courseCatalogueTransfer(param);
}
//查询课程被哪些标签关联
@RequestMapping("/getCourseLableLinkList")
public R getCourseLableLinkList(@RequestBody Map<String,Object> param){
return courseService.getCourseLableLinkList(param);
}

View File

@@ -28,4 +28,6 @@ public interface CourseService extends IService<CourseEntity> {
List<CourseEntity> courseAndChildrenList(Map<String, Object> params);
R courseCatalogueTransfer(Map<String,Object> param);
R getCourseLableLinkList(Map<String,Object> param);
}

View File

@@ -259,6 +259,15 @@ public class CourseServiceImpl extends ServiceImpl<CourseDao, CourseEntity> impl
return R.ok();
}
@Override
public R getCourseLableLinkList(Map<String, Object> param) {
LambdaQueryWrapper<CourseToMedicine> toMedicineWrapper = new LambdaQueryWrapper<>();
toMedicineWrapper.eq(CourseToMedicine::getCourseId,param.get("courseId"));
return null;
}
private List<Integer> sociologyIds(Integer id){
ArrayList<Integer> integers = new ArrayList<>();