OWL ITS + 탐지시스템(인터넷 진흥원)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 
<mapper namespace="kr.wisestone.owl.mapper.IssueTypeCustomFieldMapper">
 
    <select id="findByIssueType" resultType="java.util.HashMap" parameterType="kr.wisestone.owl.web.condition.IssueTypeCustomFieldCondition">
        SELECT
        cf.id AS id,
        cf.name AS name,
        cf.custom_field_type as customFieldType,
        cf.default_value as defaultValue
        FROM issue_type_custom_field it
        INNER JOIN custom_field cf ON cf.id = it.custom_field_id
        INNER JOIN workspace ws on cf.workspace_id = ws.id
        WHERE cf.use_flag = 'Y'
        AND it.issue_type_id = #{issueTypeId}
        AND ws.id = #{workspaceId}
    </select>
 
</mapper>