|
|
@@ -550,9 +550,9 @@ public class GroupRelationController {
|
|
|
public Result<GoodsCoursewareFile> getGoodsCourseware(Long relationId) {
|
|
|
long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
List<Long> userIdList = userBindRelationService.getRelationUserIdList(userId, null);
|
|
|
- GroupsRelationView relationView = beanSearcher.searchFirst(GroupsRelationView.class, MapUtils.builder()
|
|
|
- .field(GroupsRelationView::getUserId, userIdList).op(Operator.InList)
|
|
|
- .field(GroupsRelationView::getId, relationId).build());
|
|
|
+ RenewalView relationView = beanSearcher.searchFirst(RenewalView.class, MapUtils.builder()
|
|
|
+ .field(RenewalView::getUserId, userIdList).op(Operator.InList)
|
|
|
+ .field(RenewalView::getRelationId, relationId).build());
|
|
|
if (relationView == null) {
|
|
|
throw BusinessRuntimeException.getInstance("您的车票不存在");
|
|
|
}
|