|
@@ -97,6 +97,7 @@ type RddpWeekReportViewersDetail struct {
|
|
|
ResearchReportType string
|
|
|
ReportCreateDate string
|
|
|
ChapterTitle string
|
|
|
+ ClassifyNameSecond string
|
|
|
}
|
|
|
|
|
|
func GetRddpWeekReportViewersDetail(startTime, endTime string) (items []*RddpWeekReportViewersDetail, err error) {
|
|
@@ -125,7 +126,7 @@ func GetRddpTwoWeekReportViewersDetail(startTime, endTime string) (items []*Rddp
|
|
|
sql := `
|
|
|
SELECT
|
|
|
u.real_name,c.company_name,uvh.create_time AS created_time,REPLACE ( SUBSTRING( r.create_time, 6, 5 ), '-', '' ) AS report_create_date,
|
|
|
- r.title AS research_report_name,r.classify_name_second AS research_report_type
|
|
|
+ r.title AS research_report_name,r.classify_name_second AS research_report_type,r.classify_name_second
|
|
|
FROM
|
|
|
hongze_rddp.report_view_record AS uvh
|
|
|
INNER JOIN hongze_rddp.report AS r ON uvh.report_id = r.id
|