style(excel): 优化Excel注解中的字符串格式
- 移除Nodetemplate类中节点类型的双引号显示 - 移除Templateparameterdef类中数据类型的双引号显示 - 统一Excel导出时的字符串格式规范
This commit is contained in:
@@ -19,11 +19,11 @@ public class Nodetemplate extends BaseEntity
|
||||
private Long id;
|
||||
|
||||
/** 节点类型: "Selector", "Sequence", "Action", "Condition", "Decorator" 等 */
|
||||
@Excel(name = "节点类型: "Selector", "Sequence", "Action", "Condition", "Decorator" 等")
|
||||
@Excel(name = "节点类型: Selector, Sequence, Action, Condition, Decorator等")
|
||||
private String type;
|
||||
|
||||
/** 模板名称, 例如: "MoveToTarget", "IsTargetVisible" */
|
||||
@Excel(name = "模板名称, 例如: "MoveToTarget", "IsTargetVisible"")
|
||||
@Excel(name = "模板名称, 例如: MoveToTarget, IsTargetVisible")
|
||||
private String name;
|
||||
|
||||
/** 对应的逻辑执行代码/脚本/函数名 */
|
||||
|
||||
@@ -23,11 +23,11 @@ public class Templateparameterdef extends BaseEntity
|
||||
private Long templateId;
|
||||
|
||||
/** 参数键名, 例如: "target_name", "speed" */
|
||||
@Excel(name = "参数键名, 例如: "target_name", "speed"")
|
||||
@Excel(name = "参数键名, 例如: target_name, speed")
|
||||
private String paramKey;
|
||||
|
||||
/** 参数数据类型, 例如: "float", "int", "string", "bool" */
|
||||
@Excel(name = "参数数据类型, 例如: "float", "int", "string", "bool"")
|
||||
@Excel(name = "参数数据类型, 例如: float, int, string, bool")
|
||||
private String dataType;
|
||||
|
||||
/** 默认值 */
|
||||
|
||||
Reference in New Issue
Block a user