diff --git a/business/model/dao/dao_user2.go b/business/model/dao/dao_user2.go index 06802f6a8..b06d601ae 100644 --- a/business/model/dao/dao_user2.go +++ b/business/model/dao/dao_user2.go @@ -30,7 +30,7 @@ func GetUsers(db *DaoDB, userType int, keyword string, userIDs []string, userID2 sql := ` SELECT * FROM user t1 - WHERE t1.deleted_at = ? AND t1.type & ? <> 0` + WHERE t1.status = 1 AND t1.deleted_at = ? AND t1.type & ? <> 0` sqlParams := []interface{}{ utils.DefaultTimeValue, userType,