|
|
@ -78,6 +78,7 @@ public class ReviewController extends BladeController { |
|
|
|
throw new ServiceException("该站点已录入数据,无法重复录入"); |
|
|
|
throw new ServiceException("该站点已录入数据,无法重复录入"); |
|
|
|
}); |
|
|
|
}); |
|
|
|
ReviewEntity entity = BeanUtil.copy(req,ReviewEntity.class); |
|
|
|
ReviewEntity entity = BeanUtil.copy(req,ReviewEntity.class); |
|
|
|
|
|
|
|
entity.setSubmitter(AuthUtil.getUserId()); |
|
|
|
reviewService.save(entity); |
|
|
|
reviewService.save(entity); |
|
|
|
req.getReviewStandardEntityList().stream().forEach(reviewStandardEntity -> { |
|
|
|
req.getReviewStandardEntityList().stream().forEach(reviewStandardEntity -> { |
|
|
|
reviewStandardEntity.setReviewId(entity.getId()); |
|
|
|
reviewStandardEntity.setReviewId(entity.getId()); |
|
|
|