ソースを参照

巷道截面修改

huangxingxing 7 ヶ月 前
コミット
5b7e9fc535
1 ファイル変更18 行追加15 行削除
  1. 18 15
      src/main/java/com/miniframe/template/TemplateGenerator2.java

+ 18 - 15
src/main/java/com/miniframe/template/TemplateGenerator2.java

@@ -282,21 +282,24 @@ public class TemplateGenerator2 {
 
         List<DPipeVo> vos =new ArrayList<>();
         for (DPipe pipe:pipes) {
-            if(pipe.getSectionType().equals("HORZI_ELLIPSE")
-            || pipe.getSectionType().equals("VERT_ELLIPSE")
-            || pipe.getSectionType().equals("ARCH")
-            || pipe.getSectionType().equals("RECT_TRIANGULAR")
-            || pipe.getSectionType().equals("RECT_ROUND")
-            || pipe.getSectionType().equals("MODBASKETHANDLE")
-            || pipe.getSectionType().equals("EGG")
-            || pipe.getSectionType().equals("HORSESHOE")
-            || pipe.getSectionType().equals("GOTHIC")
-            || pipe.getSectionType().equals("CATENARY")
-            || pipe.getSectionType().equals("SEMIELLIPTICAL")
-            || pipe.getSectionType().equals("BASKETHANDLE")
-            || pipe.getSectionType().equals("SEMICIRCULAR")
-            ){//TODO 目前都按照方形处理
-                pipe.setSectionType("RECTANGLE");
+//            if(pipe.getSectionType().equals("HORZI_ELLIPSE")
+//            || pipe.getSectionType().equals("VERT_ELLIPSE")
+//            || pipe.getSectionType().equals("ARCH")
+//            || pipe.getSectionType().equals("RECT_TRIANGULAR")
+//            || pipe.getSectionType().equals("RECT_ROUND")
+//            || pipe.getSectionType().equals("MODBASKETHANDLE")
+//            || pipe.getSectionType().equals("EGG")
+//            || pipe.getSectionType().equals("HORSESHOE")
+//            || pipe.getSectionType().equals("GOTHIC")
+//            || pipe.getSectionType().equals("CATENARY")
+//            || pipe.getSectionType().equals("SEMIELLIPTICAL")
+//            || pipe.getSectionType().equals("BASKETHANDLE")
+//            || pipe.getSectionType().equals("SEMICIRCULAR")
+//            ){//TODO 目前都按照方形处理
+//                pipe.setSectionType("RECTANGLE");
+//            }
+            if(pipe.getSectionType().indexOf("halfarch")>=0){
+                pipe.setSectionType("halfarch");
             }
             DPipeVo vo = new DPipeVo();
             vo.setdPipe(pipe);