From cef5be3e06dce56330a94b750a11f98453b975d4 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 7 Aug 2019 11:35:46 +0800 Subject: [PATCH] =?UTF-8?q?-=20GetUsers=E8=BF=87=E6=BB=A4=E6=8E=89?= =?UTF-8?q?=E7=A6=BB=E8=81=8C=E4=BA=BA=E5=91=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/dao_user2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,