{"id":4054,"date":"2021-06-09T19:53:05","date_gmt":"2021-06-09T11:53:05","guid":{"rendered":"http:\/\/pipingpig.com\/index.php\/2021\/06\/09\/smart3d-0171\/"},"modified":"2026-08-20T18:19:50","modified_gmt":"2026-08-20T10:19:50","slug":"smart3d-0171","status":"publish","type":"post","link":"https:\/\/www.pipingpig.com\/index.php\/2021\/06\/09\/smart3d-0171\/","title":{"rendered":"SQL\u67e5\u8be2S3D\u6a21\u578b\u4e2d\u652f\u7ba1\u4ef6\u662f\u5426\u6267\u884cbranch rule"},"content":{"rendered":"<div class=\"content\">\n<p style=\"text-align: center\">x x x x x x x x x x x x<\/p>\n<p style=\"text-align: left\">\u5224\u65ad\u652f\u7ba1\u4ef6\u662f\u5426\u4e3a\u6267\u884c\u7684branch table<\/p>\n<p style=\"text-align: left\">select * from JRtePipePathFeat_CL sd<\/p>\n<p style=\"text-align: left\">join XPathGeneratedParts sf on sf.OidOrigin = sd.oid<\/p>\n<p style=\"text-align: left\">join JRteCompOccur js on js.Oid= sf.OidDestination<\/p>\n<p style=\"text-align: left\">join XmadeFrom mf on mf.OidOrigin = js.oid<\/p>\n<p style=\"text-align: left\">join JDPipeComponent_CL pc on pc.oid=mf.OidDestination<\/p>\n<p style=\"text-align: left\">where sd.DefaultShortCode = 0 and pc.CommodityClass = 20<\/p>\n<p style=\"text-align: center\"><span style=\"text-align: center\">x x x x x x x x x x x x<\/span><\/p>\n<p style=\"text-align: center\"><span style=\"text-align: center\"><\/span><span style=\"text-align: center\">x x x x x x x x x x x x<\/span><\/p>\n<section style=\"text-indent: 2em;text-align: left\">\u5728feature\u5c5e\u6027\u4e2d\uff0cdefault short code\u7684\u503c\u8f93\u51fa\u4e3a\u5143\u4ef6\u662f\u5426\u4e3a\u9ed8\u8ba4short code\uff0c\u5bf9\u4e8e\u652f\u7ba1\u4ef6\uff0c\u8fd9\u4e2adefault short code\u5c31\u662fbranch table\u4e2d\u6307\u5b9a\u7684\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u5229\u7528\u8be5\u5c5e\u6027\u8fdb\u884c\u5224\u65ad\u3002DefaultShortCode\u00a0= 0<\/section>\n<section style=\"text-align: center;text-indent: 0em\"><span style=\"text-align: center\">x x x x x x x x x x x x<\/span><\/section>\n<section style=\"text-indent: 2em;text-align: left\">\u5728\u7ba1\u4ef6\u7684part\u8868\u4e2d\uff0c\u6211\u4eec\u8f93\u5165\u4e86\u5143\u4ef6\u7684\u76f8\u5173\u7c7b\u578b\u3002piping commodity type\uff0c\u8be5\u5c5e\u6027\u503c\u662f\u6709\u4ece\u5c5e\u5173\u7cfb\u7684\u5c5e\u6027\u3002\u5728\u5176\u5206\u7ec4\u4e2d\uff0c\u6709\u201cbranch fitting\u201d\u76f8\u5173\u5b9a\u4e49\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u8f85\u52a9\u6211\u4eec\u8fc7\u6ee4\u51fa\u76f8\u5173\u652f\u7ba1\u4ef6\u3002CommodityClass = 20\u5373\u4e3a\u6211\u4eec\u6240\u8981\u7684branch fittings\u3002<br \/><\/section>\n<p style=\"text-align: center\"><span style=\"text-align: center\">x x x x x x x x x x x x<\/span><\/p>\n<p><img decoding=\"async\" class=\"rich_pages\" data-galleryid=\"\" data-ratio=\"0.5602484472049689\" data-s=\"300,640\" data-src=\"https:\/\/www.pipingpig.com\/wp-content\/uploads\/2026\/08\/0171_img_0000.png\" data-type=\"png\" data-w=\"805\" src=\"https:\/\/www.pipingpig.com\/wp-content\/uploads\/2026\/08\/0171_img_0000.png\" style=\"text-align: center\" \/><\/p>\n<p style=\"text-align: center\"><span style=\"text-align: center\">x x x x x x x x x x x x<\/span><\/p>\n<section style=\"text-align: left;text-indent: 2em\">\u4ee5\u4e0a\u56fe\u6a21\u578b\u4e3a\u4f8b\uff0c\u5c06\u652f\u7ba1\u9ed8\u8ba4\u7684weldolet\u6362\u4e3atrimmable\u00a0\u00a0nippolet\u3002\u67e5\u627e\u5230\u76f8\u5173oid\u540e\uff0c\u8fdb\u884c\u9a8c\u8bc1\u3002\u7ed3\u679c\u5982\u4e0b\uff1a<\/section>\n<p style=\"text-align: center\"><span style=\"text-align: center\">x x x x x x x x x x x x<\/span><\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" class=\"rich_pages\" data-galleryid=\"\" data-ratio=\"0.2578836720392432\" data-s=\"300,640\" data-src=\"https:\/\/www.pipingpig.com\/wp-content\/uploads\/2026\/08\/0171_img_0001.png\" data-type=\"png\" data-w=\"1427\" src=\"https:\/\/www.pipingpig.com\/wp-content\/uploads\/2026\/08\/0171_img_0001.png\" \/><\/p>\n<p><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>x x x x x x x x x x x x \u5224\u65ad\u652f\u7ba1\u4ef6\u662f\u5426\u4e3a\u6267\u884c\u7684branch table select  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4052,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[9,16],"tags":[],"class_list":["post-4054","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smart3d","category-16"],"_links":{"self":[{"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/posts\/4054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/comments?post=4054"}],"version-history":[{"count":3,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/posts\/4054\/revisions"}],"predecessor-version":[{"id":7880,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/posts\/4054\/revisions\/7880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/media\/4052"}],"wp:attachment":[{"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/media?parent=4054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/categories?post=4054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pipingpig.com\/index.php\/wp-json\/wp\/v2\/tags?post=4054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}