Selaa lähdekoodia

Merge branch 'crm_15.7' into debug

zwxi 10 kuukautta sitten
vanhempi
commit
8f77844bf7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      models/tables/yb_research_signup_statistics/model.go

+ 1 - 1
models/tables/yb_research_signup_statistics/model.go

@@ -10,6 +10,6 @@ func (m *YbResearchSignupStatistics) Create() (err error) {
 
 // GetBySandboxId 根据沙盘ID查询详情
 func GetSignUpCountByMobileAndBannerId(mobile string, bannerId int) (count int64, err error) {
-	err = global.DEFAULT_MYSQL.Where("mobile = ? and banner_id=0 ", mobile, bannerId).Count(&count).Error
+	err = global.DEFAULT_MYSQL.Where("mobile = ? and banner_id=? ", mobile, bannerId).Count(&count).Error
 	return
 }