@@ -115,7 +115,7 @@ func GetLatestCount(recommend, depart int64) int64 {
ret := &Ret{}
o := orm.NewOrm()
sql := `
- select count(DISTINCT id) as count from
+ select count(DISTINCT a.id) as count from
live_broads a left join depart_records_live_broads b on a.id=b.live_broad_id
where a.recommend > ? and b.depart_record_id=? ;
`