feat: 迁移预警规则管理和历史分类查询

This commit is contained in:
Yvan
2026-11-03 20:19:26 +08:00
parent cd42a1d3f0
commit 7203c34409
31 changed files with 1264 additions and 15 deletions
@@ -0,0 +1,38 @@
{
"scope": "既有 sw7;查询和拒绝无效写请求,未创建真实规则",
"schema_before": {
"column_type": "decimal(7,2)",
"rule_rows": 0
},
"schema_after": "decimal(7,2)",
"checks": [
{
"method": "GET",
"path": "/sw/alertRule/list?pageNum=1&pageSize=10",
"code": 0,
"msg": "成功",
"passed": true
},
{
"method": "GET",
"path": "/sw/alertRule/ruleTypes",
"code": 0,
"msg": "成功",
"passed": true
},
{
"method": "POST",
"path": "/sw/alertRule/add",
"code": 7,
"msg": "预警规则参数不正确",
"passed": true
},
{
"method": "PUT",
"path": "/sw/alertRule/toggle/0?enabled=1",
"code": 7,
"msg": "预警规则参数不正确",
"passed": true
}
]
}