From f839b527bf88e0f2e17ebb8b8a6c021c2dacc9c5 Mon Sep 17 00:00:00 2001
From: WangJPLeo <103574007+WangJPLeo@users.noreply.github.com>
Date: Tue, 26 Apr 2022 18:03:55 +0800
Subject: [PATCH] Task group queue supports fuzzy search. (#9784)
---
.../dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
index e4ef275834..a780270bfd 100644
--- a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
+++ b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
@@ -136,10 +136,10 @@
join t_ds_project as p on p_f.project_code = p.code
where queue.group_id = #{groupId}
- and task_name =#{taskName}
+ and task_name like concat('%', #{taskName}, '%')
- and process.name =#{processName}
+ and process.name like concat('%', #{processName}, '%')
and queue.status =#{status}