{"action":"created","issue":{"url":"https://api.github.com/repos/baomidou/mybatis-plus/issues/249","repository_url":"https://api.github.com/repos/baomidou/mybatis-plus","labels_url":"https://api.github.com/repos/baomidou/mybatis-plus/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/baomidou/mybatis-plus/issues/249/comments","events_url":"https://api.github.com/repos/baomidou/mybatis-plus/issues/249/events","html_url":"https://github.com/baomidou/mybatis-plus/issues/249","id":299906395,"number":249,"title":"插入时返回主键失效","user":{"login":"hhxx1994","id":26454067,"avatar_url":"https://avatars2.githubusercontent.com/u/26454067?v=4","gravatar_id":"","url":"https://api.github.com/users/hhxx1994","html_url":"https://github.com/hhxx1994","followers_url":"https://api.github.com/users/hhxx1994/followers","following_url":"https://api.github.com/users/hhxx1994/following{/other_user}","gists_url":"https://api.github.com/users/hhxx1994/gists{/gist_id}","starred_url":"https://api.github.com/users/hhxx1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhxx1994/subscriptions","organizations_url":"https://api.github.com/users/hhxx1994/orgs","repos_url":"https://api.github.com/users/hhxx1994/repos","events_url":"https://api.github.com/users/hhxx1994/events{/privacy}","received_events_url":"https://api.github.com/users/hhxx1994/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-24T03:15:46Z","updated_at":"2018-02-24T03:19:07Z","closed_at":"2018-02-24T03:19:07Z","author_association":"NONE","body":" insert id=\"insertAndGetId\" useGeneratedKeys=\"true\" keyProperty=\"id\" keyColumn=\"id\" parameterType=\"com.hhx.house.entity.User\" \r\n    insert into user(name,password,register_date)\r\n    values(#{user.name},#{user.password},now())\r\n insert\r\n\r\n不能返回主键"},"comment":{"url":"https://api.github.com/repos/baomidou/mybatis-plus/issues/comments/368194721","html_url":"https://github.com/baomidou/mybatis-plus/issues/249#issuecomment-368194721","issue_url":"https://api.github.com/repos/baomidou/mybatis-plus/issues/249","id":368194721,"user":{"login":"qmdx","id":1481125,"avatar_url":"https://avatars0.githubusercontent.com/u/1481125?v=4","gravatar_id":"","url":"https://api.github.com/users/qmdx","html_url":"https://github.com/qmdx","followers_url":"https://api.github.com/users/qmdx/followers","following_url":"https://api.github.com/users/qmdx/following{/other_user}","gists_url":"https://api.github.com/users/qmdx/gists{/gist_id}","starred_url":"https://api.github.com/users/qmdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmdx/subscriptions","organizations_url":"https://api.github.com/users/qmdx/orgs","repos_url":"https://api.github.com/users/qmdx/repos","events_url":"https://api.github.com/users/qmdx/events{/privacy}","received_events_url":"https://api.github.com/users/qmdx/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T03:19:07Z","updated_at":"2018-02-24T03:19:07Z","author_association":"CONTRIBUTOR","body":"这是自定义插入吧， 不属于 mp 的范畴了。请使用 MP 提供的插入方法"}}
{"actor":{"display_login":"qmdx"}}