refactor(系统设置): 任务列表增加去重
This commit is contained in:
parent
8aa2335e7f
commit
a1be3a7366
|
@ -140,7 +140,7 @@
|
|||
|
||||
<select id="taskCenterlist" resultType="io.metersphere.system.dto.taskcenter.TaskCenterDTO">
|
||||
SELECT
|
||||
api_report.id,
|
||||
distinct api_report.id,
|
||||
api_report.project_id,
|
||||
api_report.integrated,
|
||||
api_report.STATUS,
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
|
||||
<select id="taskCenterlist" resultType="io.metersphere.system.dto.taskcenter.TaskCenterDTO">
|
||||
select
|
||||
api_scenario_report.id,
|
||||
distinct api_scenario_report.id,
|
||||
api_scenario_report.project_id,
|
||||
api_scenario_report.integrated,
|
||||
api_scenario_report.status,
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and (
|
||||
task.resource_name like concat('%', #{request.keyword},'%')
|
||||
or
|
||||
task.resource_id like concat('%', #{request.keyword},'%')
|
||||
)
|
||||
</if>
|
||||
<include refid="taskCenterScheduleFilters">
|
||||
|
|
Loading…
Reference in New Issue