diff --git a/src/main/resources/mapper/IssuesMapper.xml b/src/main/resources/mapper/IssuesMapper.xml index 28498ad..4f2609f 100644 --- a/src/main/resources/mapper/IssuesMapper.xml +++ b/src/main/resources/mapper/IssuesMapper.xml @@ -29,7 +29,7 @@ from issues i inner join rules r on i.rule_uuid =r.uuid inner join projects p on p.uuid =i.project_uuid - inner join components c on c.branch_uuid =p.uuid + inner join components c on c.uuid =i.component_uuid where i.project_uuid = #{projectUuid,jdbcType=VARCHAR} and i.status='OPEN' and p.uuid =#{projectUuid,jdbcType=VARCHAR}