This commit is contained in:
苏尹岚
2021-04-09 11:20:24 +08:00
parent b1868591d0
commit f062cb371c
2 changed files with 1 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ func GetUserBindAuthInfo(db *DaoDB, userID string, bindType int, typeList []stri
sqlParams = append(sqlParams, authID2)
}
if len(typeIDs) > 0 {
sql += " AND t1.type IN (" + GenQuestionMarks(len(typeIDs)) + ")"
sql += " AND t1.type_id IN (" + GenQuestionMarks(len(typeIDs)) + ")"
sqlParams = append(sqlParams, typeIDs)
}
sql += " ORDER BY t1.type"