diff --git a/epmet-module/gov-project/gov-project-server/src/main/resources/mapper/ProjectDao.xml b/epmet-module/gov-project/gov-project-server/src/main/resources/mapper/ProjectDao.xml index f3d2d46a62..5f2a063bab 100644 --- a/epmet-module/gov-project/gov-project-server/src/main/resources/mapper/ProjectDao.xml +++ b/epmet-module/gov-project/gov-project-server/src/main/resources/mapper/ProjectDao.xml @@ -453,13 +453,14 @@ FROM project_category pc INNER JOIN project_related_personnel per ON ( pc.PROJECT_ID = per.PROJECT_ID ) - INNER JOIN project p + INNER JOIN project p on(pc.project_id=p.id) WHERE pc.DEL_FLAG = '0' AND per.DEL_FLAG = '0' AND p.DEL_FLAG = '0' AND pc.CUSTOMER_ID = #{customerId} AND p.ORIGIN = 'issue' + and per.SOURCE_TYPE='topic' AND pc.PROJECT_ID != #{excludeProjectId} AND pc.CATEGORY_CODE LIKE concat( #{categoryCode}, '%' )