소스 검색

Merge remote-tracking branch 'origin/fix/split_db'

Roc 1 년 전
부모
커밋
6ce5880b2b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      controllers/company_user.go

+ 2 - 1
controllers/company_user.go

@@ -3049,7 +3049,8 @@ func (this *CompanyUserController) ViewReportList() {
 			} else {
 				lastViewTimeT = raiViewTime
 			}
-			lastViewTime = lastViewTimeT.Format(utils.FormatDateTime)
+			// 默认要把最新的记录列出来,所以往后加1s
+			lastViewTime = lastViewTimeT.Add(1 * time.Second).Format(utils.FormatDateTime)
 		}
 	}