Merge branch 'dev_search_zmember' into test

This commit is contained in:
lwl0608 2024-09-10 12:34:57 +08:00
commit cb3ea25b3c
1 changed files with 1 additions and 1 deletions

View File

@ -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