更新 knowledge.md

This commit is contained in:
ycl
2025-10-14 11:21:48 +08:00
parent 44cc048899
commit 4f3ca7936b

View File

@@ -701,6 +701,7 @@ meeting_with_room_and_agenda_wo示例
- **排序字段来源**只能来源自根WO(不包括列表WO属性)以及根WO扩展出的非列表属性的WO字段。排序字段是从根节点到当前属性的路径例如ADto包含BDto bDtoBDto有name属性排序字段路径为bDto.name
- 提取需求中的查询信息,以输入的查询对象作为上下文,构建查询语句
- 如有列表属性过滤需求:提取需求中的过滤信息,针对可过滤字段(列表属性)分别创建过滤条件。过滤条件不能使用列表属性作为查询条件属性(不能使用contains语法)。属性字段是从根节点属性到当前属性的路径
- 自定义字段可以添加自定字段对生成物Qto对象进行扩展
- **查询语法和过滤语法**
- 基本语法格式:属性名 操作符 变量或常量,变量格式为#变量名;枚举类型常量用单引号包围,例如:'MALE'
- 数值、时间类型属性操作符:!=, ==, >, <, <=, >=, in, notIn, isNullOrNot
@@ -826,6 +827,40 @@ meeting_with_room_and_agenda_wo示例
}
}
},
"customField": {
"type": "array",
"items": {
"type": "object",
"description": "自定义字段名称",
"properties": {
"name": {
"type": "string",
"description": "字段名称英文下划线分割不超过32字符"
},
"uuid": {
"type": "string",
"description": "字段类型为Enum或Eo时必填对应的Enum或Eo标识符"
},
"type": {
"type": "string",
"description": "字段类型String,Integer,Long,Float,Double,Boolean,Date,Eo,Enum,BigDecimal,List"
},
"innerUuid": {
"type": "string",
"description": "当innerType为Eo或Enum时对应的标识符"
},
"innerType": {
"type": "string",
"description": "List元素类型String,Integer,Long,Float,Double,Boolean,Date,Eo,Enum,BigDecimal"
}
},
"required": [
"name",
"type"
]
},
"description": "自定义字段列表"
}
"required":["name","description","query"]
}
},