diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ReviewController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ReviewController.java index 1faa86a..d5f24bc 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ReviewController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ReviewController.java @@ -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());