Commit 5fa3d879 authored by 黎博's avatar 黎博

Merge branch 'master' into ldap

parents 5e3d377a 41070a33
...@@ -65,8 +65,8 @@ public class JiraToDingding { ...@@ -65,8 +65,8 @@ public class JiraToDingding {
Issue issue = jiraIssueService.getJiraIssueByKey(jiraBugPool.getKey()); Issue issue = jiraIssueService.getJiraIssueByKey(jiraBugPool.getKey());
if (issue != null) { if (issue != null) {
String resolveResult = issue.getStatus().getName(); String resolveResult = issue.getStatus().getName();
// 如果已解决或已关闭,仅修改状态 // 如果已关闭,仅修改状态
if (resolveResult.equals("已解决") || resolveResult.equals("关闭")) { if (resolveResult.equals("关闭")) {
jiraBugPool.setEnable(0); jiraBugPool.setEnable(0);
// 更新状态 // 更新状态
jiraBugPoolService.saveOrUpdate(jiraBugPool); jiraBugPoolService.saveOrUpdate(jiraBugPool);
......
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