diff --git a/app/mix/dao/mysql_zone.go b/app/mix/dao/mysql_zone.go index d79081c1..0ed593d1 100644 --- a/app/mix/dao/mysql_zone.go +++ b/app/mix/dao/mysql_zone.go @@ -477,7 +477,7 @@ func (m *Mysql) GetZoneMemberCnt(ctx *gin.Context, tx *sqlx.Tx, zid int64, memTy err = tx.GetContext(ctx, &cntSt, sqlStr, args...) } else { db := m.getDBVas() - err = db.SelectContext(ctx, &cntSt, sqlStr, args...) + err = db.GetContext(ctx, &cntSt, sqlStr, args...) } if err == sql.ErrNoRows { err = nil