Selaa lähdekoodia

Merge branch 'cygx/need_1007' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

zhangchuanxing 5 kuukautta sitten
vanhempi
commit
6b72c21202
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      models/cygx/activity_attendance_detail.go

+ 1 - 1
models/cygx/activity_attendance_detail.go

@@ -253,7 +253,7 @@ type RoadshowDataTitleResp struct {
 
 func GetRoadshowDataTitleList(startTime, endTime, title string) (list []*RoadshowDataTitle, err error) {
 	o := orm.NewOrmUsingDB("comein_data")
-	sql := `SELECT roadshow_title, roadshow_begin_time as activity_time  FROM roadshow_data WHERE  roadshow_begin_time > ? AND  roadshow_end_time < ?  roadshow_title LIKE '%` + title + `%'  GROUP BY  roadshow_id `
+	sql := `SELECT roadshow_title, roadshow_begin_time as activity_time  FROM roadshow_data WHERE  roadshow_begin_time > ? AND  roadshow_end_time < ?   AND roadshow_title LIKE '%` + title + `%'  GROUP BY  roadshow_id `
 	_, err = o.Raw(sql, startTime, endTime).QueryRows(&list)
 	return
 }