{"action":"opened","issue":{"url":"https://api.github.com/repos/go-xorm/xorm/issues/374","repository_url":"https://api.github.com/repos/go-xorm/xorm","labels_url":"https://api.github.com/repos/go-xorm/xorm/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/go-xorm/xorm/issues/374/comments","events_url":"https://api.github.com/repos/go-xorm/xorm/issues/374/events","html_url":"https://github.com/go-xorm/xorm/issues/374","id":142979043,"number":374,"title":"find查询中in和find中第二个参数有值时生成sql的参数顺序出错","user":{"login":"scofieldpeng","id":3294117,"avatar_url":"https://avatars.githubusercontent.com/u/3294117?v=3","gravatar_id":"","url":"https://api.github.com/users/scofieldpeng","html_url":"https://github.com/scofieldpeng","followers_url":"https://api.github.com/users/scofieldpeng/followers","following_url":"https://api.github.com/users/scofieldpeng/following{/other_user}","gists_url":"https://api.github.com/users/scofieldpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/scofieldpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scofieldpeng/subscriptions","organizations_url":"https://api.github.com/users/scofieldpeng/orgs","repos_url":"https://api.github.com/users/scofieldpeng/repos","events_url":"https://api.github.com/users/scofieldpeng/events{/privacy}","received_events_url":"https://api.github.com/users/scofieldpeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-23T14:43:05Z","updated_at":"2016-03-23T14:43:05Z","closed_at":null,"body":"如下:\r\n```golang\r\nvar user User\r\nvar list []List\r\nuser.Userid=2\r\nengine.In(\"names\",\"Julia\",\"Scofield\",\"Bob\").Find(&list,user)\r\n```\r\n\r\n生成的sql应该是:`SELECT * FROM user WHERE userid=? AND names IN(?,?,?)`,参数顺序应该是2,Julia,Scoield,Bob,但是生成的sql的参数Julia,Scofield,Bob,2"}}