...
|
...
|
@@ -309,7 +309,12 @@ func (srv StaffAssessServeice) ListExecutorInviteAssessV2(param *query.ListExecu |
|
|
assessRepo := factory.CreateStaffAssessRepository(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
|
|
|
companyRepo := factory.CreateCompanyRepository(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
companyInfo, _ := companyRepo.FindOne(map[string]interface{}{
|
|
|
"id": param.CompanyId,
|
|
|
})
|
|
|
//获取 executorId 对应的360评估任务 用户
|
|
|
condition := map[string]interface{}{
|
|
|
"beginDay": param.BeginDay,
|
...
|
...
|
@@ -412,6 +417,10 @@ func (srv StaffAssessServeice) ListExecutorInviteAssessV2(param *query.ListExecu |
|
|
}
|
|
|
tableHeader = append(tableHeader, changeableHeader...)
|
|
|
listData := []map[string]interface{}{}
|
|
|
companyName := ""
|
|
|
if companyInfo != nil {
|
|
|
companyName = companyInfo.Name
|
|
|
}
|
|
|
for _, v := range assessList {
|
|
|
m := map[string]interface{}{
|
|
|
"staffAssessTaskId": v.StaffAssessTaskId,
|
...
|
...
|
@@ -423,6 +432,7 @@ func (srv StaffAssessServeice) ListExecutorInviteAssessV2(param *query.ListExecu |
|
|
"types": string(v.Types),
|
|
|
"endTime": v.EndTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"assessId": strconv.Itoa(v.Id),
|
|
|
"companyName": companyName,
|
|
|
}
|
|
|
switch v.Status {
|
|
|
case domain.StaffAssessCompleted:
|
...
|
...
|
|