| | |
| | | </when> |
| | | </choose> |
| | | AND ws.id = #{workspaceId} |
| | | ORDER BY p.id desc |
| | | ORDER BY p.register_date desc |
| | | <if test="page != null and !page.equals('')"> |
| | | limit #{pageSize} offset #{page}; |
| | | </if> |
| | |
| | | </when> |
| | | </choose> |
| | | AND ws.id = #{workspaceId} |
| | | ORDER BY p.id desc |
| | | ORDER BY p.register_date desc |
| | | <if test="page != null and !page.equals('')"> |
| | | limit #{pageSize} offset #{page}; |
| | | </if> |
| | |
| | | </choose> |
| | | AND p.workspace_id = #{workspaceId} |
| | | <if test="page != null and !page.equals('')"> |
| | | ORDER BY p.id desc |
| | | ORDER BY p.register_date desc |
| | | limit #{pageSize} offset #{page}; |
| | | </if> |
| | | </select> |
| | |
| | | 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"> |
| | | <!– 프로젝트에 연결된 사용자 정의 필드 정보 삭제 –> |