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