Browse Source

一维瓦斯爆炸

huangxingxing 9 months ago
parent
commit
04c73065e8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main/java/com/miniframe/bisiness/system/D00009Service.java

+ 4 - 0
src/main/java/com/miniframe/bisiness/system/D00009Service.java

@@ -47,6 +47,10 @@ public class D00009Service extends D00009BaseModel implements ExecProcessFlow {
 			outPath=TemplateGenerator.BPATH+"/"+aid+"/"+accident.getJid()+"/gas/out/vtk/";
 			fileName ="POST"+step+".vtk";
 		}
+		if(accident.getStype().endsWith("Gass1")){
+			outPath=TemplateGenerator.BPATH+"/"+aid+"/"+accident.getJid()+"/gas/out/vtk/";
+			fileName ="POST"+step+".vtk";
+		}
 		Path path = Paths.get(outPath+"/"+fileName);
 		String mimeType = MFMimeTypeUtils.getMimeType(path);
 		HttpServerTransFile transFile = new HttpServerTransFile(fileName, mimeType, path);