{"id":950,"date":"2017-10-30T12:14:45","date_gmt":"2017-10-30T04:14:45","guid":{"rendered":"http:\/\/jyu.pmcloud.cn\/?p=950"},"modified":"2017-10-30T12:24:35","modified_gmt":"2017-10-30T04:24:35","slug":"%e6%9b%b4%e6%96%b0%e5%8c%85%e6%8f%90%e4%ba%a4%e8%a7%84%e8%8c%83","status":"publish","type":"post","link":"http:\/\/jyu.pmcloud.cn\/?p=950","title":{"rendered":"\u66f4\u65b0\u5305\u63d0\u4ea4\u89c4\u8303"},"content":{"rendered":"<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/jyu.pmcloud.cn\/wp-content\/uploads\/2017\/10\/update-temp-20171030.zip\">\u66f4\u65b0\u5305\u63d0\u4ea4\u6a21\u677f<\/a><\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-953 alignleft\" src=\"http:\/\/jyu.pmcloud.cn\/wp-content\/uploads\/2017\/10\/update-20171030120935.png\" alt=\"\" width=\"764\" height=\"216\" srcset=\"http:\/\/jyu.pmcloud.cn\/wp-content\/uploads\/2017\/10\/update-20171030120935.png 764w, http:\/\/jyu.pmcloud.cn\/wp-content\/uploads\/2017\/10\/update-20171030120935-300x85.png 300w\" sizes=\"(max-width: 764px) 100vw, 764px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u66f4\u65b0\u5305\u63d0\u4ea4\u89c4\u8303<\/p>\n<p>1\u3001\u6587\u4ef6\u547d\u540d<\/p>\n<p>\u683c\u5f0f\uff1a\u65f6\u95f4-XX\u66f4\u65b0-\u59d3\u540d<br \/>\n\u793a\u4f8b\uff1a20171030-\u7269\u8d44\u9009\u62e9\u66f4\u65b0-\u674e\u6167<\/p>\n<p>2\u3001\u9700\u8981\u66f4\u65b0SQL\u8bed\u53e5\u7684\uff0c\u653e\u5230sql\u6587\u4ef6\u5939\u4e0b\uff0c\u9700\u8981\u624b\u52a8\u6267\u884c\uff0c\u8981\u6c42\u66f4\u65b0SQL\u8bed\u53e5\u517c\u5bb9\u6027\u8981\u9ad8\uff0c\u4e0d\u4f1a\u62a5\u9519<br \/>\n\u793a\u4f8b\uff1a\u5efa\u4e91\u5b9d\u7b7e\u5230\u589e\u52a0\u5916\u52e4\u7c7b\u578b\uff0c\u589e\u52a0\u6269\u5c55\u5b57\u6bb5\u5e76\u4e14\u8bbe\u7f6e\u9ed8\u8ba4\u503c\u4e3a\u884c\u653f\u7b7e\u5230<\/p>\n<p>[sql]<br \/>\n&#8211;\u5224\u65ad\u7b7e\u5230\u8868\u662f\u5426\u5b58\u5728\uff0c\u4e0d\u5b58\u5728\u5219\u521b\u5efa<br \/>\nif exists (select * from sysobjects where id = OBJECT_ID(&#8216;yun_bao_sign&#8217;) and OBJECTPROPERTY(id, &#8216;IsUserTable&#8217;) = 1)<br \/>\nbegin<br \/>\nprint &#8216;\u5b58\u5728\u7269\u7406\u8868&#8217;<br \/>\n&#8212;-\u5224\u65ad\u7b7e\u5230\u8868\u662f\u5426\u5b58\u5728qdlx\u5b57\u6bb5\uff0c\u4e0d\u5b58\u5728\u5219\u589e\u52a0<br \/>\nif exists (select * from sysobjects where id = OBJECT_ID(&#8216;yun_bao_sign&#8217;) and name=&#8217;qdlx&#8217;)<br \/>\nbegin<br \/>\nprint &#8216;\u589e\u52a0\u5b57\u6bb5:qdlx&#8217;<br \/>\nalter table yun_bao_sign add qdlx varchar(50)<br \/>\nend<br \/>\nelse<br \/>\nbegin<br \/>\nprint &#8216;\u5df2\u5b58\u5728\u5b57\u6bb5:qdlx&#8217;<br \/>\nend<br \/>\nend<br \/>\nelse<br \/>\nbegin<br \/>\nprint &#8216;\u4e0d\u5b58\u5728\u7269\u7406\u8868&#8217;<br \/>\nCREATE TABLE [dbo].[yun_bao_sign](<br \/>\n[RecordID] [uniqueidentifier] NOT NULL,<br \/>\n[EmployeeID] [varchar](50) NOT NULL,<br \/>\n[Location_X] [numeric](18, 15) NOT NULL,<br \/>\n[Location_Y] [numeric](18, 15) NOT NULL,<br \/>\n[Scale] [int] NOT NULL,<br \/>\n[Lable] [varchar](200) NOT NULL,<br \/>\n[CreateDate] [datetime] NULL,<br \/>\n[deviceId] [varchar](500) NULL,<br \/>\n[netType] [varchar](500) NULL,<br \/>\n[UserIP] [varchar](100) NULL,<br \/>\n[SourceSystem] [varchar](100) NULL,<br \/>\n[PlatFormInfo] [varchar](50) NULL,<br \/>\n[EnterpriseCode] [varchar](50) NULL<br \/>\n) ON [PRIMARY]<br \/>\nend<\/p>\n<p>[\/sql]<\/p>\n<p>3\u3001\u6bcf\u4e2a\u529f\u80fd\u5355\u72ec\u5f62\u6210\u66f4\u65b0\u5305\u63d0\u4ea4<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p class=\"post-copyright\">\u672a\u7ecf\u5141\u8bb8\u4e0d\u5f97\u8f6c\u8f7d\uff1a<a href=\"http:\/\/jyu.pmcloud.cn\">\u5efa\u4e91\u5b66\u9662<\/a> &raquo; <a href=\"http:\/\/jyu.pmcloud.cn\/?p=950\">\u66f4\u65b0\u5305\u63d0\u4ea4\u89c4\u8303<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u8f7d\u5730\u5740\uff1a\u66f4\u65b0\u5305\u63d0\u4ea4\u6a21\u677f &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u66f4\u65b0\u5305\u63d0\u4ea4\u89c4\u8303 1\u3001\u6587\u4ef6\u547d\u540d \u683c\u5f0f\uff1a\u65f6\u95f4-XX\u66f4\u65b0-\u59d3\u540d \u793a\u4f8b\uff1a20171030-\u7269\u8d44\u9009\u62e9\u66f4\u65b0-\u674e\u6167 2\u3001\u9700\u8981\u66f4\u65b0SQL\u8bed\u53e5\u7684\uff0c\u653e\u5230sql\u6587\u4ef6\u5939\u4e0b\uff0c\u9700\u8981\u624b\u52a8\u6267\u884c\uff0c\u8981\u6c42\u66f4\u65b0SQL\u8bed\u53e5\u517c\u5bb9\u6027\u8981\u9ad8\uff0c\u4e0d\u4f1a\u62a5\u9519 \u793a\u4f8b\uff1a\u5efa\u4e91\u5b9d\u7b7e\u5230\u589e\u52a0\u5916\u52e4\u7c7b\u578b\uff0c\u589e\u52a0\u6269\u5c55\u5b57\u6bb5\u5e76\u4e14\u8bbe\u7f6e\u9ed8\u8ba4\u503c\u4e3a\u884c\u653f\u7b7e\u5230 [sql] &#8211;\u5224\u65ad\u7b7e\u5230\u8868\u662f\u5426\u5b58\u5728\uff0c\u4e0d\u5b58\u5728\u5219\u521b\u5efa if exists (select * from sysobjects where id = OBJECT_ID(&#8216;yun_bao_sign&#8217;) and OBJECTPROPERTY(id, &#8216;IsUserTable&#8217;) = 1) begin print &#8216;\u5b58\u5728\u7269\u7406\u8868&#8217; &#8212;-\u5224\u65ad\u7b7e\u5230\u8868\u662f\u5426\u5b58\u5728qdlx\u5b57\u6bb5\uff0c\u4e0d\u5b58\u5728\u5219\u589e\u52a0 if exists (select * from sysobjects where id = OBJECT_ID(&#8216;yun_bao_sign&#8217;) and name=&#8217;qdlx&#8217;) begin print &#8216;\u589e\u52a0\u5b57\u6bb5:qdlx&#8217; alter table yun_bao_sign add qdlx varchar(50) end else begin print &#8216;\u5df2\u5b58\u5728\u5b57\u6bb5:qdlx&#8217; end end else begin print &#8216;\u4e0d\u5b58\u5728\u7269\u7406\u8868&#8217; CREATE TABLE [dbo].[yun_bao_sign]( [RecordID] [uniqueidentifier] NOT NULL, [EmployeeID] [varchar](50) NOT NULL, [Location_X] [numeric](18, 15) NOT NULL, [Location_Y] [numeric](18, 15) NOT NULL, [Scale] [int] NOT NULL, [Lable] [varchar](200) NOT NULL, [CreateDate] [datetime] NULL, [deviceId] [varchar](500) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=\/wp\/v2\/posts\/950"}],"collection":[{"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=950"}],"version-history":[{"count":5,"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions"}],"predecessor-version":[{"id":1390,"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions\/1390"}],"wp:attachment":[{"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=950"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jyu.pmcloud.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}