Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
3131cafe
Commit
3131cafe
authored
Mar 05, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预警数据生成异常问题处理
parent
82dd8443
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+1
-1
HealthStatusIndicatorServiceImpl.java
...op/biz/service/impl/HealthStatusIndicatorServiceImpl.java
+2
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
View file @
3131cafe
...
@@ -2030,7 +2030,7 @@ public class CommonServiceImpl {
...
@@ -2030,7 +2030,7 @@ public class CommonServiceImpl {
insertPvDataTDEngine
(
fanHealthIndices1
,
format
,
"按时刻"
);
insertPvDataTDEngine
(
fanHealthIndices1
,
format
,
"按时刻"
);
}
}
try
{
try
{
logger
.
info
(
"--------------------response: "
+
response
);
//
logger.info("--------------------response: " + response);
logger
.
info
(
"------------------------------------------调用光伏健康指数计算算法结束----------------------------------------"
);
logger
.
info
(
"------------------------------------------调用光伏健康指数计算算法结束----------------------------------------"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
throw
new
RuntimeException
(
e
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/HealthStatusIndicatorServiceImpl.java
View file @
3131cafe
...
@@ -516,6 +516,7 @@ public class HealthStatusIndicatorServiceImpl {
...
@@ -516,6 +516,7 @@ public class HealthStatusIndicatorServiceImpl {
// idxBizPvWarningRecordService.saveBatch(idxBizPvWarningRecordList);
// idxBizPvWarningRecordService.saveBatch(idxBizPvWarningRecordList);
if
(
CollUtil
.
isNotEmpty
(
tdPvWarningRecordList
))
{
if
(
CollUtil
.
isNotEmpty
(
tdPvWarningRecordList
))
{
// tdengine插入
// tdengine插入
log
.
info
(
"==================光伏按小时产生预警数据成功"
,
JSON
.
toJSONString
(
tdPvWarningRecordList
));
pvWaringRecordMapper
.
saveBatchWarningRecords
(
tdPvWarningRecordList
);
pvWaringRecordMapper
.
saveBatchWarningRecords
(
tdPvWarningRecordList
);
}
}
// 触发风险模型生成预警处置模块的预警记录
// 触发风险模型生成预警处置模块的预警记录
...
@@ -702,6 +703,7 @@ public class HealthStatusIndicatorServiceImpl {
...
@@ -702,6 +703,7 @@ public class HealthStatusIndicatorServiceImpl {
}
}
// idxBizPvWarningRecordService.saveBatch(idxBizPvWarningRecordList);
// idxBizPvWarningRecordService.saveBatch(idxBizPvWarningRecordList);
if
(
CollUtil
.
isNotEmpty
(
tdPvWarningRecordList
))
{
if
(
CollUtil
.
isNotEmpty
(
tdPvWarningRecordList
))
{
log
.
info
(
"==================光伏按天产生预警数据成功"
,
JSON
.
toJSONString
(
tdPvWarningRecordList
));
// tdengine插入
// tdengine插入
pvWaringRecordMapper
.
saveBatchWarningRecords
(
tdPvWarningRecordList
);
pvWaringRecordMapper
.
saveBatchWarningRecords
(
tdPvWarningRecordList
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment