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
5b914687
Commit
5b914687
authored
Nov 23, 2020
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实体类中rank转义
parent
92612dd3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
14 deletions
+20
-14
DriveIndIdObjCalActor.java
...dicators/akka/actor/indicators/DriveIndIdObjCalActor.java
+4
-2
DriveIndCalResultDef.java
...icators/model/entity/indicators/DriveIndCalResultDef.java
+6
-4
ParameterDataReport.java
...ndicators/model/entity/parameter/ParameterDataReport.java
+5
-4
TestDriveIndCalResultDef.java
...cators/model/entity/testrun/TestDriveIndCalResultDef.java
+5
-4
No files found.
src/main/java/com/keymobile/indicators/akka/actor/indicators/DriveIndIdObjCalActor.java
View file @
5b914687
...
...
@@ -267,6 +267,7 @@ public class DriveIndIdObjCalActor extends AbstractActor{
driveIndIdCalActor
.
tell
(
driveIndAverageAndRankMsg
,
ActorRef
.
noSender
());
}
}
catch
(
Exception
e
)
{
//判断结果表中是否已存在该结果数据,存在则覆盖
// DriveIndCalResultDef driveIndCalResult = driveIndCalResultService.
// findCalResultDataIsExist(compareId, compareObj, driveIndId, date);
...
...
@@ -281,9 +282,10 @@ public class DriveIndIdObjCalActor extends AbstractActor{
// driveIndCalResult.setLastUpdateTime(DateUtils.formatDate(new Date(), "yyyy-MM-dd HH:mm:ss"));
// }
// driveIndCalResultService.saveOrUpdate(driveIndCalResult);
//e.printStackTrace();
logger
.
error
(
"error:"
,
e
);
logger
.
error
(
"driveIndId:"
+
driveIndId
+
";"
+
"paramEnv:"
+
env
+
";formula:"
+
driveIndFormula
);
"paramEnv:"
+
env
+
";formula:"
+
driveIndFormula
);
//日志记录
// String logInfo = compCalLog.getLogInfo();
// if(StringUtils.isNotBlank(logInfo)) {
...
...
src/main/java/com/keymobile/indicators/model/entity/indicators/DriveIndCalResultDef.java
View file @
5b914687
...
...
@@ -2,14 +2,12 @@ package com.keymobile.indicators.model.entity.indicators;
import
java.util.Date
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.*
;
import
com.keymobile.indicators.utils.DateUtils
;
import
lombok.Data
;
import
lombok.Value
;
/**
* author:zhangkb time:2020-6-11 desc:考核指标结果表
...
...
@@ -33,6 +31,10 @@ public class DriveIndCalResultDef {
private
String
lastUpdateTime
=
DateUtils
.
formatDate
(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
);
private
String
lastUpdater
;
private
String
average
;
//组内平均数
/**
* rank在mysql8是函数名要转义一下
* */
@Column
(
name
=
"`rank`"
)
private
Integer
rank
;
//同组排名
private
String
score
;
//指标评分分数
private
String
improveScore
;
//改善提升得分
...
...
src/main/java/com/keymobile/indicators/model/entity/parameter/ParameterDataReport.java
View file @
5b914687
package
com
.
keymobile
.
indicators
.
model
.
entity
.
parameter
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.*
;
import
lombok.Data
;
...
...
@@ -21,6 +18,10 @@ public class ParameterDataReport {
private
String
parameterName
;
//台账对象名称
private
String
parameterObj
;
//台账对象
private
Double
sumScore
;
//总积分
/**
* rank在mysql8是函数名要转义一下
* */
@Column
(
name
=
"`rank`"
)
private
Integer
rank
;
//排名
private
String
code
;
//机构编码
private
String
reportUser
;
//报告人
...
...
src/main/java/com/keymobile/indicators/model/entity/testrun/TestDriveIndCalResultDef.java
View file @
5b914687
...
...
@@ -2,10 +2,7 @@ package com.keymobile.indicators.model.entity.testrun;
import
java.util.Date
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.*
;
import
com.keymobile.indicators.utils.DateUtils
;
...
...
@@ -33,6 +30,10 @@ public class TestDriveIndCalResultDef {
private
String
lastUpdateTime
=
DateUtils
.
formatDate
(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
);
private
String
lastUpdater
;
private
String
average
;
//组内平均数
/**
* rank在mysql8是函数名要转义一下
* */
@Column
(
name
=
"`rank`"
)
private
Integer
rank
;
//同组排名
private
String
score
;
//指标评分分数
private
String
improveScore
;
//改善提升得分
...
...
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