Skip to content

Commit 8e21fde

Browse files
author
王灏
committed
[IMP] 代码调整
1 parent 35af5fc commit 8e21fde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/mapper/SonarAnalyseMeasureMapper.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
dsam.metric,
1717
dsam.metric_value
1818
from devops_sonar_analyse_measure dsam
19-
inner join (select max(id) as id from devops_sonar_analyse_record where project_id = 1 group by app_service_id)
19+
inner join (select max(id) as id from devops_sonar_analyse_record where project_id = #{projectId} group by
20+
app_service_id)
2021
temp on temp.id = dsam.record_id
2122
<if test="metricTypes != null">
2223
where dsam.metric in

0 commit comments

Comments
 (0)