增加流水线执行详情查询,排序

This commit is contained in:
xxq250 2025-01-23 17:26:52 +08:00
parent 79fe1c2515
commit ef9c77e842
1 changed files with 1 additions and 1 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 from pms_ci_pipelines
select owner,repo_identifier,repo_name,pms_enterprise_id, 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>