From d88379444c5790417b1b7495e0e3ad5e041b799e Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 04 七月 2023 18:06:21 +0800 Subject: [PATCH] 1、对redis取值方式进行修改。 2、对模板属性批量保存的DTO进行了大写的改动。 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java | 35 +++++++++++++++++++++++++++++++++-- 1 files changed, 33 insertions(+), 2 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java index 36119a5..489dbe0 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java @@ -1,8 +1,39 @@ package com.vci.ubcs.code.vo.webserviceModel.coderule; -import com.vci.ubcs.code.dto.CodeRuleDTO; +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import com.thoughtworks.xstream.annotations.XStreamImplicit; +import java.util.List; + +@XStreamAlias("codeRule") public class CodeRuleVO { -// private String + /** + * 缂栫爜瑙勫垯鐨勭紪鍙� + */ + @XStreamAsAttribute + private String id; + + /** + * 瑙勫垯缂栧彿 + */ + @XStreamAsAttribute + private String num; + /** + * 缂栫爜瑙勫垯鐨勫悕绉� + */ + @XStreamAsAttribute + private String name; + + /** + * 瑙勫垯鐨勬弿杩� + */ + @XStreamAsAttribute + private String description; + /** + * 缂栫爜鐨勭爜娈典俊鎭� + */ + @XStreamImplicit + private List<CodeSectionVO> secVOList; } -- Gitblit v1.9.3