From 37163d9ac4fdbf6961aca8f7c6d409092ceff14c Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期三, 13 九月 2023 08:56:27 +0800 Subject: [PATCH] 1、加字段对应默认值。 2、申请接口逻辑处理。 3、将codeApply模块改为jdk1.7调试。 --- Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/revision/service/RevisionModelUtil.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/revision/service/RevisionModelUtil.java b/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/revision/service/RevisionModelUtil.java index 9579b51..a982c88 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/revision/service/RevisionModelUtil.java +++ b/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/revision/service/RevisionModelUtil.java @@ -68,7 +68,8 @@ } if (StringUtils.isNotBlank(wrapperOptions.getParentFieldName())) { - tree.setParentId(VciBaseUtil.getStringValueFromObject(VciBaseUtil.getValueFromField(wrapperOptions.getParentFieldName(), doObject))); + String stringValueFromObject = VciBaseUtil.getStringValueFromObject(VciBaseUtil.getValueFromField(wrapperOptions.getParentFieldName(), doObject)); + tree.setParentId(stringValueFromObject); } if (wrapperOptions.isAllAttributes()) { -- Gitblit v1.9.3