From d5d694bc42eadfe36ae99988ab6ebb22769a32e3 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 목, 10 3월 2022 13:10:28 +0900
Subject: [PATCH] - 상위이슈와 그 이슈의 하위이슈를 같이 삭제 할 경우 오류 수정 - 이슈리스트 기본값 '상위이슈만 보기'로 수정

---
 src/main/resources/mybatis/query-template/project-template.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mybatis/query-template/project-template.xml b/src/main/resources/mybatis/query-template/project-template.xml
index d3f596b..35136a4 100644
--- a/src/main/resources/mybatis/query-template/project-template.xml
+++ b/src/main/resources/mybatis/query-template/project-template.xml
@@ -639,6 +639,21 @@
         WHERE pc.parent_project_id = #{parent_project_id}
     </select>
 
+    <select id="findByIssueType" resultType="java.util.HashMap" parameterType="kr.wisestone.owl.web.condition.ProjectCondition">
+        SELECT
+            p.id as id,
+            p.name as name,
+            p.description as description,
+            p.status as status,
+            p.start_date as startDate,
+            p.end_date as endDate,
+            p.project_key as projectKey
+        FROM
+            project p
+                INNER JOIN issue_type it ON it.project_id = p.id
+        WHERE it.id = #{issueTypeId}
+    </select>
+
     <!--    �봽濡쒖젥�듃 �궘�젣 -->
     <!--<delete id="deleteProject" parameterType="java.util.HashMap">
         &lt;!&ndash;    �봽濡쒖젥�듃�뿉 �뿰寃곕맂 �궗�슜�옄 �젙�쓽 �븘�뱶 �젙蹂� �궘�젣   &ndash;&gt;

--
Gitblit v1.8.0