|
@ -4,12 +4,13 @@ |
|
|
<mapper namespace="com.epmet.dao.IssueCategoryDao"> |
|
|
<mapper namespace="com.epmet.dao.IssueCategoryDao"> |
|
|
|
|
|
|
|
|
<select id="selectIssueCategoryList" resultType="com.epmet.dto.result.IssueCategoryTagResultDTO"> |
|
|
<select id="selectIssueCategoryList" resultType="com.epmet.dto.result.IssueCategoryTagResultDTO"> |
|
|
SELECT |
|
|
SELECT DISTINCT |
|
|
ic.category_id AS "id", |
|
|
ic.category_id AS "id", |
|
|
ip.category_name AS "name" |
|
|
ip.category_name AS "name" |
|
|
FROM |
|
|
FROM |
|
|
issue_category ic |
|
|
issue_category ic |
|
|
INNER JOIN issue_project_category_dict ip ON ic.category_id = ip.id |
|
|
INNER JOIN issue_project_category_dict ip ON ic.category_id = ip.id |
|
|
|
|
|
AND ic.customer_id = ip.customer_id |
|
|
WHERE |
|
|
WHERE |
|
|
ic.del_flag = '0' |
|
|
ic.del_flag = '0' |
|
|
AND ip.del_flag = '0' |
|
|
AND ip.del_flag = '0' |
|
|