OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-12-11 cbaf5a17c5185b2ef897fc9fe1fbb9fecb18ac41
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();
@@ -51,9 +52,16 @@
    private List<Map<String, Object>> issueHostingField = Lists.newArrayList();
    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(){}
    public IssueCondition(Long issueId, Long parentIssueId){
        this.id = issueId;
        this.parentIssueId = parentIssueId;
    }
    //  대시보드 위기관리 위젯에서 사용
    public IssueCondition(List<String> issueIds){
        this.issueIds = issueIds;
@@ -171,6 +179,16 @@
        if (MapUtil.getLong(conditions, "issueId") != null) {
            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;
@@ -294,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() {
@@ -475,4 +501,28 @@
    public void setUseValue(String useValue) {
        this.useValue = useValue;
    }
    public List<Long> getMyDepartmentIds() {
        return myDepartmentIds;
    }
    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;
    }
}