diff --git a/knowledge.md b/knowledge.md index 7ce614d..36e8f7e 100644 --- a/knowledge.md +++ b/knowledge.md @@ -827,9 +827,6 @@ meeting_with_room_and_agenda_wo示例: - 错误2: (field == #param OR #param isNull)(不能对变量使用判空操作符) - 错误3: #param == 'constant'(变量只能作为右侧值) - 错误4: #paramA in #paramB(变量不能作为操作符左侧) -- **创建读方案易错点,必须严格参照,如果违背则为非法读方案** - - 读方案至少需要选择一种返回方式,请设置supportPagination为true或者supportWaterfall为true或者supportQueryAll或者supportCount为true - - 如果读方案的supportPagination为true或者supportWaterfall为true,则必须至少设置一个默认排序字段 - **读方案设计元素的表达** - 以json格式表达,json schema 定义如下 ```json @@ -945,6 +942,9 @@ meeting_with_room_and_agenda_wo示例: ] } +- **读方案设计元素表达关键原则,必须遵循** + - 读方案至少需要选择一种返回方式,请设置supportPagination为true或者supportWaterfall为true或者supportQueryAll或者supportCount为true + - 如果读方案的supportPagination为true或者supportWaterfall为true,则必须至少设置一个默认排序字段 - **代码产物和修改建议** - **QTO查询参数对象** * **生成产物:** Service层生成Java类