- GetUsers过滤掉离职人员信息

This commit is contained in:
gazebo
2019-08-07 11:35:46 +08:00
parent 638d851872
commit cef5be3e06

View File

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