提交 cad779ff authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 084c3784
......@@ -195,6 +195,7 @@ public class ResourceLibraryController {
//获取当前资源已经绑定的资源
ResourceRelation relation = new ResourceRelation();
relation.setObjectId(entity.getId());
relation.setRelationtype(1);
int count = resourceRelationService.selectCount(relation);
//获取当前资源的节数,判断绑定的资源的总条数不能超过当前资源的总节数
CourseLibrary courseLibrary = courseLibraryService.selectByPrimaryKey(entity.getId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论