Task group queue supports fuzzy search. (#9784)

This commit is contained in:
WangJPLeo 2022-04-26 18:03:55 +08:00 committed by GitHub
parent 6788c99578
commit f839b527bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -136,10 +136,10 @@
join t_ds_project as p on p_f.project_code = p.code
where queue.group_id = #{groupId}
<if test="taskName != null and taskName != ''">
and task_name =#{taskName}
and task_name like concat('%', #{taskName}, '%')
</if>
<if test="processName != null and processName != ''">
and process.name =#{processName}
and process.name like concat('%', #{processName}, '%')
</if>
<if test="status != null">
and queue.status =#{status}