zwxi 9 months ago
parent
commit
5f9734e07b
1 changed files with 1 additions and 1 deletions
  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
 }