taosj 1 день назад
Родитель
Сommit
c95815dd37

+ 20 - 0
release_note/20261015/20261015_dp.sql

@@ -86,3 +86,23 @@ SELECT
 40, 'irradiance-frequency-distribution', 'ufo/electricity/statanalysis/irradianceFrequencyDistribution', '', 'IrradianceFrequencyDistribution', 1, 0, 'C', '0', '0', 'data:irradianceFrequencyDistribution:list', 'BarChartOutlined', 'admin', now(), '', NULL, '辐照度频率分布统计页面'
 WHERE NOT EXISTS (SELECT 1 FROM sys_menu t WHERE t.menu_name = '辐照度频率分布统计');
 
+-- -----------------------------------------------------
+-- 3. 字典配置项 power_forecast_report_batch_config
+--    dict_value 存整个 JSON 数组: [{stationCode, type, period, times, initInterval}]
+--    例: [{"stationCode":"3301","type":"short","period":"daily","times":["08:00:00"],"initInterval":60}]
+--    initInterval 单位分钟(提前生成窗口)
+-- -----------------------------------------------------
+-- JSON 数组配置可能超过 dict_value 原长度(VARCHAR(100)), 扩容(可重复执行)
+ALTER TABLE sys_dict_data ALTER COLUMN dict_value TYPE VARCHAR(2000);
+
+INSERT INTO sys_dict_type (dict_id, dict_name, dict_type, status, create_by, create_time, remark)
+SELECT
+nextval(pg_get_serial_sequence('sys_dict_type', 'dict_id')),
+'文件上报配置', 'power_forecast_report_batch_config', '0', 'admin', now(), '短期/超短期功率预测上报批次生成配置'
+WHERE NOT EXISTS (SELECT 1 FROM sys_dict_type t WHERE t.dict_type = 'power_forecast_report_batch_config');
+
+INSERT INTO sys_dict_data (dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark)
+SELECT
+nextval(pg_get_serial_sequence('sys_dict_data', 'dict_code')),
+1, '短期/超短期批次生成配置', '[]', 'power_forecast_report_batch_config', '', '', 'Y', '0', 'admin', now(), 'JSON数组, 每项含 stationCode/type/period/times/initInterval(分钟)'
+WHERE NOT EXISTS (SELECT 1 FROM sys_dict_data t WHERE t.dict_type = 'power_forecast_report_batch_config');

+ 0 - 25
release_note/20261015/20261015_power_forecast_report_batch.sql

@@ -1,25 +0,0 @@
--- 101903 功率预测上报: 新增上报批次表/字典, report 表加 batch_no 列 (aicoding/101903.md)
--- 可重复执行
-
-
-
--- -----------------------------------------------------
--- 3. 字典配置项 power_forecast_report_batch_config
---    dict_value 存整个 JSON 数组: [{stationCode, type, period, times, initInterval}]
---    例: [{"stationCode":"3301","type":"short","period":"daily","times":["08:00:00"],"initInterval":60}]
---    initInterval 单位分钟(提前生成窗口)
--- -----------------------------------------------------
--- JSON 数组配置可能超过 dict_value 原长度(VARCHAR(100)), 扩容(可重复执行)
-ALTER TABLE sys_dict_data ALTER COLUMN dict_value TYPE VARCHAR(2000);
-
-INSERT INTO sys_dict_type (dict_id, dict_name, dict_type, status, create_by, create_time, remark)
-SELECT
-nextval(pg_get_serial_sequence('sys_dict_type', 'dict_id')),
-'文件上报配置', 'power_forecast_report_batch_config', '0', 'admin', now(), '短期/超短期功率预测上报批次生成配置'
-WHERE NOT EXISTS (SELECT 1 FROM sys_dict_type t WHERE t.dict_type = 'power_forecast_report_batch_config');
-
-INSERT INTO sys_dict_data (dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark)
-SELECT
-nextval(pg_get_serial_sequence('sys_dict_data', 'dict_code')),
-1, '短期/超短期批次生成配置', '[]', 'power_forecast_report_batch_config', '', '', 'Y', '0', 'admin', now(), 'JSON数组, 每项含 stationCode/type/period/times/initInterval(分钟)'
-WHERE NOT EXISTS (SELECT 1 FROM sys_dict_data t WHERE t.dict_type = 'power_forecast_report_batch_config');

