|
@@ -685,6 +685,7 @@ public class TemplateGenerator {
|
|
|
Map<String, Object> dataModel = new HashMap<>();
|
|
|
dataModel.put("gascontrol", BPATH + "/" + aid + "/" + jid + "/gas" + "/MashGas.control");
|
|
|
dataModel.put("gasescapecontrol", BPATH + "/" + aid + "/" + jid + "/" + "/gas" + "/gasEscape.control");
|
|
|
+ dataModel.put("midPath", BPATH + "/" + aid + "/" + jid + "/gas" + "/" + "mid");
|
|
|
// 将数据模型传入模板进行处理
|
|
|
StringWriter writer = new StringWriter();
|
|
|
template.process(dataModel, writer);
|