|
@@ -821,7 +821,7 @@ func (srv StaffAssessServeice) ListTargetUserSuperAssess(param *query.ListTarget |
|
@@ -821,7 +821,7 @@ func (srv StaffAssessServeice) ListTargetUserSuperAssess(param *query.ListTarget |
821
|
if err := transactionContext.CommitTransaction(); err != nil {
|
821
|
if err := transactionContext.CommitTransaction(); err != nil {
|
822
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
822
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
823
|
}
|
823
|
}
|
824
|
- var resultList []map[string]interface{}
|
824
|
+ resultList := []map[string]interface{}{}
|
825
|
for _, v := range assessList {
|
825
|
for _, v := range assessList {
|
826
|
item := map[string]interface{}{
|
826
|
item := map[string]interface{}{
|
827
|
"id": v.Id,
|
827
|
"id": v.Id,
|