Commit d56c4713 authored by 黎博's avatar 黎博

修改数据工单钉钉通知样式

parent d1d003db
...@@ -52,8 +52,8 @@ public class DingdingUtils { ...@@ -52,8 +52,8 @@ public class DingdingUtils {
issueList.add(issue); issueList.add(issue);
} }
markdown.put("msgtype", "markdown"); markdown.put("msgtype", "markdown");
contentMap.put("title", "今日未解决BUG统计"); contentMap.put("title", "今日剩余未解决BUG统计");
String content = "### 今日未解决BUG数:" + issueList.size() + "\n"; String content = "#### 今日剩余未解决BUG数:" + issueList.size() + "\n";
int count = 0; int count = 0;
for (Issue issue: issueList) { for (Issue issue: issueList) {
count = count + 1; count = count + 1;
...@@ -61,8 +61,7 @@ public class DingdingUtils { ...@@ -61,8 +61,7 @@ public class DingdingUtils {
content = content + count + "、[" + issue.getSummary().replace("\"", "") + "](" + issueUrl + ")\n"; content = content + count + "、[" + issue.getSummary().replace("\"", "") + "](" + issueUrl + ")\n";
content = content + "- 优先级:" + issue.getPriority().getName() + "\n"; content = content + "- 优先级:" + issue.getPriority().getName() + "\n";
content = content + "- 状态:" + issue.getStatus().getName() + "\n"; content = content + "- 状态:" + issue.getStatus().getName() + "\n";
content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n"; content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n\n";
content = content + "\n";
} }
contentMap.put("text", content); contentMap.put("text", content);
markdown.put("markdown", contentMap); markdown.put("markdown", contentMap);
......
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