{"action":"created","issue":{"url":"https://api.github.com/repos/sunkaixuan/SqlSugar/issues/152","repository_url":"https://api.github.com/repos/sunkaixuan/SqlSugar","labels_url":"https://api.github.com/repos/sunkaixuan/SqlSugar/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/sunkaixuan/SqlSugar/issues/152/comments","events_url":"https://api.github.com/repos/sunkaixuan/SqlSugar/issues/152/events","html_url":"https://github.com/sunkaixuan/SqlSugar/issues/152","id":384210743,"node_id":"MDU6SXNzdWUzODQyMTA3NDM=","number":152,"title":"差异日志插入返回的参数问题","user":{"login":"KFine001","id":33540983,"node_id":"MDQ6VXNlcjMzNTQwOTgz","avatar_url":"https://avatars3.githubusercontent.com/u/33540983?v=4","gravatar_id":"","url":"https://api.github.com/users/KFine001","html_url":"https://github.com/KFine001","followers_url":"https://api.github.com/users/KFine001/followers","following_url":"https://api.github.com/users/KFine001/following{/other_user}","gists_url":"https://api.github.com/users/KFine001/gists{/gist_id}","starred_url":"https://api.github.com/users/KFine001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KFine001/subscriptions","organizations_url":"https://api.github.com/users/KFine001/orgs","repos_url":"https://api.github.com/users/KFine001/repos","events_url":"https://api.github.com/users/KFine001/events{/privacy}","received_events_url":"https://api.github.com/users/KFine001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-26T07:52:01Z","updated_at":"2018-11-26T10:19:00Z","closed_at":"2018-11-26T10:03:17Z","author_association":"NONE","body":"升级到4.9后，立即对差异日志产生了兴趣。因为添加操作日志功能又可以不用在每个操作方法后调用了\r\n正在封装的过程中发现了一些问题\r\n\r\nInsertable 调用 EnableDiffLogEvent ，BeforeData 返回null(这个没问题)，AfterDate返回空\r\n这样也许没什么不对，不过由于我在操作日志表里加了一个差异字段，想\r\n添加的操作，记录用户当时都插入了什么值\r\n修改的操作，记录用户修改了那些值（BeforeData ，AfterDate都有数据）\r\n删除的操作，记录用户删之前的数据，防止误删造成的严重后果（BeforeData 有数据，AfterDate为null）\r\n\r\n如果作者愿意把Insertable后的AfterDate数据返回最好，我就可以少传一个实体，少几个判断"},"comment":{"url":"https://api.github.com/repos/sunkaixuan/SqlSugar/issues/comments/441587849","html_url":"https://github.com/sunkaixuan/SqlSugar/issues/152#issuecomment-441587849","issue_url":"https://api.github.com/repos/sunkaixuan/SqlSugar/issues/152","id":441587849,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTU4Nzg0OQ==","user":{"login":"sunkaixuan","id":12455385,"node_id":"MDQ6VXNlcjEyNDU1Mzg1","avatar_url":"https://avatars3.githubusercontent.com/u/12455385?v=4","gravatar_id":"","url":"https://api.github.com/users/sunkaixuan","html_url":"https://github.com/sunkaixuan","followers_url":"https://api.github.com/users/sunkaixuan/followers","following_url":"https://api.github.com/users/sunkaixuan/following{/other_user}","gists_url":"https://api.github.com/users/sunkaixuan/gists{/gist_id}","starred_url":"https://api.github.com/users/sunkaixuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunkaixuan/subscriptions","organizations_url":"https://api.github.com/users/sunkaixuan/orgs","repos_url":"https://api.github.com/users/sunkaixuan/repos","events_url":"https://api.github.com/users/sunkaixuan/events{/privacy}","received_events_url":"https://api.github.com/users/sunkaixuan/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T10:19:00Z","updated_at":"2018-11-26T10:19:00Z","author_association":"OWNER","body":"如果还不能解决问题，写个控制台代码发我"}}
{"actor":{"display_login":"sunkaixuan"}}