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