|
@@ -303,6 +303,8 @@ func AddReportRecord(cont context.Context) (err error) {
|
|
|
if mapRsReportRecordPermission[pKey] {
|
|
|
continue
|
|
|
}
|
|
|
+ vP.CreatedTime = time.Now()
|
|
|
+ vP.ModifyTime = time.Now().Format(utils.FormatDateTime)
|
|
|
vP.RsCalendarId = v.RsCalendarId
|
|
|
itemsRs = append(itemsRs, vP)
|
|
|
mapRsReportRecordPermission[pKey] = true
|
|
@@ -313,6 +315,8 @@ func AddReportRecord(cont context.Context) (err error) {
|
|
|
if mapRsReportRecordPermission[pKey] {
|
|
|
continue
|
|
|
}
|
|
|
+ vP.CreatedTime = time.Now()
|
|
|
+ vP.ModifyTime = time.Now().Format(utils.FormatDateTime)
|
|
|
vP.RsCalendarId = v.RsCalendarId
|
|
|
itemsRs = append(itemsRs, vP)
|
|
|
mapRsReportRecordPermission[pKey] = true
|