From f3d433b269f28e99dd352f5b69f8ef864c09e5b0 Mon Sep 17 00:00:00 2001 From: jhjang <jhjang@maprex.co.kr> Date: 월, 29 11월 2021 14:33:06 +0900 Subject: [PATCH] - api 기본값 설정 기능 완료 - api 중복 필드 설정 기능 완료 --- src/main/resources/mybatis/query-template/issueType-template.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/query-template/issueType-template.xml b/src/main/resources/mybatis/query-template/issueType-template.xml index cdc7a7e..fef510b 100644 --- a/src/main/resources/mybatis/query-template/issueType-template.xml +++ b/src/main/resources/mybatis/query-template/issueType-template.xml @@ -19,6 +19,9 @@ <if test="projectId != '' and projectId != null"> AND it.project_id like CONCAT('%',#{projectId},'%') </if> + <if test="useProject != '' and useProject != null and useProject == true"> + AND it.project_id IS NOT NULL + </if> AND ws.id = #{workspaceId} <if test="page != null and !page.equals('')"> limit #{pageSize} offset #{page}; -- Gitblit v1.8.0