Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c4ba8bb6
Commit
c4ba8bb6
authored
Oct 08, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计算问题处理
parent
c4418565
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+4
-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 @
c4ba8bb6
...
...
@@ -239,6 +239,7 @@ public class CommonServiceImpl {
JSONObject
result1
=
(
JSONObject
)
result
.
get
(
"result1"
);
JSONArray
rows
=
(
JSONArray
)
result1
.
get
(
"rows"
);
JSONObject
values
=
rows
.
getJSONObject
(
0
);
idxBizFanPointProcessVariableClassification
.
setRecDate
(
new
Date
());
idxBizFanPointProcessVariableClassification
.
setIntervalValue5
(
values
.
getDoubleValue
(
"intervalValue5"
));
idxBizFanPointProcessVariableClassification
.
setIntervalValue4
(
values
.
getDoubleValue
(
"intervalValue4"
));
idxBizFanPointProcessVariableClassification
.
setIntervalValue3
(
values
.
getDoubleValue
(
"intervalValue3"
));
...
...
@@ -285,6 +286,7 @@ public class CommonServiceImpl {
JSONObject
result1
=
(
JSONObject
)
result
.
get
(
"result1"
);
JSONArray
rows
=
(
JSONArray
)
result1
.
get
(
"rows"
);
JSONObject
values
=
rows
.
getJSONObject
(
0
);
idxBizPvPointProcessVariableClassification
.
setRecDate
(
new
Date
());
idxBizPvPointProcessVariableClassification
.
setIntervalValue5
(
values
.
getDoubleValue
(
"intervalValue5"
));
idxBizPvPointProcessVariableClassification
.
setIntervalValue4
(
values
.
getDoubleValue
(
"intervalValue4"
));
idxBizPvPointProcessVariableClassification
.
setIntervalValue3
(
values
.
getDoubleValue
(
"intervalValue3"
));
...
...
@@ -444,6 +446,7 @@ public class CommonServiceImpl {
JSONObject
result1
=
(
JSONObject
)
result
.
get
(
"result1"
);
JSONArray
rows
=
(
JSONArray
)
result1
.
get
(
"rows"
);
JSONObject
values
=
rows
.
getJSONObject
(
0
);
idxBizFanPointVarCorrelation
.
setRecDate
(
new
Date
());
idxBizFanPointVarCorrelation
.
setCorrelationCoefficient
(
values
.
getDoubleValue
(
"correlation_coefficient"
));
idxBizFanPointVarCorrelationMapper
.
updateById
(
idxBizFanPointVarCorrelation
);
logger
.
info
(
"------------------------------------------风机相关性::相关性更新业务表成功----------------------------------------"
);
...
...
@@ -501,6 +504,7 @@ public class CommonServiceImpl {
JSONObject
result1
=
(
JSONObject
)
result
.
get
(
"result1"
);
JSONArray
rows
=
(
JSONArray
)
result1
.
get
(
"rows"
);
JSONObject
values
=
rows
.
getJSONObject
(
0
);
idxBizPvPointVarCorrelation
.
setRecDate
(
new
Date
());
idxBizPvPointVarCorrelation
.
setCorrelationCoefficient
(
values
.
getDoubleValue
(
"correlation_coefficient"
));
idxBizPvPointVarCorrelationMapper
.
updateById
(
idxBizPvPointVarCorrelation
);
logger
.
info
(
"------------------------------------------风机相关性::相关性更新业务表成功----------------------------------------"
);
...
...
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