Skip to content

Commit 37d65c4

Browse files
author
王灏
committed
Merge branch 'feature-c7n-502' into 'master'
[IMP] 代码调整 See merge request hand-yanqianyun-yq-devops/devops-service!1430
2 parents 35af5fc + 8e21fde commit 37d65c4

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)