fixed 流水线分组查询时repo_name变更

This commit is contained in:
xxq250 2025-03-26 09:43:07 +08:00
parent 67318f6d0f
commit e791a3f02a
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectPmsCiPipelinesCardList" parameterType="PmsCiPipelines" resultMap="PmsCiPipelinesResult">
select owner,repo_identifier,repo_name,pms_enterprise_id, GROUP_CONCAT(file_name) file_name, max(update_time) as update_time from pms_ci_pipelines
select owner,repo_identifier, repo_identifier as repo_name, pms_enterprise_id, GROUP_CONCAT(file_name) file_name, max(update_time) as update_time from pms_ci_pipelines
<where>
<if test="pipelineName != null and pipelineName != ''"> and pipeline_name like concat('%', #{pipelineName}, '%')</if>
<if test="pipelineStatus != null and pipelineStatus != ''"> and pipeline_status = #{pipelineStatus}</if>
@ -77,7 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!-- 数据范围过滤 -->
${params.dataScope}
</where>
GROUP BY owner,repo_identifier,file_name
GROUP BY owner,repo_identifier
</select>
<select id="selectPmsCiPipelinesById" parameterType="Long" resultMap="PmsCiPipelinesResult">