|
|
@@ -107,6 +107,7 @@ public class ExpertReviewManage { |
|
|
|
review.setReviewResult(req.getReviewResult()); |
|
|
|
review.setContent(JSONUtil.toJsonStr(req.getReviewTemplateOptions())); |
|
|
|
review.setProjectId(req.getProjectId()); |
|
|
|
review.setProjectCode(req.getProjectCode()); |
|
|
|
review.setTemplateId(req.getTemplateId()); |
|
|
|
review.setMeetingId(req.getMeetingId()); |
|
|
|
review.setOtherAdvice(req.getOtherAdvice()); |
|
|
@@ -151,9 +152,9 @@ public class ExpertReviewManage { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public ProjectReviewDetailVO projectExpertReviewDetail(Long projectId) { |
|
|
|
public ProjectReviewDetailVO projectExpertReviewDetail(String projectCode) { |
|
|
|
ProjectReviewDetailVO detail = new ProjectReviewDetailVO(); |
|
|
|
List<Long> meetingIds = meetingInnerProjectService.listMeetingIdByProjectId(projectId); |
|
|
|
List<Long> meetingIds = meetingInnerProjectService.listMeetingIdByProjectCode(projectCode); |
|
|
|
if (meetingIds.isEmpty()) { |
|
|
|
return detail; |
|
|
|
} |
|
|
@@ -166,7 +167,7 @@ public class ExpertReviewManage { |
|
|
|
}))).values(); |
|
|
|
LambdaQueryWrapper<ExpertReview> erQuery = Wrappers.lambdaQuery(ExpertReview.class) |
|
|
|
.in(ExpertReview::getMeetingId, tmpMeetingIds) |
|
|
|
.eq(ExpertReview::getProjectId, projectId) |
|
|
|
.eq(ExpertReview::getProjectCode, projectCode) |
|
|
|
.orderByDesc(ExpertReview::getCreateOn); |
|
|
|
List<ExpertReview> expertReviews = expertReviewService.list(erQuery); |
|
|
|
if (expertReviews.isEmpty()) { |
|
|
|