List<QualityProfileProjectCount> countProjectsByProfile();
- QualityProfileDto selectByProjectIdAndLanguage(@Param("projectId") Long projectId, @Param("language") String language);
-
QualityProfileDto selectByProjectAndLanguage(@Param("projectKey") String projectKey, @Param("language") String language);
List<QualityProfileDto> selectByProjectAndLanguages(@Param("organizationUuid") String organizationUuid, @Param("projectKey") String projectKey,
GROUP BY pp.profile_key
</select>
- <select id="selectByProjectIdAndLanguage" parameterType="map" resultType="QualityProfile">
- SELECT
- <include refid="profilesColumns"/>
- FROM rules_profiles p
- JOIN project_qprofiles pp ON pp.profile_key=p.kee
- JOIN projects project ON pp.project_uuid=project.uuid
- AND project.id=#{projectId}
- WHERE p.language=#{language}
- </select>
-
<select id="selectByProjectAndLanguage" parameterType="map" resultType="QualityProfile">
SELECT
<include refid="profilesColumns"/>