提交 18fb1462 authored 作者: 任建彩's avatar 任建彩

feat:关联资源

1.resource
上级 7d3fa95a
...@@ -276,7 +276,7 @@ public class RecommendResourceServiceImpl extends ServiceImpl<RecommendResourceM ...@@ -276,7 +276,7 @@ public class RecommendResourceServiceImpl extends ServiceImpl<RecommendResourceM
} }
//外研社项目-资源包管理 //外研社项目-资源包管理
if (GlobalConstant.TJTSZY.equals(code)) { /*if (GlobalConstant.TJTSZY.equals(code)) {
//查询专题推荐位绑定数量 //查询专题推荐位绑定数量
int bindCount = this.countGoodsByRecommendCode(code); int bindCount = this.countGoodsByRecommendCode(code);
if (bindCount <= num) { if (bindCount <= num) {
...@@ -287,7 +287,7 @@ public class RecommendResourceServiceImpl extends ServiceImpl<RecommendResourceM ...@@ -287,7 +287,7 @@ public class RecommendResourceServiceImpl extends ServiceImpl<RecommendResourceM
} }
} }
} }*/
//已推荐数据 //已推荐数据
List<String> ids = recommendResourceMapper.queryResourceIdsByRecommendId(recommend.getId(), num); List<String> ids = recommendResourceMapper.queryResourceIdsByRecommendId(recommend.getId(), num);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论