|
@@ -382,7 +382,7 @@ func GetTimeLineReportIndustrialPublishdateList(industrialIdArr []int) (items []
|
|
0,
|
|
0,
|
|
mmc.industry_id AS industrial_management_id,
|
|
mmc.industry_id AS industrial_management_id,
|
|
mmc.content AS title,
|
|
mmc.content AS title,
|
|
- mm.meeting_time AS publish_data
|
|
|
|
|
|
+ mm.meeting_time AS publish_date
|
|
FROM
|
|
FROM
|
|
cygx_morning_meeting_review_chapter AS mmc
|
|
cygx_morning_meeting_review_chapter AS mmc
|
|
INNER JOIN cygx_morning_meeting_reviews AS mm
|
|
INNER JOIN cygx_morning_meeting_reviews AS mm
|
|
@@ -390,7 +390,7 @@ func GetTimeLineReportIndustrialPublishdateList(industrialIdArr []int) (items []
|
|
mm.id = mmc.meeting_id
|
|
mm.id = mmc.meeting_id
|
|
AND mm.STATUS = 1
|
|
AND mm.STATUS = 1
|
|
AND mmc.industry_id IN (` + utils.GetOrmInReplace(len(industrialIdArr)) + `)
|
|
AND mmc.industry_id IN (` + utils.GetOrmInReplace(len(industrialIdArr)) + `)
|
|
- GROUP BY industrial_management_id ORDER BY publish_data DESC `
|
|
|
|
|
|
+ GROUP BY industrial_management_id ORDER BY publish_date DESC `
|
|
_, err = o.Raw(sql, industrialIdArr).QueryRows(&items)
|
|
_, err = o.Raw(sql, industrialIdArr).QueryRows(&items)
|
|
return
|
|
return
|
|
}
|
|
}
|