From 5e06e8ed1e251ea108aaa31de40df3e45945f736 Mon Sep 17 00:00:00 2001 From: winter <2436197699@qq.com> Date: Thu, 23 Nov 2023 18:08:46 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/teammodel/service/impl/EvaluationServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/teammodel/service/impl/EvaluationServiceImpl.java b/src/main/java/cn/teammodel/service/impl/EvaluationServiceImpl.java index 7748549..c2015b0 100644 --- a/src/main/java/cn/teammodel/service/impl/EvaluationServiceImpl.java +++ b/src/main/java/cn/teammodel/service/impl/EvaluationServiceImpl.java @@ -116,7 +116,7 @@ public class EvaluationServiceImpl implements EvaluationService { throw new ServiceException(ErrorCode.PARAMS_ERROR.getCode(), "父节点不存在"); } } - // todo: 为新节点赋值必须参数 (id, creator), 可不可以添加默认值 order ? + // todo: 可不可以添加默认值 order ? newNode.setId(UUID.randomUUID().toString()); newNode.setCreatorId(loginUser.getId()); newNode.setCreator(loginUser.getName());