瀏覽代碼

Merge branch 'feature/yb11.10_rai_report' into debug

xyxie 3 周之前
父節點
當前提交
bfa5f5ac52
共有 2 個文件被更改,包括 5 次插入3 次删除
  1. 1 1
      models/response/pc/report.go
  2. 4 2
      models/tables/rddp/report/query.go

+ 1 - 1
models/response/pc/report.go

@@ -64,6 +64,7 @@ type LatestReport struct {
 	PublishTime        time.Time `description:"发布时间" json:"publish_time"`
 	Stage              int       `description:"期数" json:"stage"`
 	ReportId           int
+	RaiReportId        int
 }
 
 func GetLatestStage(classifyNames []string) (items []*LatestReport, err error) {
@@ -173,6 +174,5 @@ func GetRaiRecommendList(reportId, firstId, secondId, thirdId int, publishTime t
 		}
 		items = append(items, afterItems...)
 	}
-
 	return
 }

+ 4 - 2
models/tables/rddp/report/query.go

@@ -333,7 +333,8 @@ classify_name_second,
 title,
 content_sub,
 stage,
-publish_time 
+publish_time,
+rai_report_id
 FROM
 	report
 WHERE
@@ -360,7 +361,8 @@ classify_name_second,
 title,
 content_sub,
 stage,
-publish_time 
+publish_time,
+rai_report_id
 FROM
 	report AS r
 	INNER JOIN