|
|
@@ -346,7 +346,7 @@ func queryData(ctx *context.Context, startTime time.Time, endTime time.Time) { |
|
|
|
|
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, userRecord.SrcUserID) |
|
|
|
tmp = tmp + 1 |
|
|
|
name := "" |
|
|
|
name := "已注销" |
|
|
|
if userMap[userRecord.SrcUserID] != nil { |
|
|
|
name = userMap[userRecord.SrcUserID].Name |
|
|
|
} |
|
|
@@ -365,8 +365,9 @@ func queryData(ctx *context.Context, startTime time.Time, endTime time.Time) { |
|
|
|
formatTime := "" |
|
|
|
if userMap[userRecord.SrcUserID] != nil { |
|
|
|
formatTime = userMap[userRecord.SrcUserID].CreatedUnix.Format("2006-01-02 15:04:05") |
|
|
|
formatTime = formatTime[0 : len(formatTime)-3] |
|
|
|
} |
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, formatTime[0:len(formatTime)-3]) |
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, formatTime) |
|
|
|
} |
|
|
|
//设置默认打开的表单 |
|
|
|
xlsx.SetActiveSheet(index) |
|
|
@@ -404,6 +405,8 @@ func queryData(ctx *context.Context, startTime time.Time, endTime time.Time) { |
|
|
|
invi.Name = tmpUser.Name |
|
|
|
invi.Phone = tmpUser.PhoneNumber |
|
|
|
invi.CreatedUnix = tmpUser.CreatedUnix |
|
|
|
} else { |
|
|
|
invi.Name = "已注销" |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|