Commit 9daec2a4 authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.系统管理模块,查询线路及组织机构树接口修改,增加查询逻辑,通过线路名称模糊查询树列表,完成接口冒烟测试并同步线上接口文档;
2.系统管理模块,查询光伏电站及组织机构树接口修改,增加查询逻辑,通过电站名称模糊查询树列表,完成接口冒烟测试并同步线上接口文档;
3.基础信息配置模块,新增市电峰谷导入模板下载接口,完成接口冒烟测试并同步线上接口文档;
4.基础信息配置模块,市电峰谷模板下载接口修改,增加多选月份导出配置数据逻辑,修改线上接口文档并完成接口冒烟测试;
5.基础信息配置模块,新增市电峰谷数据导入接口,增加导入数据校验逻辑,完成接口冒烟测试并添加线上接口文档;
6.基础间开配置模块,新增编辑制度模板导出接口,添加线上接口文档并完成接口冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent e518ab47
...@@ -2,6 +2,8 @@ package pps.core.space.service; ...@@ -2,6 +2,8 @@ package pps.core.space.service;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateTime; import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.FileUtil; import cn.hutool.core.io.FileUtil;
import cn.hutool.core.text.CharSequenceUtil; import cn.hutool.core.text.CharSequenceUtil;
import com.alibaba.excel.EasyExcelFactory; import com.alibaba.excel.EasyExcelFactory;
...@@ -86,6 +88,7 @@ public class ExcelService { ...@@ -86,6 +88,7 @@ public class ExcelService {
} else { } else {
template.setEnd(DateTime.of(template.getEndTime(), BusinessConstant.MINUTES_FORMAT)); template.setEnd(DateTime.of(template.getEndTime(), BusinessConstant.MINUTES_FORMAT));
} }
template.setDuration(DateUtil.between(template.getStart(), template.getEnd(), DateUnit.MINUTE));
} catch (Exception e) { } catch (Exception e) {
errorRowList.add(rowNum); errorRowList.add(rowNum);
} }
......
...@@ -60,4 +60,9 @@ public class ExcelSpaceOptimizeTemplate implements Serializable { ...@@ -60,4 +60,9 @@ public class ExcelSpaceOptimizeTemplate implements Serializable {
* 结束 * 结束
*/ */
private DateTime end; private DateTime end;
/**
* 开井时长(分钟)
*/
private Long duration;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment