|
@@ -10,6 +10,7 @@ import com.zhongzheng.modules.course.bo.CourseQueryBo;
|
|
|
import com.zhongzheng.modules.course.vo.CourseSectionVo;
|
|
|
import com.zhongzheng.modules.course.vo.CourseVo;
|
|
|
import com.zhongzheng.modules.goods.bo.GoodsCourseAddBo;
|
|
|
+import com.zhongzheng.modules.goods.bo.GoodsCourseQueryBo;
|
|
|
import com.zhongzheng.modules.goods.service.IGoodsCourseService;
|
|
|
import com.zhongzheng.modules.goods.vo.GoodsVo;
|
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
@@ -44,7 +45,9 @@ public class GoodsCourseController extends BaseController {
|
|
|
@GetMapping("/list/{id}")
|
|
|
public TableDataInfo<CourseVo> list(@PathVariable Long id) {
|
|
|
startPage();
|
|
|
- List<CourseVo> list = iGoodsCourseService.selectList(id);
|
|
|
+ GoodsCourseQueryBo courseQueryBo = new GoodsCourseQueryBo();
|
|
|
+ courseQueryBo.setGoodsId(id);
|
|
|
+ List<CourseVo> list = iGoodsCourseService.selectList(courseQueryBo);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|