feat(energy): 新增 cooperation_type 和 auto_match 字段,标记旧导入接口废弃

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-03-16 00:37:09 +08:00
parent 57ecce2649
commit 7792c5157f
102 changed files with 4426 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
-- energy_alter_frontend.sql
ALTER TABLE energy_bill ADD COLUMN cooperation_type TINYINT DEFAULT NULL COMMENT '合作模式1=预充值 2=月结算)' AFTER station_name;
ALTER TABLE energy_station_config ADD COLUMN auto_match TINYINT DEFAULT 1 COMMENT '自动匹配开关0=关闭 1=开启)' AFTER cooperation_type;