2 Commits

Author SHA1 Message Date
lzh
862cbc3931 fix(test): 修正测试SQL中orderPriority为数字类型
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:53:12 +08:00
lzh
5cc5cd5238 fix(iot): 统一CleanOrderCreateEvent.priority类型为Integer
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:50:35 +08:00
2 changed files with 6 additions and 6 deletions

View File

@@ -67,11 +67,11 @@ public class CleanOrderCreateEvent {
/**
* 工单优先级
* <p>
* P0 - 紧急
* P1 - 重要
* P2 - 普通
* 0 - P0紧急
* 1 - P1重要
* 2 - P2普通
*/
private String priority;
private Integer priority;
/**
* 事件时间

View File

@@ -116,7 +116,7 @@ INSERT INTO `ops_area_device_relation` (
"threshold": 100,
"timeWindowSeconds": 3600,
"autoCreateOrder": true,
"orderPriority": "P1"
"orderPriority": 1
}
}',
1, -- enabled
@@ -227,7 +227,7 @@ INSERT INTO `ops_area_device_relation` (
"threshold": 80, -- 女卫阈值设低一些
"timeWindowSeconds": 3600,
"autoCreateOrder": true,
"orderPriority": "P1"
"orderPriority": 1
}
}',
1, -- enabled