From 3c3921396e8f4a2c6c6562f3c7e359e6f2d90e62 Mon Sep 17 00:00:00 2001 From: youys <1272586223@qq.com> Date: Wed, 19 Apr 2023 09:51:29 +0800 Subject: [PATCH] fix --- src/main/resources/mapper/IssuesMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}