{"action":"created","issue":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/667","labels_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/667/labels{/name}","comments_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/667/comments","events_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/667/events","html_url":"https://github.com/HP-Enterprise/BriAir/issues/667","id":112495426,"number":667,"title":"BUG：通过组织名称、组织简码查询组织返回结果不正确，导致新增组织过程出错","user":{"login":"TeemolSparrow","id":13936823,"avatar_url":"https://avatars.githubusercontent.com/u/13936823?v=3","gravatar_id":"","url":"https://api.github.com/users/TeemolSparrow","html_url":"https://github.com/TeemolSparrow","followers_url":"https://api.github.com/users/TeemolSparrow/followers","following_url":"https://api.github.com/users/TeemolSparrow/following{/other_user}","gists_url":"https://api.github.com/users/TeemolSparrow/gists{/gist_id}","starred_url":"https://api.github.com/users/TeemolSparrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeemolSparrow/subscriptions","organizations_url":"https://api.github.com/users/TeemolSparrow/orgs","repos_url":"https://api.github.com/users/TeemolSparrow/repos","events_url":"https://api.github.com/users/TeemolSparrow/events{/privacy}","received_events_url":"https://api.github.com/users/TeemolSparrow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jiangli0509","id":5874912,"avatar_url":"https://avatars.githubusercontent.com/u/5874912?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangli0509","html_url":"https://github.com/jiangli0509","followers_url":"https://api.github.com/users/jiangli0509/followers","following_url":"https://api.github.com/users/jiangli0509/following{/other_user}","gists_url":"https://api.github.com/users/jiangli0509/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangli0509/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangli0509/subscriptions","organizations_url":"https://api.github.com/users/jiangli0509/orgs","repos_url":"https://api.github.com/users/jiangli0509/repos","events_url":"https://api.github.com/users/jiangli0509/events{/privacy}","received_events_url":"https://api.github.com/users/jiangli0509/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/milestones/11","html_url":"https://github.com/HP-Enterprise/BriAir/milestones/M11-OOP","labels_url":"https://api.github.com/repos/HP-Enterprise/BriAir/milestones/11/labels","id":1329056,"number":11,"title":"M11-OOP","description":"系统更新 & 车辆保养 & 部分新的权限 使用面向对象(OOP)的方法设计实现","creator":{"login":"AceBear","id":5030312,"avatar_url":"https://avatars.githubusercontent.com/u/5030312?v=3","gravatar_id":"","url":"https://api.github.com/users/AceBear","html_url":"https://github.com/AceBear","followers_url":"https://api.github.com/users/AceBear/followers","following_url":"https://api.github.com/users/AceBear/following{/other_user}","gists_url":"https://api.github.com/users/AceBear/gists{/gist_id}","starred_url":"https://api.github.com/users/AceBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AceBear/subscriptions","organizations_url":"https://api.github.com/users/AceBear/orgs","repos_url":"https://api.github.com/users/AceBear/repos","events_url":"https://api.github.com/users/AceBear/events{/privacy}","received_events_url":"https://api.github.com/users/AceBear/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":66,"state":"closed","created_at":"2015-09-29T13:30:42Z","updated_at":"2015-10-27T05:47:58Z","due_on":"2015-10-23T16:00:00Z","closed_at":"2015-10-27T02:56:28Z"},"comments":4,"created_at":"2015-10-21T01:53:57Z","updated_at":"2015-10-27T05:47:58Z","closed_at":null,"body":"背景：新增组织需要进行组织名称及简码唯一性验证   #446\r\n\r\n步骤：①使用管理员登录； ②使用浏览器测试API:  api/org?orgName=123\r\n期望：返回组织名称为“123”的组织\r\n实际：返回500错误\r\n\r\n![qq 20151021094851](https://cloud.githubusercontent.com/assets/13936823/10625716/f8621a26-77d8-11e5-8e7b-9eb0a2f8a9c8.png)\r\n\r\n步骤：①使用管理员登录； ②使用浏览器测试API:  api/org?breCode=123\r\n期望：返名组织简码为“123”的组织\r\n实际：返回了组织简码不为“123”的组织\r\n\r\n![qq 20151021095117](https://cloud.githubusercontent.com/assets/13936823/10625740/5a665d4a-77d9-11e5-84a3-82ac5530bcb7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/comments/151382249","html_url":"https://github.com/HP-Enterprise/BriAir/issues/667#issuecomment-151382249","issue_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/667","id":151382249,"user":{"login":"TeemolSparrow","id":13936823,"avatar_url":"https://avatars.githubusercontent.com/u/13936823?v=3","gravatar_id":"","url":"https://api.github.com/users/TeemolSparrow","html_url":"https://github.com/TeemolSparrow","followers_url":"https://api.github.com/users/TeemolSparrow/followers","following_url":"https://api.github.com/users/TeemolSparrow/following{/other_user}","gists_url":"https://api.github.com/users/TeemolSparrow/gists{/gist_id}","starred_url":"https://api.github.com/users/TeemolSparrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeemolSparrow/subscriptions","organizations_url":"https://api.github.com/users/TeemolSparrow/orgs","repos_url":"https://api.github.com/users/TeemolSparrow/repos","events_url":"https://api.github.com/users/TeemolSparrow/events{/privacy}","received_events_url":"https://api.github.com/users/TeemolSparrow/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T05:47:58Z","updated_at":"2015-10-27T05:47:58Z","body":"#777  \r\n\r\n查询结果依然有问题：\r\n\r\n![qq 20151027134526](https://cloud.githubusercontent.com/assets/13936823/10750514/3c9deb52-7cb1-11e5-9610-908193356411.png)\r\n"}}