chore: 移除人群聚集检测算法预置

- SQL初始化脚本移除 crowd_detection
- Java预置算法移除 crowd_detection
- 与边缘端保持一致,仅保留2个算法

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 15:16:49 +08:00
parent 826586b921
commit 849d74d16a
2 changed files with 7 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ CREATE TABLE IF NOT EXISTS wvp_ai_config_log (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='配置变更日志';
-- ============================================================
-- 初始数据预置算法2个不含人群聚集检测
-- 初始数据预置算法2个与边缘端保持一致
-- ============================================================
INSERT INTO wvp_ai_algorithm (algo_code, algo_name, target_class, param_schema, description, is_active, create_time, update_time) VALUES
('leave_post', '离岗检测', 'person', '{"confirm_on_duty_sec":{"type":"int","default":10,"min":1},"confirm_leave_sec":{"type":"int","default":10,"min":1},"cooldown_sec":{"type":"int","default":300,"min":0},"working_hours":{"type":"list","default":[]}}', '检测人员是否在岗,支持工作时间段配置', 1, NOW(), NOW()),