From a7fd90d6533ae0342ed1c975227b2f19c32bb2f3 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 화, 16 11월 2021 17:40:42 +0900 Subject: [PATCH] 이슈 만들기 진행[프론트] --- src/main/java/kr/wisestone/owl/web/form/IssueForm.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/src/main/java/kr/wisestone/owl/web/form/IssueForm.java b/src/main/java/kr/wisestone/owl/web/form/IssueForm.java index e36cf92..094aed4 100644 --- a/src/main/java/kr/wisestone/owl/web/form/IssueForm.java +++ b/src/main/java/kr/wisestone/owl/web/form/IssueForm.java @@ -28,6 +28,7 @@ private Long issueNumber; private Long registerId; // �벑濡앹옄 �븘�씠�뵒 - issue insert batch �뿉�꽌 �궗�슜 private List<Long> userIds = Lists.newArrayList(); + private List<Long> departmentIds = Lists.newArrayList(); // �떞�떦 遺��꽌 private List<String> sendEmails = Lists.newArrayList(); // �씠硫붿씪 諛쒖넚 ���긽�옄 private List<Long> attachedFileIds = Lists.newArrayList(); private Long relationIssue; // �뿰愿� �씪媛� @@ -36,6 +37,9 @@ private List<Long> removeIds = Lists.newArrayList(); private List<Long> ids = Lists.newArrayList(); // �씠�뒋 �떎以� �긽�깭 蹂�寃쎌뿉�꽌 �궗�슜 private String comment; // �씠�뒋 �긽�깭 蹂�寃쎌뿉�꽌 蹂�寃� �궗�쑀瑜� �엯�젰�븷 �븣 �궗�슜 + private Long companyId; //�뾽泥댄븘�뱶 + private Long ispId; //ISP�븘�뱶 + private Long hostingId; //�샇�뒪�똿�븘�뱶 public IssueForm() { } @@ -55,6 +59,11 @@ // �떞�떦�옄 �젙蹂� if (MapUtil.getLongs(params, "userIds") != null) { form.setUserIds(MapUtil.getLongs(params, "userIds")); + } + + // �떞�떦遺��꽌 �젙蹂� + if (MapUtil.getLongs(params, "departmentIds") != null) { + form.setDepartmentIds(MapUtil.getLongs(params, "departmentIds")); } // 硫붿씪 諛쒖넚�옄 �젙蹂� @@ -87,6 +96,20 @@ form.setIds(MapUtil.getLongs(params, "ids")); } + // �뾽泥� �븘�뱶 �젙蹂� + if (MapUtil.getLongs(params, "companyFieldId") != null){ + form.setCompanyId(MapUtil.getLong(params, "companyFieldId")); + } + + // ISP �븘�뱶 �젙蹂� + if (MapUtil.getLongs(params, "ispFieldId") != null){ + form.setIspId(MapUtil.getLong(params, "ispFieldId")); + } + + // HOSTING �븘�뱶 �젙蹂� + if (MapUtil.getLongs(params, "hostingFieldId") != null){ + form.setHostingId(MapUtil.getLong(params, "hostingFieldId")); + } return form; } @@ -182,6 +205,14 @@ this.userIds = userIds; } + public List<Long> getDepartmentIds() { + return departmentIds; + } + + public void setDepartmentIds(List<Long> departmentIds) { + this.departmentIds = departmentIds; + } + public List<Long> getRemoveFiles() { return removeFiles; } @@ -257,4 +288,28 @@ public void setComment(String comment) { this.comment = comment; } + + public Long getCompanyId() { + return companyId; + } + + public void setCompanyId(Long companyId) { + this.companyId = companyId; + } + + public Long getIspId() { + return ispId; + } + + public void setIspId(Long ispId) { + this.ispId = ispId; + } + + public Long getHostingId() { + return hostingId; + } + + public void setHostingId(Long hostingId) { + this.hostingId = hostingId; + } } -- Gitblit v1.8.0