From 4b394361f63af801ce0b0482d8970d635f95f166 Mon Sep 17 00:00:00 2001 From: Jone <515616805@qq.com> Date: Thu, 28 Mar 2024 17:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=B5=E7=AB=99=E6=A0=87?= =?UTF-8?q?=E5=87=86=E8=AF=84=E5=AE=9A=E7=9A=84=E5=88=9B=E5=BB=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/hzims/safeproduct/controller/ReviewController.java | 1 + 1 file changed, 1 insertion(+) 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());