{"id":299,"date":"2010-10-01T01:47:22","date_gmt":"2010-10-01T01:47:22","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=299"},"modified":"2010-10-01T01:47:22","modified_gmt":"2010-10-01T01:47:22","slug":"%e6%95%b0%e6%8d%ae%e7%94%b14%e4%b8%87%e5%a2%9e%e5%8a%a0%e5%88%b0%e4%ba%8610%e4%b8%87%ef%bc%8c%e7%b3%bb%e7%bb%9f%e9%80%9f%e5%ba%a6%e6%98%8e%e6%98%be%e6%85%a2%e4%ba%86%e4%b8%8b%e6%9d%a5%ef%bc%8c","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2010\/10\/01\/%e6%95%b0%e6%8d%ae%e7%94%b14%e4%b8%87%e5%a2%9e%e5%8a%a0%e5%88%b0%e4%ba%8610%e4%b8%87%ef%bc%8c%e7%b3%bb%e7%bb%9f%e9%80%9f%e5%ba%a6%e6%98%8e%e6%98%be%e6%85%a2%e4%ba%86%e4%b8%8b%e6%9d%a5%ef%bc%8c\/","title":{"rendered":"\u6570\u636e\u75314\u4e07\u589e\u52a0\u5230\u4e8610\u4e07\uff0c\u7cfb\u7edf\u901f\u5ea6\u660e\u663e\u6162\u4e86\u4e0b\u6765\uff0c\u8c03\u8bd5\u65b9\u6cd5\u3002"},"content":{"rendered":"<blockquote><p>?1\uff0c\u51cf\u5c11\u8868\u7684\u5173\u8054\uff1a\u5f53\u4e24\u4e2a\u5173\u8054\u7684\u8868\u6570\u636e\u90fd\u5f88\u5927\u65f6\uff0c\u4e3b\u8868\u5173\u8054\u5b50\u8868\uff0c\u800c\u4e3b\u8868\u53ea\u662f\u8981\u5b50\u8868\u7684\u4e00\u3001\u4e24\u4e2a\u5b57\u6bb5\u7684\u6570\u636e\uff0c\u6b64\u65f6\u53ef\u5c06\u5b50\u8868\u7684\u8fd9\u4e00\u4e24\u4e2a\u5b57\u6bb5\u653e\u5728\u4e3b\u8868\u4e2d\uff0c\u4ee5\u589e\u52a0\u5197\u4f59\u7684\u65b9\u5f0f\u6765\u63d0\u9ad8\u901f\u5ea6\u3002<br \/>\n2\uff0c\u5728\u53d6\u6570\u636e\u96c6\u65f6\uff0c\u7279\u522b\u5728\u5206\u9875\u5904\uff0c\u4e00\u6b21\u53d6\u51fa\u6240\u6709\u7684\u6570\u636e\u901f\u5ea6\u662f\u4e0d\u5408\u7406\u7684\uff0c\u5e94\u662f\u53ea\u53d6\u5f53\u524d\u9875\u8981\u6c42\u6570\u91cf\u7684\u6570\u636e\uff0c\u5f85\u7528\u5230\u4e0b\u4e00\u9875\u7684\u65f6\u5019\u518d\u53d6\u3002\u5373\uff1a\u7528\u5230\u518d\u53d6\u3002<br \/>\n3\uff0c\u6dfb\u52a0\u7d22\u5f15\uff1a\u6570\u636e\u8868\u6ca1\u6709\u4e3b\u952e\uff0c\u641c\u7d22\u8868\u4e2d\u7684\u6570\u636e\u65f6\uff0c\u6570\u636e\u5e93\u5f15\u64ce\u5fc5\u987b\u8fdb\u884c\u5168\u8868\u626b\u63cf\uff0c\u6548\u7387\u6781\u5176\u4f4e\u4e0b\u3002\u82e5\u5fc5\u987b\u8fdb\u884c\u5168\u6587\u626b\u63cf\uff0c\u53ef\u8003\u8651<strong>\u5168\u6587\u68c0\u7d22<\/strong>\uff0c\u521b\u5efa\u4e3b\u952e\u65f6\uff0c\u4f1a\u81ea\u52a8\u521b\u5efa\u805a\u96c6\u7d22\u5f15\u6811\uff0c\u8868\u4e2d\u7684\u6240\u6709\u884c\u4f1a\u5728\u6587\u4ef6\u7cfb\u7edf\u4e0a\u6839\u636e\u4e3b\u952e\u503c\u8fdb\u884c\u7269\u7406\u6392\u5e8f\uff0c\u5f53\u67e5\u8be2\u8868\u4e2d\u4efb\u4e00\u884c\u65f6\uff0c\u6570\u636e\u5e93\u9996\u5148\u4f7f\u7528\u805a\u96c6\u7d22\u5f15\u6811\u627e\u5230\u5bf9\u5e94\u7684\u6570\u636e\u9875\uff0c\u7136\u540e\u5728\u6570\u636e\u9875\u4e2d\u6839\u636e\u4e3b\u952e\u952e\u503c\u627e\u5230\u76ee\u6807\u884c<br \/>\n?\u4e3a\u4e0b\u5217\u5b57\u6bb5\u52a0\u7d22\u5f15\uff1a<br \/>\n\u30001)\u641c\u7d22\u65f6\u7ecf\u5e38\u4f7f\u7528\u5230\u7684;<\/p>\n<p>\u3000\u30002)\u7528\u4e8e\u8fde\u63a5\u5176\u5b83\u8868\u7684;<\/p>\n<p>\u3000\u30003)\u7528\u4e8e\u5916\u952e\u5b57\u6bb5\u7684;<\/p>\n<p>\u3000\u30004)\u9ad8\u9009\u4e2d\u6027\u7684;<\/p>\n<p>\u3000\u30005)ORDER BY\u5b50\u53e5\u4f7f\u7528\u5230\u7684;<br \/>\n4\uff0c\u5efa\u5386\u53f2\u8868\uff0cbdorder ,bdorderhistory, \u4ee4bdorder\u53ea\u4fdd\u6301\u6700\u8fd1\u51e0\u5929\u5e38\u7528\u7684\u8d44\u6599\uff0c\u5b9a\u65f6\u8fd0\u884cjob\u5c06\u8d44\u6599\u8f6c\u8fdbbdorderhistory\u4e2d\uff0c<br \/>\n\u5728\u53d6\u6570\u636e\u65f6\uff1a\u6b63\u5e38\u65f6\u95f4\u8303\u56f4\u5185\u67e5bdorder, \u4e4b\u5916\u67e5\u8be2bdorderhistory, \u4f8b\uff1a<br \/>\nIF(@Adddate &gt;= CONVERT(VARCHAR(10), DATEADD(day, -2, GETDATE()), 20))&#8211;3\u5929\u4ee5\u5185\u67e5\u8be2<br \/>\n??? BEGIN<br \/>\n??? ??? SELECT *<br \/>\n??? ??? FROM visitCustomer(NOLOCK)<br \/>\n??? ??? WHERE 1 = 1<br \/>\n??? ??? and Adddate &gt; @Adddate and Adddate &lt; Dateadd(day, 1, @Adddate)<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/nxgao.com\/\">nxgao.com<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/nxtall.com\/\">nxtall.com<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/lvshou.com\/\">lvshou.com<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/lvshou.com.cn\/\">lvshou.com.cn<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/lvshou.hk\/\">lvshou.hk<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;?adsfrompipi&#8217;, href) &gt; 0<br \/>\n??? ??? ORDER BY Adddate<br \/>\n??? END<br \/>\n??? ELSE<br \/>\n??? BEGIN<br \/>\n??? ??? SELECT *<br \/>\n??? ??? FROM visitCustomerBak(NOLOCK)<br \/>\n??? ??? WHERE 1 = 1<br \/>\n??? ??? and Adddate &gt; @Adddate and Adddate &lt; Dateadd(day, 1, @Adddate)<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/nxgao.com\/\">nxgao.com<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/nxtall.com\/\">nxtall.com<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/lvshou.com\/\">lvshou.com<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/lvshou.com.cn\/\">lvshou.com.cn<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;<a href=\"http:\/\/lvshou.hk\/\">lvshou.hk<\/a>&#8216;, href) = 0<br \/>\n??? ??? and charindex(&#8216;?adsfrompipi&#8217;, href) &gt; 0<br \/>\n??? ??? ORDER BY Adddate<br \/>\n??? END<\/p>\n<p>5\uff0c sql\u8bed\u53e5\u5229\u7528\u6784\u9020\u5f0f\uff0c\u5bf9\u4e8e\u5c0f\u8303\u56f4\u7684\u6570\u636e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5f97\u5230\u7ed3\u679c\uff0c\u7136\u540e\u67e5\u8be2\u3002???? EXEC(@Query) ?<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>?1\uff0c\u51cf\u5c11\u8868\u7684\u5173\u8054\uff1a\u5f53\u4e24\u4e2a\u5173\u8054\u7684\u8868\u6570\u636e\u90fd\u5f88\u5927\u65f6\uff0c\u4e3b\u8868\u5173\u8054\u5b50\u8868\uff0c\u800c\u4e3b\u8868\u53ea\u662f\u8981\u5b50\u8868\u7684\u4e00\u3001\u4e24\u4e2a\u5b57\u6bb5\u7684\u6570\u636e\uff0c\u6b64\u65f6\u53ef\u5c06\u5b50 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-299","post","type-post","status-publish","format-standard","hentry","category-13"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=299"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/299\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}