|
|
@@ -125,6 +125,9 @@ func DownloadInvitationDetail(ctx *context.Context) { |
|
|
|
for _, userRecord := range re { |
|
|
|
row++ |
|
|
|
userRecord.Name = userNameMap[userRecord.UserID] |
|
|
|
if userRecord.Name == "" { |
|
|
|
userRecord.Name = "已注销" |
|
|
|
} |
|
|
|
writeInvitationDetailExcel(row, xlsx, sheetName, userRecord) |
|
|
|
} |
|
|
|
indexTotal += PAGE_SIZE |
|
|
@@ -335,7 +338,6 @@ func queryData(ctx *context.Context, startTime time.Time, endTime time.Time) { |
|
|
|
if err == nil { |
|
|
|
for _, tmp := range userList { |
|
|
|
userMap[tmp.ID] = tmp |
|
|
|
log.Info("userMap key=" + fmt.Sprint(tmp.ID)) |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|