Browse Source

fix:pdf研报添加

zqbao 7 tháng trước cách đây
mục cha
commit
05f5ba2af1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/report_pdf.go

+ 1 - 1
models/report_pdf.go

@@ -80,7 +80,7 @@ func (r *ReportPdf) Insert() (insertId int64, err error) {
 	}
 	if r.State == utils.ReportStatusUp {
 		insertPushStatus := &ReportPushStatus{
-			ReportId:           r.ReportPdfId,
+			ReportId:           int(insertId),
 			State:              0,
 			Title:              r.Title,
 			Abstract:           r.Abstract,