作者 tangxvhui

调整 excel 导出的内容

... ... @@ -203,7 +203,7 @@ func (e *exportData2) setData(param []dao.ExportData1) {
e.data[key] = &strings.Builder{}
e.data[key].WriteString(v.Value + "\n")
for _, v2 := range v.Remark {
e.data[key].WriteString(v2.Definition + "\n")
e.data[key].WriteString(v2.Title + "\n")
e.data[key].WriteString(v2.RemarkText + "\n")
}
}
... ...
... ... @@ -821,7 +821,7 @@ func (srv StaffAssessServeice) ListTargetUserSuperAssess(param *query.ListTarget
if err := transactionContext.CommitTransaction(); err != nil {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
var resultList []map[string]interface{}
resultList := []map[string]interface{}{}
for _, v := range assessList {
item := map[string]interface{}{
"id": v.Id,
... ...