|  | @@ -51,7 +51,7 @@ public class TemplateGenerator {
 | 
											
												
													
														|  |          XIFileUtils.mkdir(BPATH+"/"+aid+"/"+jid+"/water"+"/mid");
 |  |          XIFileUtils.mkdir(BPATH+"/"+aid+"/"+jid+"/water"+"/mid");
 | 
											
												
													
														|  |          XIFileUtils.mkdir(BPATH+"/"+aid+"/"+jid+"/water"+"/out");
 |  |          XIFileUtils.mkdir(BPATH+"/"+aid+"/"+jid+"/water"+"/out");
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -        FileWriter fileWriter =new FileWriter(BPATH+"/"+aid+"/"+"/water"+"/water.control");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        FileWriter fileWriter =new FileWriter(BPATH+"/"+aid+"/"+jid+"/"+"/water"+"/water.control");
 | 
											
												
													
														|  |          fileWriter.write(writer.toString());
 |  |          fileWriter.write(writer.toString());
 | 
											
												
													
														|  |          fileWriter.close();
 |  |          fileWriter.close();
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
										
											
												
													
														|  | @@ -65,7 +65,7 @@ public class TemplateGenerator {
 | 
											
												
													
														|  |          // 定义数据模型(Map)
 |  |          // 定义数据模型(Map)
 | 
											
												
													
														|  |          Map<String, Object> dataModel = new HashMap<>();
 |  |          Map<String, Object> dataModel = new HashMap<>();
 | 
											
												
													
														|  |          //几何文件路径
 |  |          //几何文件路径
 | 
											
												
													
														|  | -        dataModel.put("waterControlPath", BPATH+"/"+aid+"/water"+"/water.control");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        dataModel.put("waterControlPath", BPATH+"/"+aid+"/"+jid+"/water"+"/water.control");
 | 
											
												
													
														|  |          // 将数据模型传入模板进行处理
 |  |          // 将数据模型传入模板进行处理
 | 
											
												
													
														|  |          StringWriter writer = new StringWriter();
 |  |          StringWriter writer = new StringWriter();
 | 
											
												
													
														|  |          template.process(dataModel, writer);
 |  |          template.process(dataModel, writer);
 | 
											
										
											
												
													
														|  | @@ -141,13 +141,13 @@ public class TemplateGenerator {
 | 
											
												
													
														|  |          //几何文件路径
 |  |          //几何文件路径
 | 
											
												
													
														|  |          dataModel.put("geoFilePath", "/home/disaster/fire/Geometry");
 |  |          dataModel.put("geoFilePath", "/home/disaster/fire/Geometry");
 | 
											
												
													
														|  |          //fireinit 文件路径
 |  |          //fireinit 文件路径
 | 
											
												
													
														|  | -        dataModel.put("initFilePath", BPATH+"/"+aid+"/fire"+"/"+"Fire.init");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        dataModel.put("initFilePath", BPATH+"/"+aid+"/"+jid+"/fire"+"/"+"Fire.init");
 | 
											
												
													
														|  |          //fireInteractionPath 阀门文件路径
 |  |          //fireInteractionPath 阀门文件路径
 | 
											
												
													
														|  |          dataModel.put("fireInteractionPath", "/home/disaster/fire/Fire.interaction");
 |  |          dataModel.put("fireInteractionPath", "/home/disaster/fire/Fire.interaction");
 | 
											
												
													
														|  |          //midPath
 |  |          //midPath
 | 
											
												
													
														|  | -        dataModel.put("midPath", BPATH+"/"+aid+"/fire"+"/mid");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        dataModel.put("midPath", BPATH+"/"+aid+"/"+jid+"/fire"+"/mid");
 | 
											
												
													
														|  |          //outPath
 |  |          //outPath
 | 
											
												
													
														|  | -        dataModel.put("outPath", BPATH+"/"+aid+"/fire"+"/out");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        dataModel.put("outPath", BPATH+"/"+aid+"/"+jid+"/fire"+"/out");
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          DSourceMapper dsm =UtilTools.getBean(DSourceMapper.class);
 |  |          DSourceMapper dsm =UtilTools.getBean(DSourceMapper.class);
 | 
											
												
													
														|  |          DSourceSQLBuilder dss= new DSourceSQLBuilder();
 |  |          DSourceSQLBuilder dss= new DSourceSQLBuilder();
 |