提交 8198bdff authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 15938af8
......@@ -86,9 +86,12 @@ public class FgCourseLibraryController {
GoodsForm form = new GoodsForm();
form.setId(oid);
form.setType(AllResourceTypeEnum.COURSE.getCode().toString());
if(fgOrderClient.isExistBuyGoods(form).getData()) {
if(fgOrderClient.isExistBuyGoods(form) != null && fgOrderClient.isExistBuyGoods(form).getData()) {
vo.setIsbuy(1);
}else {
vo.setIsbuy(0);
}
// 获取评分与评论数
FgQueryCommentForm fgQueryCommentForm = new FgQueryCommentForm();
fgQueryCommentForm.setResourceId(oid);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论