|
|
@@ -110,7 +110,9 @@ public class GroupRelationController {
|
|
|
@GetMapping("/recordView/{relationId}")
|
|
|
public Result<String> recordGPTPwdView(@PathVariable Long relationId) {
|
|
|
long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
- GroupsRelationView groupsRelationView = beanSearcher.searchFirst(GroupsRelationView.class, MapUtils.builder().field(GroupsRelationView::getUserId, userId)
|
|
|
+ List<Long> userIds = userService.getRelationUserIdList(userId, null);
|
|
|
+ GroupsRelationView groupsRelationView = beanSearcher.searchFirst(GroupsRelationView.class, MapUtils.builder()
|
|
|
+ .field(GroupsRelationView::getUserId, userIds).op(Operator.InList)
|
|
|
.field(GroupsRelationView::getId, relationId).build());
|
|
|
if (groupRelationFrontService == null) throw BusinessRuntimeException.getInstance("车票已不存在");
|
|
|
ChatGptPwdViewRecord viewRecord = new ChatGptPwdViewRecord();
|