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
7d2301bf
Commit
7d2301bf
authored
Sep 11, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改指标评分计算针对指标分数计算有误日志打印
parent
48c86e73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
IndScorecardService.java
...ile/indicators/service/hytobacco/IndScorecardService.java
+7
-1
No files found.
src/main/java/com/keymobile/indicators/service/hytobacco/IndScorecardService.java
View file @
7d2301bf
...
@@ -285,7 +285,13 @@ public class IndScorecardService {
...
@@ -285,7 +285,13 @@ public class IndScorecardService {
}
else
{
}
else
{
logger
.
error
(
"id:"
+
indScorecardId
+
" 的评分卡不存在"
);
logger
.
error
(
"id:"
+
indScorecardId
+
" 的评分卡不存在"
);
}
}
indScoreValue
=
String
.
format
(
"%.4f"
,
new
BigDecimal
(
baseScoreValue
));
try
{
indScoreValue
=
String
.
format
(
"%.4f"
,
new
BigDecimal
(
baseScoreValue
));
}
catch
(
Exception
e
)
{
logger
.
error
(
"indId:"
+
indId
+
";date:"
+
date
+
";compareObj:"
+
compareObj
+
" indScoreValue error:"
+
baseScoreValue
);
indScoreValue
=
"0.0"
;
}
result
.
put
(
"score"
,
indScoreValue
);
result
.
put
(
"score"
,
indScoreValue
);
}
else
{
}
else
{
logger
.
error
(
"考核指标没有关联评分卡"
);
logger
.
error
(
"考核指标没有关联评分卡"
);
...
...
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