浏览代码

no message

xingzai 2 年之前
父节点
当前提交
f0f6a771bb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      models/report.go

+ 2 - 2
models/report.go

@@ -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
 }
 }