{"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/NanGongLiu/HRS/pulls/38","id":97158617,"html_url":"https://github.com/NanGongLiu/HRS/pull/38","diff_url":"https://github.com/NanGongLiu/HRS/pull/38.diff","patch_url":"https://github.com/NanGongLiu/HRS/pull/38.patch","issue_url":"https://api.github.com/repos/NanGongLiu/HRS/issues/38","number":38,"state":"open","locked":false,"title":"添加了三个酒店的逻辑层的方法，供下订单时使用","user":{"login":"qq972366901","id":19574015,"avatar_url":"https://avatars.githubusercontent.com/u/19574015?v=3","gravatar_id":"","url":"https://api.github.com/users/qq972366901","html_url":"https://github.com/qq972366901","followers_url":"https://api.github.com/users/qq972366901/followers","following_url":"https://api.github.com/users/qq972366901/following{/other_user}","gists_url":"https://api.github.com/users/qq972366901/gists{/gist_id}","starred_url":"https://api.github.com/users/qq972366901/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qq972366901/subscriptions","organizations_url":"https://api.github.com/users/qq972366901/orgs","repos_url":"https://api.github.com/users/qq972366901/repos","events_url":"https://api.github.com/users/qq972366901/events{/privacy}","received_events_url":"https://api.github.com/users/qq972366901/received_events","type":"User","site_admin":false},"body":"/**\r\n     * 得到酒店的空闲房间的房型列表\r\n     * \r\n     * @param hotelid String型，酒店帐号\r\n     * @return String型，房型列表\r\n     */\r\n\tpublic List<String> getRoomType(String hotelid);\r\n\t/**\r\n     * 得到酒店空闲的此房型的剩余数量\r\n     * \r\n     * @param hotelid String型，酒店帐号\r\n     * @param roomType String型，房间类型\r\n     * @return  int型，订单总的原价\r\n     */\r\n\tpublic int getMaxRoomNumber(String hotelid, String roomType);\r\n\t/**\r\n     * 得到客户酒店房间订单的总原价\r\n     * \r\n     * @param hotelid String型，酒店帐号\r\n     * @param roomType String型，房间类型\r\n     * @param roomNumber int型，预定房间数量\r\n     * @return  int型，订单总的原价\r\n     */\r\n\tpublic int getOrderPrice(String hotelid, String roomType, int roomNumber);","created_at":"2016-12-08T16:49:02Z","updated_at":"2016-12-08T16:49:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NanGongLiu/HRS/pulls/38/commits","review_comments_url":"https://api.github.com/repos/NanGongLiu/HRS/pulls/38/comments","review_comment_url":"https://api.github.com/repos/NanGongLiu/HRS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NanGongLiu/HRS/issues/38/comments","statuses_url":"https://api.github.com/repos/NanGongLiu/HRS/statuses/38dc853c3520abf33f55925770be5e709197b16e","head":{"label":"qq972366901:master","ref":"master","sha":"38dc853c3520abf33f55925770be5e709197b16e","user":{"login":"qq972366901","id":19574015,"avatar_url":"https://avatars.githubusercontent.com/u/19574015?v=3","gravatar_id":"","url":"https://api.github.com/users/qq972366901","html_url":"https://github.com/qq972366901","followers_url":"https://api.github.com/users/qq972366901/followers","following_url":"https://api.github.com/users/qq972366901/following{/other_user}","gists_url":"https://api.github.com/users/qq972366901/gists{/gist_id}","starred_url":"https://api.github.com/users/qq972366901/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qq972366901/subscriptions","organizations_url":"https://api.github.com/users/qq972366901/orgs","repos_url":"https://api.github.com/users/qq972366901/repos","events_url":"https://api.github.com/users/qq972366901/events{/privacy}","received_events_url":"https://api.github.com/users/qq972366901/received_events","type":"User","site_admin":false},"repo":{"id":73248429,"name":"HRS","full_name":"qq972366901/HRS","owner":{"login":"qq972366901","id":19574015,"avatar_url":"https://avatars.githubusercontent.com/u/19574015?v=3","gravatar_id":"","url":"https://api.github.com/users/qq972366901","html_url":"https://github.com/qq972366901","followers_url":"https://api.github.com/users/qq972366901/followers","following_url":"https://api.github.com/users/qq972366901/following{/other_user}","gists_url":"https://api.github.com/users/qq972366901/gists{/gist_id}","starred_url":"https://api.github.com/users/qq972366901/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qq972366901/subscriptions","organizations_url":"https://api.github.com/users/qq972366901/orgs","repos_url":"https://api.github.com/users/qq972366901/repos","events_url":"https://api.github.com/users/qq972366901/events{/privacy}","received_events_url":"https://api.github.com/users/qq972366901/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qq972366901/HRS","description":"Hotel Reservation System","fork":true,"url":"https://api.github.com/repos/qq972366901/HRS","forks_url":"https://api.github.com/repos/qq972366901/HRS/forks","keys_url":"https://api.github.com/repos/qq972366901/HRS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qq972366901/HRS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qq972366901/HRS/teams","hooks_url":"https://api.github.com/repos/qq972366901/HRS/hooks","issue_events_url":"https://api.github.com/repos/qq972366901/HRS/issues/events{/number}","events_url":"https://api.github.com/repos/qq972366901/HRS/events","assignees_url":"https://api.github.com/repos/qq972366901/HRS/assignees{/user}","branches_url":"https://api.github.com/repos/qq972366901/HRS/branches{/branch}","tags_url":"https://api.github.com/repos/qq972366901/HRS/tags","blobs_url":"https://api.github.com/repos/qq972366901/HRS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qq972366901/HRS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qq972366901/HRS/git/refs{/sha}","trees_url":"https://api.github.com/repos/qq972366901/HRS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qq972366901/HRS/statuses/{sha}","languages_url":"https://api.github.com/repos/qq972366901/HRS/languages","stargazers_url":"https://api.github.com/repos/qq972366901/HRS/stargazers","contributors_url":"https://api.github.com/repos/qq972366901/HRS/contributors","subscribers_url":"https://api.github.com/repos/qq972366901/HRS/subscribers","subscription_url":"https://api.github.com/repos/qq972366901/HRS/subscription","commits_url":"https://api.github.com/repos/qq972366901/HRS/commits{/sha}","git_commits_url":"https://api.github.com/repos/qq972366901/HRS/git/commits{/sha}","comments_url":"https://api.github.com/repos/qq972366901/HRS/comments{/number}","issue_comment_url":"https://api.github.com/repos/qq972366901/HRS/issues/comments{/number}","contents_url":"https://api.github.com/repos/qq972366901/HRS/contents/{+path}","compare_url":"https://api.github.com/repos/qq972366901/HRS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qq972366901/HRS/merges","archive_url":"https://api.github.com/repos/qq972366901/HRS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qq972366901/HRS/downloads","issues_url":"https://api.github.com/repos/qq972366901/HRS/issues{/number}","pulls_url":"https://api.github.com/repos/qq972366901/HRS/pulls{/number}","milestones_url":"https://api.github.com/repos/qq972366901/HRS/milestones{/number}","notifications_url":"https://api.github.com/repos/qq972366901/HRS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qq972366901/HRS/labels{/name}","releases_url":"https://api.github.com/repos/qq972366901/HRS/releases{/id}","deployments_url":"https://api.github.com/repos/qq972366901/HRS/deployments","created_at":"2016-11-09T03:08:40Z","updated_at":"2016-11-09T03:08:45Z","pushed_at":"2016-12-08T16:48:48Z","git_url":"git://github.com/qq972366901/HRS.git","ssh_url":"git@github.com:qq972366901/HRS.git","clone_url":"https://github.com/qq972366901/HRS.git","svn_url":"https://github.com/qq972366901/HRS","homepage":null,"size":12172,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NanGongLiu:master","ref":"master","sha":"6ec85fb59e148d654e284df606d5d9295199d377","user":{"login":"NanGongLiu","id":18598412,"avatar_url":"https://avatars.githubusercontent.com/u/18598412?v=3","gravatar_id":"","url":"https://api.github.com/users/NanGongLiu","html_url":"https://github.com/NanGongLiu","followers_url":"https://api.github.com/users/NanGongLiu/followers","following_url":"https://api.github.com/users/NanGongLiu/following{/other_user}","gists_url":"https://api.github.com/users/NanGongLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/NanGongLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NanGongLiu/subscriptions","organizations_url":"https://api.github.com/users/NanGongLiu/orgs","repos_url":"https://api.github.com/users/NanGongLiu/repos","events_url":"https://api.github.com/users/NanGongLiu/events{/privacy}","received_events_url":"https://api.github.com/users/NanGongLiu/received_events","type":"User","site_admin":false},"repo":{"id":71258325,"name":"HRS","full_name":"NanGongLiu/HRS","owner":{"login":"NanGongLiu","id":18598412,"avatar_url":"https://avatars.githubusercontent.com/u/18598412?v=3","gravatar_id":"","url":"https://api.github.com/users/NanGongLiu","html_url":"https://github.com/NanGongLiu","followers_url":"https://api.github.com/users/NanGongLiu/followers","following_url":"https://api.github.com/users/NanGongLiu/following{/other_user}","gists_url":"https://api.github.com/users/NanGongLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/NanGongLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NanGongLiu/subscriptions","organizations_url":"https://api.github.com/users/NanGongLiu/orgs","repos_url":"https://api.github.com/users/NanGongLiu/repos","events_url":"https://api.github.com/users/NanGongLiu/events{/privacy}","received_events_url":"https://api.github.com/users/NanGongLiu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NanGongLiu/HRS","description":"Hotel Reservation System","fork":false,"url":"https://api.github.com/repos/NanGongLiu/HRS","forks_url":"https://api.github.com/repos/NanGongLiu/HRS/forks","keys_url":"https://api.github.com/repos/NanGongLiu/HRS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NanGongLiu/HRS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NanGongLiu/HRS/teams","hooks_url":"https://api.github.com/repos/NanGongLiu/HRS/hooks","issue_events_url":"https://api.github.com/repos/NanGongLiu/HRS/issues/events{/number}","events_url":"https://api.github.com/repos/NanGongLiu/HRS/events","assignees_url":"https://api.github.com/repos/NanGongLiu/HRS/assignees{/user}","branches_url":"https://api.github.com/repos/NanGongLiu/HRS/branches{/branch}","tags_url":"https://api.github.com/repos/NanGongLiu/HRS/tags","blobs_url":"https://api.github.com/repos/NanGongLiu/HRS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NanGongLiu/HRS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NanGongLiu/HRS/git/refs{/sha}","trees_url":"https://api.github.com/repos/NanGongLiu/HRS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NanGongLiu/HRS/statuses/{sha}","languages_url":"https://api.github.com/repos/NanGongLiu/HRS/languages","stargazers_url":"https://api.github.com/repos/NanGongLiu/HRS/stargazers","contributors_url":"https://api.github.com/repos/NanGongLiu/HRS/contributors","subscribers_url":"https://api.github.com/repos/NanGongLiu/HRS/subscribers","subscription_url":"https://api.github.com/repos/NanGongLiu/HRS/subscription","commits_url":"https://api.github.com/repos/NanGongLiu/HRS/commits{/sha}","git_commits_url":"https://api.github.com/repos/NanGongLiu/HRS/git/commits{/sha}","comments_url":"https://api.github.com/repos/NanGongLiu/HRS/comments{/number}","issue_comment_url":"https://api.github.com/repos/NanGongLiu/HRS/issues/comments{/number}","contents_url":"https://api.github.com/repos/NanGongLiu/HRS/contents/{+path}","compare_url":"https://api.github.com/repos/NanGongLiu/HRS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NanGongLiu/HRS/merges","archive_url":"https://api.github.com/repos/NanGongLiu/HRS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NanGongLiu/HRS/downloads","issues_url":"https://api.github.com/repos/NanGongLiu/HRS/issues{/number}","pulls_url":"https://api.github.com/repos/NanGongLiu/HRS/pulls{/number}","milestones_url":"https://api.github.com/repos/NanGongLiu/HRS/milestones{/number}","notifications_url":"https://api.github.com/repos/NanGongLiu/HRS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NanGongLiu/HRS/labels{/name}","releases_url":"https://api.github.com/repos/NanGongLiu/HRS/releases{/id}","deployments_url":"https://api.github.com/repos/NanGongLiu/HRS/deployments","created_at":"2016-10-18T14:43:32Z","updated_at":"2016-11-07T11:42:39Z","pushed_at":"2016-12-08T11:53:55Z","git_url":"git://github.com/NanGongLiu/HRS.git","ssh_url":"git@github.com:NanGongLiu/HRS.git","clone_url":"https://github.com/NanGongLiu/HRS.git","svn_url":"https://github.com/NanGongLiu/HRS","homepage":null,"size":12280,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NanGongLiu/HRS/pulls/38"},"html":{"href":"https://github.com/NanGongLiu/HRS/pull/38"},"issue":{"href":"https://api.github.com/repos/NanGongLiu/HRS/issues/38"},"comments":{"href":"https://api.github.com/repos/NanGongLiu/HRS/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/NanGongLiu/HRS/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/NanGongLiu/HRS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NanGongLiu/HRS/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/NanGongLiu/HRS/statuses/38dc853c3520abf33f55925770be5e709197b16e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":145,"deletions":3,"changed_files":11}}
{"actor":{"display_login":"qq972366901"}}