feat: 新增文档源和技能管理相关功能
1. 新增文档源管理模块(documentSource) - 控制器:documentSourceController.py - DAO层:documentSourceDao.py - 模型:documentSourceModel.py - 服务层:documentSourceService.py 2. 新增技能管理模块(skill) - 控制器:skillController.py - DAO层:skillDao.py - 模型:skillModel.py - 服务层:skillService.py 3. 新增AI服务(aiService.py) 4. 新增配置文件 - AI配置:config/ai_config.py - 技能配置:config/skills/test-case-generator/ 5. 新增SQL脚本 - 文档权限:add_document_permissions.sql - 模块状态字段:add_module_status_field.sql - 文档源表:create_document_source_table.sql - 技能规则:skills_rules_pgsql.sql
This commit is contained in:
31
config/rules/智慧运营/智慧运营V2.0/采购工作台/待办规则/RULE.md
Normal file
31
config/rules/智慧运营/智慧运营V2.0/采购工作台/待办规则/RULE.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
name: generated-rule
|
||||
description: 1.需要进行倒序排序
|
||||
2.需要在卡片上展示状态
|
||||
---
|
||||
|
||||
# 待办规则
|
||||
|
||||
## Rule
|
||||
1.需要进行倒序排序
|
||||
2.需要在卡片上展示状态
|
||||
|
||||
## Applicable scene
|
||||
待办列表、任务卡片、工单列表等需要按倒序展示并在卡片上呈现状态的场景;适用于 AI 根据 PRD/需求生成测试用例时识别排序规则与卡片展示约束。
|
||||
|
||||
## Example
|
||||
输入场景:待办列表中存在多条记录,按创建时间/时间序列需要倒序展示,且每条卡片需要显示当前状态。
|
||||
预期:列表默认按倒序排列;每张卡片可见状态信息,状态展示与数据源一致,刷新后仍保持正确展示。
|
||||
|
||||
## Test design constraints
|
||||
- Generate cases that verify this rule is satisfied in normal flows.
|
||||
- Generate negative and boundary cases when the rule describes validation, limits, state changes, permissions, or data constraints.
|
||||
- Mark missing prerequisites as “待确认” instead of inventing behavior.
|
||||
|
||||
## Metadata
|
||||
- Code: RULE_20260515175047622133
|
||||
- Product: 智慧运营
|
||||
- Project: 智慧运营V2.0
|
||||
- Module: 采购工作台
|
||||
- Priority: 2
|
||||
- Tags: 排序, 状态展示, 待办, 列表, 卡片
|
||||
Reference in New Issue
Block a user