瀏覽代碼

加入账户状态

yumeng 4 年之前
父節點
當前提交
743d145cc4

+ 10 - 0
module-alarm/src/main/java/cn/com/ctop/alarm/modules/entity/vo/TemplateAppliedVo.java

@@ -9,6 +9,7 @@ public class TemplateAppliedVo {
     private Long projectId;
     private String projectName;
     private Integer templateStatus;
+    private Integer accountStatus;
     private String userId;
     private String userName;
 
@@ -76,6 +77,14 @@ public class TemplateAppliedVo {
         this.templateStatus = templateStatus;
     }
 
+    public Integer getAccountStatus() {
+        return accountStatus;
+    }
+
+    public void setAccountStatus(Integer accountStatus) {
+        this.accountStatus = accountStatus;
+    }
+
     public String getUserId() {
         return userId;
     }
@@ -103,6 +112,7 @@ public class TemplateAppliedVo {
                 ", projectId=" + projectId +
                 ", projectName='" + projectName + '\'' +
                 ", templateStatus=" + templateStatus +
+                ", accountStatus=" + accountStatus +
                 ", userId='" + userId + '\'' +
                 ", userName='" + userName + '\'' +
                 '}';

+ 1 - 0
module-alarm/src/main/java/cn/com/ctop/alarm/modules/mapper/xml/RuleAccountTemplateMapper.xml

@@ -7,6 +7,7 @@
         select
         t1.id id,
         t1.template_status templateStatus,
+        t2.account_status accountStatus,
         t1.account_id accountId,
         t2.auth_name authName,
         t1.template_id templateId,