Browse Source

提交代码。解决自定义时间查询功能。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2974/head
zouap 2 years ago
parent
commit
1b37c8e08f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      routers/repo/user_invitation.go

+ 3
- 1
routers/repo/user_invitation.go View File

@@ -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 {



Loading…
Cancel
Save