{"action":"created","issue":{"url":"https://api.github.com/repos/nutzam/nutz/issues/833","labels_url":"https://api.github.com/repos/nutzam/nutz/issues/833/labels{/name}","comments_url":"https://api.github.com/repos/nutzam/nutz/issues/833/comments","events_url":"https://api.github.com/repos/nutzam/nutz/issues/833/events","html_url":"https://github.com/nutzam/nutz/issues/833","id":68061227,"number":833,"title":"@Readonly在update 时候的问题。","user":{"login":"bugss","id":5592262,"avatar_url":"https://avatars.githubusercontent.com/u/5592262?v=3","gravatar_id":"","url":"https://api.github.com/users/bugss","html_url":"https://github.com/bugss","followers_url":"https://api.github.com/users/bugss/followers","following_url":"https://api.github.com/users/bugss/following{/other_user}","gists_url":"https://api.github.com/users/bugss/gists{/gist_id}","starred_url":"https://api.github.com/users/bugss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugss/subscriptions","organizations_url":"https://api.github.com/users/bugss/orgs","repos_url":"https://api.github.com/users/bugss/repos","events_url":"https://api.github.com/users/bugss/events{/privacy}","received_events_url":"https://api.github.com/users/bugss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-13T10:13:33Z","updated_at":"2015-04-13T21:40:08Z","closed_at":null,"body":"int org.nutz.dao.Dao.update(Class<?> arg0, Chain arg1, Condition arg2) 这个接口。\r\nnutzdao 1.51 版本\r\n表配置\r\n@Table(\"xd_other\")\r\npublic class OtherInfo ｛\r\n\r\n字段配置\r\n@Readonly\r\n@Column\r\nprivate String fzh;\r\n其中fzh 不在表xd_other 中 。更新数据依然报\r\nUnknown column 'fzh' in 'field list'\r\n\r\n刚刚又试了下，去掉@Column update 依然报错\r\n而且 去掉了@Column  dao.query 带不回fzh的值。 \r\n其实直接执行sql fzh 是有值的，而且加上@Column 后  dao.query   fzh也有值。\r\n\r\n帮忙看下。\r\n怀疑 int org.nutz.dao.Dao.update(Class<?> arg0, Chain arg1, Condition arg2) 这个接口\r\n没有对@Readonly 的情况做判断。 最近在客户这边赶项目，没时间调具体原因的，请帮忙看下。我再想办法绕过去。。。。"},"comment":{"url":"https://api.github.com/repos/nutzam/nutz/issues/comments/92509237","html_url":"https://github.com/nutzam/nutz/issues/833#issuecomment-92509237","issue_url":"https://api.github.com/repos/nutzam/nutz/issues/833","id":92509237,"user":{"login":"bugss","id":5592262,"avatar_url":"https://avatars.githubusercontent.com/u/5592262?v=3","gravatar_id":"","url":"https://api.github.com/users/bugss","html_url":"https://github.com/bugss","followers_url":"https://api.github.com/users/bugss/followers","following_url":"https://api.github.com/users/bugss/following{/other_user}","gists_url":"https://api.github.com/users/bugss/gists{/gist_id}","starred_url":"https://api.github.com/users/bugss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugss/subscriptions","organizations_url":"https://api.github.com/users/bugss/orgs","repos_url":"https://api.github.com/users/bugss/repos","events_url":"https://api.github.com/users/bugss/events{/privacy}","received_events_url":"https://api.github.com/users/bugss/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T21:40:08Z","updated_at":"2015-04-13T21:40:08Z","body":"Chain 里面是有fzh的，但是既然@Readonly了字段  nutzdao 应该就已经知道了这个字段不用更新，然后任何情况都不应该更新这个字段。 \r\n"}}