| | |
| | | AND ws.id = #{workspaceId} |
| | | </select> |
| | | |
| | | <select id="findByWorkspaceId" resultType="java.util.HashMap" parameterType="kr.wisestone.owl.web.condition.IssueTypeCustomFieldCondition"> |
| | | SELECT |
| | | DISTINCT(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 ws.id = #{workspaceId} |
| | | </select> |
| | | |
| | | </mapper> |