Browse Source

报告同步

kobe6258 6 tháng trước cách đây
mục cha
commit
ab0443a256
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/report/report.go

+ 1 - 1
models/report/report.go

@@ -82,7 +82,7 @@ func InsertOrUpdateReport(list []Report, source string) (result []Report, err er
 		if err != nil {
 			logger.Error("查询数据库失败研报失败:%v,发布时间不更新", err)
 		}
-		if dbReport.Status == StatusPublish {
+		if dbReport.SendStatus == SEND {
 			list[i].PublishedTime = dbReport.PublishedTime
 		}
 	}