正在显示
4 个修改的文件
包含
7 行增加
和
0 行删除
@@ -24,6 +24,7 @@ type SummaryEvaluation struct { | @@ -24,6 +24,7 @@ type SummaryEvaluation struct { | ||
24 | HrCheckResult EvaluationCheckResult `json:"hrCheckResult"` //存在人资稽查填写完成评估 | 24 | HrCheckResult EvaluationCheckResult `json:"hrCheckResult"` //存在人资稽查填写完成评估 |
25 | BeginTime time.Time `json:"beginTime"` //开始时间 | 25 | BeginTime time.Time `json:"beginTime"` //开始时间 |
26 | EndTime time.Time `json:"endTime"` //截止时间 | 26 | EndTime time.Time `json:"endTime"` //截止时间 |
27 | + CompletedAt int64 `json:"completedAt"` //评估的完成时间,单位:秒 | ||
27 | TotalScore string `json:"totalScore"` //最终上级评估得分. | 28 | TotalScore string `json:"totalScore"` //最终上级评估得分. |
28 | TotalRating []RatingCodeNumber `json:"totalRating"` //汇总各个评级的数量 | 29 | TotalRating []RatingCodeNumber `json:"totalRating"` //汇总各个评级的数量 |
29 | Version EvaluationVersion `json:"version"` //填写评估值的规则版本 v1,v2 ,填写方式对应方法 SummaryEvaluation.FillItemValue | 30 | Version EvaluationVersion `json:"version"` //填写评估值的规则版本 v1,v2 ,填写方式对应方法 SummaryEvaluation.FillItemValue |
@@ -25,6 +25,7 @@ type SummaryEvaluation struct { | @@ -25,6 +25,7 @@ type SummaryEvaluation struct { | ||
25 | HrCheckResult string //存在人资稽查填写完成评估 | 25 | HrCheckResult string //存在人资稽查填写完成评估 |
26 | BeginTime time.Time //开始时间 | 26 | BeginTime time.Time //开始时间 |
27 | EndTime time.Time //截止时间 | 27 | EndTime time.Time //截止时间 |
28 | + CompletedAt int64 //完成时间 | ||
28 | TotalScore string //最终上级评估得分. | 29 | TotalScore string //最终上级评估得分. |
29 | Version string //填写评估值的规则版本 v1,v2 | 30 | Version string //填写评估值的规则版本 v1,v2 |
30 | TotalRating []domain.RatingCodeNumber //汇总评级 | 31 | TotalRating []domain.RatingCodeNumber //汇总评级 |
@@ -38,6 +38,7 @@ func (repo *SummaryEvaluationRepository) TransformToDomain(d *models.SummaryEval | @@ -38,6 +38,7 @@ func (repo *SummaryEvaluationRepository) TransformToDomain(d *models.SummaryEval | ||
38 | CheckResult: domain.EvaluationCheckResult(d.CheckResult), | 38 | CheckResult: domain.EvaluationCheckResult(d.CheckResult), |
39 | HrCheckResult: domain.EvaluationCheckResult(d.HrCheckResult), | 39 | HrCheckResult: domain.EvaluationCheckResult(d.HrCheckResult), |
40 | Version: domain.EvaluationVersion(d.Version), | 40 | Version: domain.EvaluationVersion(d.Version), |
41 | + CompletedAt: d.CompletedAt, | ||
41 | BeginTime: d.BeginTime, | 42 | BeginTime: d.BeginTime, |
42 | EndTime: d.EndTime, | 43 | EndTime: d.EndTime, |
43 | TotalScore: d.TotalScore, | 44 | TotalScore: d.TotalScore, |
@@ -65,6 +66,7 @@ func (repo *SummaryEvaluationRepository) Save(param *domain.SummaryEvaluation) e | @@ -65,6 +66,7 @@ func (repo *SummaryEvaluationRepository) Save(param *domain.SummaryEvaluation) e | ||
65 | CheckResult: string(param.CheckResult), | 66 | CheckResult: string(param.CheckResult), |
66 | HrCheckResult: string(param.HrCheckResult), | 67 | HrCheckResult: string(param.HrCheckResult), |
67 | Version: string(param.Version), | 68 | Version: string(param.Version), |
69 | + CompletedAt: param.CompletedAt, | ||
68 | BeginTime: param.BeginTime, | 70 | BeginTime: param.BeginTime, |
69 | EndTime: param.EndTime, | 71 | EndTime: param.EndTime, |
70 | TotalScore: param.TotalScore, | 72 | TotalScore: param.TotalScore, |
sql/2.2.1.sql
0 → 100644
-
请 注册 或 登录 后发表评论