Browse Source

修复电站标准评定的创建用户为空的问题

zhongwei
Jone 8 months ago
parent
commit
4b394361f6
  1. 1
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ReviewController.java

1
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());

Loading…
Cancel
Save