+ 0 - 26
release_note/20261015/20261015_power_forecast_report_menu.sql

@@ -1,26 +0,0 @@
--- 功率上报菜单补丁(任务 101904, 幂等, 可重复执行)
--- 1. 增加 功率上报 二级菜单(挂在 功率预测 下)
-INSERT INTO sys_menu (menu_id, menu_name, parent_id, order_num, path, component, query, route_name, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
-SELECT
-(SELECT COALESCE(MAX(menu_id), 0) + 1 FROM sys_menu),
-'功率上报',
-(SELECT menu_id FROM sys_menu t WHERE t.menu_name = '功率预测'),
-10, 'power-forecast-report', 'ufo/electricity/forecast/PowerForecastReport', '', 'PowerForecastReport', 1, 0, 'C', '0', '0', 'power:forecastReportBatch:list', 'SendOutlined', 'admin', now(), '', NULL, '功率上报页面'
-WHERE NOT EXISTS (SELECT 1 FROM sys_menu t WHERE t.menu_name = '功率上报');
-
--- 2. 增加 功率上报 按钮权限(确认/新增)
-INSERT INTO sys_menu (menu_id, menu_name, parent_id, order_num, path, component, query, route_name, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
-SELECT
-(SELECT COALESCE(MAX(menu_id), 0) + 1 FROM sys_menu),
-'功率上报确认',
-(SELECT menu_id FROM sys_menu t WHERE t.menu_name = '功率上报'),
-1, '', '', '', '', 1, 0, 'F', '0', '0', 'power:forecastReportBatch:edit', '#', 'admin', now(), '', NULL, '确认上报批次'
-WHERE NOT EXISTS (SELECT 1 FROM sys_menu t WHERE t.menu_name = '功率上报确认');
-
-INSERT INTO sys_menu (menu_id, menu_name, parent_id, order_num, path, component, query, route_name, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
-SELECT
-(SELECT COALESCE(MAX(menu_id), 0) + 1 FROM sys_menu),
-'功率上报新增',
-(SELECT menu_id FROM sys_menu t WHERE t.menu_name = '功率上报'),
-2, '', '', '', '', 1, 0, 'F', '0', '0', 'power:forecastReportBatch:add', '#', 'admin', now(), '', NULL, '新增上报批次'
-WHERE NOT EXISTS (SELECT 1 FROM sys_menu t WHERE t.menu_name = '功率上报新增');

+ 13 - 8
release_note/20261015/release_note.md

@@ -1,9 +1,14 @@
-20260915版本更新说明
+# 20260915版本更新说明
+1. 增加功能“统计分析-功率误差统计”
+2. 增加功能“统计分析-上传状态查询”
+3. 增加功能“统计分析-功率频率分别统计”
+4. 增加功能“统计分析-辐照度频率分别统计”
+5. 完善功能“功率预测-超短期功率预测”
+6. 完善功能“功率预测-短期功率预测”
+7. 完善功能“功率预测-中期功率预测”
 
-1. 增加菜单“统计分析”
-2. 增加菜单“功率误差统计”
-
-
-DB补丁
-release_note/20261015/20261015_dp.sql
-release_note/20261015/20261015_power_error_stat_menu.sql
+[更新说明]
+1. 执行 `release_note/20261015/20261015_dml.sql`
+2. 执行 `release_note/20261015/20261015_dp.sql`
+2. 更新服务端jar
+3. 更新前端dist