Commit b7c96b5a authored by 黎博's avatar 黎博

风险点优化

parent a59f7a76
...@@ -127,7 +127,12 @@ public class DingdingUtils { ...@@ -127,7 +127,12 @@ public class DingdingUtils {
content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n\n"; content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n\n";
} }
if (risk != null && !risk.isEmpty()) { if (risk != null && !risk.isEmpty()) {
content = content + "**风险:" + risk + "**\n"; content += "**风险点:**\n\n";
List<String> riskList = Arrays.asList(risk.split("\n"));
for (String str: riskList) {
content += "**" + str + "**\n\n";
}
// content = content + "**风险:" + risk + "**\n";
} }
return buildMarkdownMsg(title, content, true); return buildMarkdownMsg(title, content, true);
} }
......
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