Commit 8c66f31c authored by taabe's avatar taabe

任务派发bug修改

parent 96c46209
...@@ -102,7 +102,7 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe ...@@ -102,7 +102,7 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
// 获取任务派发模板 // 获取任务派发模板
Template template = templateService.getOne(new QueryWrapper<Template>().eq("type", Template template = templateService.getOne(new QueryWrapper<Template>().eq("type",
alertCalled.getAlertType())); alertCalled.getAlertType()).eq("format", false));
String content = template.getContent(); String content = template.getContent();
Map<String, String> definitions = new HashMap<>(); Map<String, String> definitions = new HashMap<>();
initDefinitions(definitions, alertCalled, powerTransferDto); initDefinitions(definitions, alertCalled, powerTransferDto);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment