|
|
@@ -55,6 +55,7 @@ public class FeedbackServiceImpl extends BaseServiceImpl<FeedbackMapper, Feedbac |
|
|
|
feedback.setStreamName(stream.getName()); |
|
|
|
feedback.setStreamAdminId(stream.getStreamAdminId()); |
|
|
|
feedback.setStreamAdminName(stream.getStreamAdminName()); |
|
|
|
feedback.setType(1); |
|
|
|
}else { |
|
|
|
return JsonResult.error("河流信息不存在"); |
|
|
|
} |
|
|
@@ -78,6 +79,7 @@ public class FeedbackServiceImpl extends BaseServiceImpl<FeedbackMapper, Feedbac |
|
|
|
IPage<Feedback> pageData = feedbackMapper.selectPage(page, new LambdaQueryWrapper<Feedback>() |
|
|
|
.eq(Feedback::getMark, 1) |
|
|
|
.eq(Feedback::getOpenid, query.getOpenid()) |
|
|
|
.eq(Feedback::getType,1) |
|
|
|
.orderByDesc(Feedback::getCreateTime)); |
|
|
|
pageData.getRecords().stream().map(vo -> { |
|
|
|
Stream stream = streamMapper.selectById(vo.getStreamId()); |