|
@@ -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.Table("yb_research_signup_statistics").Where("mobile = ? and banner_id=? ", mobile, bannerId).Count(&count).Error
|
|
|
+ err = global.DEFAULT_MYSQL.Table("yb_research_signup_statistics").Where("custom_mobile = ? and banner_id=? ", mobile, bannerId).Count(&count).Error
|
|
|
return
|
|
|
}
|