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
83d63f6a
Commit
83d63f6a
authored
Oct 20, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改健康算法 增加null值匹配
parent
e6723d0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+8
-2
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 @
83d63f6a
...
...
@@ -1529,7 +1529,11 @@ public class CommonServiceImpl {
value4
=
datum
.
getCurrentValue
()
==
null
?
0.0
:
datum
.
getCurrentValue
();
}
}
if
(
idxBizUhef
.
getProcess1Min
()
<=
value1
&&
value1
<=
idxBizUhef
.
getProcess1Max
()
&&
idxBizUhef
.
getProcess2Min
()
<=
value2
&&
value2
<=
idxBizUhef
.
getPorcess2Max
()
&&
idxBizUhef
.
getProcess3Min
()
<=
value3
&&
value3
<=
idxBizUhef
.
getProcess3Max
())
{
if
((
null
==
idxBizUhef
.
getProcess1Min
()
||
idxBizUhef
.
getProcess1Min
()
<=
value1
)
&&
(
value1
<=
idxBizUhef
.
getProcess1Max
()
||
null
==
idxBizUhef
.
getProcess1Max
())
&&(
null
==
idxBizUhef
.
getProcess2Min
()
||
idxBizUhef
.
getProcess2Min
()
<=
value2
)
&&
(
null
==
idxBizUhef
.
getPorcess2Max
()
||
value2
<=
idxBizUhef
.
getPorcess2Max
())
&&(
null
==
idxBizUhef
.
getProcess3Min
()
||
idxBizUhef
.
getProcess3Min
()
<=
value3
)
&&
(
null
==
idxBizUhef
.
getProcess3Max
()
||
value3
<=
idxBizUhef
.
getProcess3Max
()))
{
if
(!
analysisVariableIdList
.
contains
(
idxBizUhef
.
getAnalysisPointId
())){
analysisVariableList
.
add
(
value4
);
stdDevList
.
add
(
idxBizUhef
.
getAnalysisStdDev
());
...
...
@@ -1682,7 +1686,9 @@ public class CommonServiceImpl {
value4
=
datum
.
getCurrentValue
();
}
}
if
(
idxBizUhef
.
getProcess1Min
()
<=
value1
&&
value1
<=
idxBizUhef
.
getProcess1Max
()
&&
idxBizUhef
.
getProcess2Min
()
<=
value2
&&
value2
<=
idxBizUhef
.
getProcess2Max
()
&&
idxBizUhef
.
getProcess3Min
()
<=
value3
&&
value3
<=
idxBizUhef
.
getProcess3Max
())
{
if
((
null
==
idxBizUhef
.
getProcess1Min
()
||
idxBizUhef
.
getProcess1Min
()
<=
value1
)
&&
(
value1
<=
idxBizUhef
.
getProcess1Max
()
||
null
==
idxBizUhef
.
getProcess1Max
())
&&(
null
==
idxBizUhef
.
getProcess2Min
()
||
idxBizUhef
.
getProcess2Min
()
<=
value2
)
&&
(
null
==
idxBizUhef
.
getProcess2Max
()
||
value2
<=
idxBizUhef
.
getProcess2Max
())
&&(
null
==
idxBizUhef
.
getProcess3Min
()
||
idxBizUhef
.
getProcess3Min
()
<=
value3
)
&&
(
null
==
idxBizUhef
.
getProcess3Max
()
||
value3
<=
idxBizUhef
.
getProcess3Max
()))
{
if
(!
analysisVariableIdList
.
contains
(
idxBizUhef
.
getAnalysisPointId
())){
analysisVariableList
.
add
(
value4
);
stdDevList
.
add
(
idxBizUhef
.
getAnalysisStdDev
());
...
...
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