From a14d4155ea16bc5ef06f591bff64df3948792980 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 화, 14 12월 2021 10:34:07 +0900
Subject: [PATCH] - API 중복 설정 안했을 경우 exception 처리 제거

---
 src/main/java/kr/wisestone/owl/web/condition/IssueCondition.java |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/src/main/java/kr/wisestone/owl/web/condition/IssueCondition.java b/src/main/java/kr/wisestone/owl/web/condition/IssueCondition.java
index 4437f90..fcddc53 100644
--- a/src/main/java/kr/wisestone/owl/web/condition/IssueCondition.java
+++ b/src/main/java/kr/wisestone/owl/web/condition/IssueCondition.java
@@ -34,6 +34,7 @@
     private Long workspaceId;
     private String projectType;
     private String deep;
+    private String isApi;
     private Long parentIssueId;     // �긽�쐞 �씪媛�
     private String useValue;
     private List<Long> projectIds = Lists.newArrayList();
@@ -52,6 +53,8 @@
     private List<Long> statusIds = Lists.newArrayList();
     private List<Long> excludeIds = Lists.newArrayList();
     private List<Long> myDepartmentIds; // �궡媛� �냽�빐�엳�뒗 遺��꽌 ID
+    private Boolean hideIssue;
+    private Boolean isTree; // �듃由ш뎄議� 紐⑤뱶 �씪�븣
 
     public IssueCondition(){}
 
@@ -178,6 +181,16 @@
             condition.setId(MapUtil.getLong(conditions, "issueId"));
         }
 
+        if (MapUtil.getBoolean(conditions, "hideIssue") != null) {
+            condition.setHideIssue(MapUtil.getBoolean(conditions, "hideIssue"));
+        }
+
+        if (MapUtil.getBoolean(conditions, "isTree") != null) {
+            condition.setTree(MapUtil.getBoolean(conditions, "isTree"));
+        } else {
+            condition.setTree(false);
+        }
+
         return condition;
     }
 
@@ -299,6 +312,14 @@
 
     public void setDeep(String deep) {
         this.deep = deep;
+    }
+
+    public String getIsApi() {
+        return isApi;
+    }
+
+    public void setIsApi(String isApi) {
+        this.isApi = isApi;
     }
 
     public List<Long> getProjectIds() {
@@ -488,4 +509,20 @@
     public void setMyDepartmentIds(List<Long> myDepartmentIds) {
         this.myDepartmentIds = myDepartmentIds;
     }
+
+    public Boolean getHideIssue() {
+        return hideIssue;
+    }
+
+    public void setHideIssue(Boolean hideIssue) {
+        this.hideIssue = hideIssue;
+    }
+
+    public Boolean getTree() {
+        return isTree;
+    }
+
+    public void setTree(Boolean tree) {
+        isTree = tree;
+    }
 }

--
Gitblit v1.8.0