Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
ffdaa94e
Commit
ffdaa94e
authored
Aug 18, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改对标单元计算逻辑
parent
e04a722c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
DriveIndIdObjCalActor.java
...dicators/akka/actor/indicators/DriveIndIdObjCalActor.java
+8
-5
No files found.
src/main/java/com/keymobile/indicators/akka/actor/indicators/DriveIndIdObjCalActor.java
View file @
ffdaa94e
...
...
@@ -139,7 +139,6 @@ public class DriveIndIdObjCalActor extends AbstractActor{
if
(
compCalLogId
!=
null
)
{
compCalLog
=
compareUnitCalLogService
.
findById
(
compCalLogId
);
}
if
(
baseIndValueMsg
.
getIsFinish
()==
0
)
{
//日志填充
if
(
compCalLog
!=
null
)
{
...
...
@@ -184,6 +183,10 @@ public class DriveIndIdObjCalActor extends AbstractActor{
"formula:"
+
driveIndFormula
+
";"
+
"errorValue:"
+
indValue
+
";"
+
"paramEnv:"
+
env
+
"</n>"
);
}
//保存日志
if
(
compCalLog
!=
null
)
{
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
}
confirmList
.
add
(
baseIndValueMsg
.
getIsFinish
());
if
(++
numberOfConfirm
>=
indIdSize
)
{
//子actor全部返回
...
...
@@ -246,6 +249,10 @@ public class DriveIndIdObjCalActor extends AbstractActor{
compCalLog
.
setLogInfo
(
"计算考核指标出错:driveIndId:"
+
driveIndId
+
";"
+
"paramEnv:"
+
env
+
";formula:"
+
driveIndFormula
+
"</n>"
);
}
//保存日志
if
(
compCalLog
!=
null
)
{
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
//表示计算错误,不生成考核结果
CalIndAverageAndRankMsg
driveIndAverageAndRankMsg
=
new
CalIndAverageAndRankMsg
(-
1
,
...
...
@@ -263,10 +270,6 @@ public class DriveIndIdObjCalActor extends AbstractActor{
}
}
}
//保存日志
if
(
compCalLog
!=
null
)
{
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
})
.
build
();
}
...
...
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