From 6af6557a8d8a525ec3cab33607b8a041ef0968fa Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 08 十一月 2023 11:15:31 +0800 Subject: [PATCH] 历史导入生成编码时添加前后缀代码逻辑添加;历史导入模板下载时查询模板返回的key不区分大小写。 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/datapush/data/NodeObjectDTO.java | 31 +++++++++++++++++++++---------- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/datapush/data/NodeObjectDTO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/datapush/data/NodeObjectDTO.java index 8ea3daf..d74b400 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/datapush/data/NodeObjectDTO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/datapush/data/NodeObjectDTO.java @@ -8,6 +8,8 @@ @XStreamAlias("object") public class NodeObjectDTO { + @XStreamAsAttribute + private String itemid="" ; @XStreamAsAttribute private String code="" ; @XStreamAsAttribute @@ -58,14 +60,23 @@ this.pro = pro; } - @Override - public String toString() { - return "NodeObjectDTO{" + - "code='" + code + '\'' + - ", status='" + status + '\'' + - ", library='" + library + '\'' + - ", classCode='" + classCode + '\'' + - ", pro=" + pro + - '}'; - } + public String getItemid() { + return itemid; + } + + public void setItemid(String itemid) { + this.itemid = itemid; + } + + @Override + public String toString() { + return "NodeObjectDTO{" + + "itemid='" + itemid + '\'' + + ", code='" + code + '\'' + + ", status='" + status + '\'' + + ", library='" + library + '\'' + + ", classCode='" + classCode + '\'' + + ", pro=" + pro + + '}'; + } } -- Gitblit v1.9.3