作者 tangxvhui

更新

... ... @@ -41,7 +41,6 @@ func (srv StaffAssessServeice) ListAllAssessCycle(companyid int) (map[string]int
"list": cycleList,
}
return result, nil
}
// 获取周期内的考核日期
... ...
... ... @@ -202,7 +202,7 @@ func (srv *SummaryEvaluationService) AfterCompletedEvaluationSelf(
if noSuper && evaluationFinish != nil {
//没有上级评估 同步数据到考核结果
//提取非360,hrbp 的评估项
itemUsedRepo := factory.CreateEvaluationItemUsedRepository(map[string]interface{}{
"transactionContext": transactionContext,
})
... ... @@ -213,7 +213,7 @@ func (srv *SummaryEvaluationService) AfterCompletedEvaluationSelf(
if err != nil {
return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
//提取非360,hrbp 的评估项
updateValue := []*domain.SummaryEvaluationValue{}
for _, val := range itemList {
if val.EvaluatorId != 0 {
... ...
... ... @@ -189,3 +189,11 @@ func (srv *SummaryEvaluationService) CountEvaluationSelfLevelV2(param *command.Q
}
return &evaluationInfo, nil
}
// 获取已结束的周期列表
func (srv *SummaryEvaluationService) CycleList() (map[string]interface{}, error) {
// select distinct summary_evaluation.cycle_id ,summary_evaluation.cycle_name ,summary_evaluation.company_id
// from summary_evaluation
// where "types" =5
return nil, nil
}
... ...