huangxingxing před 2 roky
rodič
revize
b0647dc072

+ 14 - 5
src/main/java/com/miniframe/bisiness/system/AFT001Service.java

@@ -99,11 +99,20 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
 		}else if(action.equals("TransformToIsometric")){//等距视图显示
 
 		}else if(action.equals("ResultImport")){
-			JSONObject obj  = new JSONObject();
-			obj.put("filePath","/cephfs/Postprocess_Binary");
-			obj.put("fileType","binary");
-			obj.put("fileName","whole_part1.plt,whole_part2.plt,whole_part3.plt");
-			msg.setParamJson(obj.toString());
+			if(this.getA_aft001().getIsVolume()=="1"){
+				JSONObject obj  = new JSONObject();
+				obj.put("filePath","/cephfs/Postprocess_Binary");
+				obj.put("fileType","binary");
+				obj.put("fileName","whole_part1.plt,whole_part2.plt,whole_part3.plt");
+				msg.setParamJson(obj.toString());
+			}else{
+				JSONObject obj  = new JSONObject();
+				obj.put("filePath","/cephfs/Postprocess_Binary");
+				obj.put("fileType","binary");
+				obj.put("fileName","whole_part4.plt,whole_part5.plt,whole_part6.plt");
+				msg.setParamJson(obj.toString());
+			}
+
 		}else if(action.equals("ContourDisplay")){
 			JSONObject obj  = new JSONObject();
 			obj.put("level",level);