{"action":"created","comment":{"url":"https://api.github.com/repos/jwgl/bell-db/pulls/comments/63274878","id":63274878,"diff_hunk":"@@ -335,6 +335,91 @@ admission_id          = EXCLUDED.admission_id;\n -- postgres=# set client_encoding to 'utf8';\n update student set name = '谭龑焘' where id = '0818010172';\n \n+\n+---教学班ID转换\n+INSERT INTO course_class_id(COURSE_CLASS_ID,ORIGINAL_ID)\n+--检索全部教学班\n+WITH jxrw AS\n+  (SELECT DISTINCT xn,xq,kkxy,kcdm,kcmc,xkkh FROM sva_task_base a where xn='2015-2016' and xq=2 and kcmc='计算机基础'","path":"ea/sync-merge.sql","position":9,"original_position":9,"commit_id":"705abad5adafe3c7a0c46d07ea3d03f344d1756d","original_commit_id":"705abad5adafe3c7a0c46d07ea3d03f344d1756d","user":{"login":"todoubaba","id":4020640,"avatar_url":"https://avatars.githubusercontent.com/u/4020640?v=3","gravatar_id":"","url":"https://api.github.com/users/todoubaba","html_url":"https://github.com/todoubaba","followers_url":"https://api.github.com/users/todoubaba/followers","following_url":"https://api.github.com/users/todoubaba/following{/other_user}","gists_url":"https://api.github.com/users/todoubaba/gists{/gist_id}","starred_url":"https://api.github.com/users/todoubaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/todoubaba/subscriptions","organizations_url":"https://api.github.com/users/todoubaba/orgs","repos_url":"https://api.github.com/users/todoubaba/repos","events_url":"https://api.github.com/users/todoubaba/events{/privacy}","received_events_url":"https://api.github.com/users/todoubaba/received_events","type":"User","site_admin":false},"body":"删除where中的条件","created_at":"2016-05-14T11:29:43Z","updated_at":"2016-05-14T11:29:43Z","html_url":"https://github.com/jwgl/bell-db/pull/9#discussion_r63274878","pull_request_url":"https://api.github.com/repos/jwgl/bell-db/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/jwgl/bell-db/pulls/comments/63274878"},"html":{"href":"https://github.com/jwgl/bell-db/pull/9#discussion_r63274878"},"pull_request":{"href":"https://api.github.com/repos/jwgl/bell-db/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/jwgl/bell-db/pulls/9","id":70089505,"html_url":"https://github.com/jwgl/bell-db/pull/9","diff_url":"https://github.com/jwgl/bell-db/pull/9.diff","patch_url":"https://github.com/jwgl/bell-db/pull/9.patch","issue_url":"https://api.github.com/repos/jwgl/bell-db/issues/9","number":9,"state":"open","locked":false,"title":"建立新旧系统教学班ID对照关系","user":{"login":"ethanfi","id":18610964,"avatar_url":"https://avatars.githubusercontent.com/u/18610964?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanfi","html_url":"https://github.com/ethanfi","followers_url":"https://api.github.com/users/ethanfi/followers","following_url":"https://api.github.com/users/ethanfi/following{/other_user}","gists_url":"https://api.github.com/users/ethanfi/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanfi/subscriptions","organizations_url":"https://api.github.com/users/ethanfi/orgs","repos_url":"https://api.github.com/users/ethanfi/repos","events_url":"https://api.github.com/users/ethanfi/events{/privacy}","received_events_url":"https://api.github.com/users/ethanfi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-14T11:22:36Z","updated_at":"2016-05-14T11:29:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11200bd9bad006a77b677d838c136656f2774206","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jwgl/bell-db/pulls/9/commits","review_comments_url":"https://api.github.com/repos/jwgl/bell-db/pulls/9/comments","review_comment_url":"https://api.github.com/repos/jwgl/bell-db/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwgl/bell-db/issues/9/comments","statuses_url":"https://api.github.com/repos/jwgl/bell-db/statuses/705abad5adafe3c7a0c46d07ea3d03f344d1756d","head":{"label":"ethanfi:fix","ref":"fix","sha":"705abad5adafe3c7a0c46d07ea3d03f344d1756d","user":{"login":"ethanfi","id":18610964,"avatar_url":"https://avatars.githubusercontent.com/u/18610964?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanfi","html_url":"https://github.com/ethanfi","followers_url":"https://api.github.com/users/ethanfi/followers","following_url":"https://api.github.com/users/ethanfi/following{/other_user}","gists_url":"https://api.github.com/users/ethanfi/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanfi/subscriptions","organizations_url":"https://api.github.com/users/ethanfi/orgs","repos_url":"https://api.github.com/users/ethanfi/repos","events_url":"https://api.github.com/users/ethanfi/events{/privacy}","received_events_url":"https://api.github.com/users/ethanfi/received_events","type":"User","site_admin":false},"repo":{"id":56843362,"name":"bell-db","full_name":"ethanfi/bell-db","owner":{"login":"ethanfi","id":18610964,"avatar_url":"https://avatars.githubusercontent.com/u/18610964?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanfi","html_url":"https://github.com/ethanfi","followers_url":"https://api.github.com/users/ethanfi/followers","following_url":"https://api.github.com/users/ethanfi/following{/other_user}","gists_url":"https://api.github.com/users/ethanfi/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanfi/subscriptions","organizations_url":"https://api.github.com/users/ethanfi/orgs","repos_url":"https://api.github.com/users/ethanfi/repos","events_url":"https://api.github.com/users/ethanfi/events{/privacy}","received_events_url":"https://api.github.com/users/ethanfi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ethanfi/bell-db","description":"","fork":true,"url":"https://api.github.com/repos/ethanfi/bell-db","forks_url":"https://api.github.com/repos/ethanfi/bell-db/forks","keys_url":"https://api.github.com/repos/ethanfi/bell-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethanfi/bell-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethanfi/bell-db/teams","hooks_url":"https://api.github.com/repos/ethanfi/bell-db/hooks","issue_events_url":"https://api.github.com/repos/ethanfi/bell-db/issues/events{/number}","events_url":"https://api.github.com/repos/ethanfi/bell-db/events","assignees_url":"https://api.github.com/repos/ethanfi/bell-db/assignees{/user}","branches_url":"https://api.github.com/repos/ethanfi/bell-db/branches{/branch}","tags_url":"https://api.github.com/repos/ethanfi/bell-db/tags","blobs_url":"https://api.github.com/repos/ethanfi/bell-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethanfi/bell-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethanfi/bell-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethanfi/bell-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethanfi/bell-db/statuses/{sha}","languages_url":"https://api.github.com/repos/ethanfi/bell-db/languages","stargazers_url":"https://api.github.com/repos/ethanfi/bell-db/stargazers","contributors_url":"https://api.github.com/repos/ethanfi/bell-db/contributors","subscribers_url":"https://api.github.com/repos/ethanfi/bell-db/subscribers","subscription_url":"https://api.github.com/repos/ethanfi/bell-db/subscription","commits_url":"https://api.github.com/repos/ethanfi/bell-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethanfi/bell-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethanfi/bell-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethanfi/bell-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethanfi/bell-db/contents/{+path}","compare_url":"https://api.github.com/repos/ethanfi/bell-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethanfi/bell-db/merges","archive_url":"https://api.github.com/repos/ethanfi/bell-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethanfi/bell-db/downloads","issues_url":"https://api.github.com/repos/ethanfi/bell-db/issues{/number}","pulls_url":"https://api.github.com/repos/ethanfi/bell-db/pulls{/number}","milestones_url":"https://api.github.com/repos/ethanfi/bell-db/milestones{/number}","notifications_url":"https://api.github.com/repos/ethanfi/bell-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethanfi/bell-db/labels{/name}","releases_url":"https://api.github.com/repos/ethanfi/bell-db/releases{/id}","deployments_url":"https://api.github.com/repos/ethanfi/bell-db/deployments","created_at":"2016-04-22T09:21:03Z","updated_at":"2016-04-22T09:21:04Z","pushed_at":"2016-05-14T11:20:01Z","git_url":"git://github.com/ethanfi/bell-db.git","ssh_url":"git@github.com:ethanfi/bell-db.git","clone_url":"https://github.com/ethanfi/bell-db.git","svn_url":"https://github.com/ethanfi/bell-db","homepage":null,"size":69,"stargazers_count":0,"watchers_count":0,"language":"PLSQL","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":"jwgl:master","ref":"master","sha":"ffaa4f5712564b287ff1902b25f8be2fa5f0479a","user":{"login":"jwgl","id":18601551,"avatar_url":"https://avatars.githubusercontent.com/u/18601551?v=3","gravatar_id":"","url":"https://api.github.com/users/jwgl","html_url":"https://github.com/jwgl","followers_url":"https://api.github.com/users/jwgl/followers","following_url":"https://api.github.com/users/jwgl/following{/other_user}","gists_url":"https://api.github.com/users/jwgl/gists{/gist_id}","starred_url":"https://api.github.com/users/jwgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwgl/subscriptions","organizations_url":"https://api.github.com/users/jwgl/orgs","repos_url":"https://api.github.com/users/jwgl/repos","events_url":"https://api.github.com/users/jwgl/events{/privacy}","received_events_url":"https://api.github.com/users/jwgl/received_events","type":"Organization","site_admin":false},"repo":{"id":56837545,"name":"bell-db","full_name":"jwgl/bell-db","owner":{"login":"jwgl","id":18601551,"avatar_url":"https://avatars.githubusercontent.com/u/18601551?v=3","gravatar_id":"","url":"https://api.github.com/users/jwgl","html_url":"https://github.com/jwgl","followers_url":"https://api.github.com/users/jwgl/followers","following_url":"https://api.github.com/users/jwgl/following{/other_user}","gists_url":"https://api.github.com/users/jwgl/gists{/gist_id}","starred_url":"https://api.github.com/users/jwgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwgl/subscriptions","organizations_url":"https://api.github.com/users/jwgl/orgs","repos_url":"https://api.github.com/users/jwgl/repos","events_url":"https://api.github.com/users/jwgl/events{/privacy}","received_events_url":"https://api.github.com/users/jwgl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jwgl/bell-db","description":"数据库脚本","fork":false,"url":"https://api.github.com/repos/jwgl/bell-db","forks_url":"https://api.github.com/repos/jwgl/bell-db/forks","keys_url":"https://api.github.com/repos/jwgl/bell-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwgl/bell-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwgl/bell-db/teams","hooks_url":"https://api.github.com/repos/jwgl/bell-db/hooks","issue_events_url":"https://api.github.com/repos/jwgl/bell-db/issues/events{/number}","events_url":"https://api.github.com/repos/jwgl/bell-db/events","assignees_url":"https://api.github.com/repos/jwgl/bell-db/assignees{/user}","branches_url":"https://api.github.com/repos/jwgl/bell-db/branches{/branch}","tags_url":"https://api.github.com/repos/jwgl/bell-db/tags","blobs_url":"https://api.github.com/repos/jwgl/bell-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwgl/bell-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwgl/bell-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwgl/bell-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwgl/bell-db/statuses/{sha}","languages_url":"https://api.github.com/repos/jwgl/bell-db/languages","stargazers_url":"https://api.github.com/repos/jwgl/bell-db/stargazers","contributors_url":"https://api.github.com/repos/jwgl/bell-db/contributors","subscribers_url":"https://api.github.com/repos/jwgl/bell-db/subscribers","subscription_url":"https://api.github.com/repos/jwgl/bell-db/subscription","commits_url":"https://api.github.com/repos/jwgl/bell-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwgl/bell-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwgl/bell-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwgl/bell-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwgl/bell-db/contents/{+path}","compare_url":"https://api.github.com/repos/jwgl/bell-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwgl/bell-db/merges","archive_url":"https://api.github.com/repos/jwgl/bell-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwgl/bell-db/downloads","issues_url":"https://api.github.com/repos/jwgl/bell-db/issues{/number}","pulls_url":"https://api.github.com/repos/jwgl/bell-db/pulls{/number}","milestones_url":"https://api.github.com/repos/jwgl/bell-db/milestones{/number}","notifications_url":"https://api.github.com/repos/jwgl/bell-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwgl/bell-db/labels{/name}","releases_url":"https://api.github.com/repos/jwgl/bell-db/releases{/id}","deployments_url":"https://api.github.com/repos/jwgl/bell-db/deployments","created_at":"2016-04-22T07:58:47Z","updated_at":"2016-05-13T01:52:08Z","pushed_at":"2016-05-14T11:22:36Z","git_url":"git://github.com/jwgl/bell-db.git","ssh_url":"git@github.com:jwgl/bell-db.git","clone_url":"https://github.com/jwgl/bell-db.git","svn_url":"https://github.com/jwgl/bell-db","homepage":"","size":57,"stargazers_count":1,"watchers_count":1,"language":"PLSQL","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwgl/bell-db/pulls/9"},"html":{"href":"https://github.com/jwgl/bell-db/pull/9"},"issue":{"href":"https://api.github.com/repos/jwgl/bell-db/issues/9"},"comments":{"href":"https://api.github.com/repos/jwgl/bell-db/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/jwgl/bell-db/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/jwgl/bell-db/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwgl/bell-db/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/jwgl/bell-db/statuses/705abad5adafe3c7a0c46d07ea3d03f344d1756d"}}}}