diff --git a/knowledge.md b/knowledge.md index 1a8379a..f294fb7 100644 --- a/knowledge.md +++ b/knowledge.md @@ -701,6 +701,7 @@ meeting_with_room_and_agenda_wo示例: - **排序字段来源**:只能来源自根WO(不包括列表WO属性),以及根WO扩展出的非列表属性的WO字段。排序字段是从根节点到当前属性的路径,例如:ADto包含BDto bDto,BDto有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"] } },