feat: job 列表接口新增 params.q 查询参数
1. 模糊查询 package,environment,playbook
This commit is contained in:
@@ -80,6 +80,9 @@
|
||||
<if test="params.workspaceId != null and params.workspaceId != ''">
|
||||
AND job.workspace_id = #{params.workspaceId}
|
||||
</if>
|
||||
<if test="params.q != null and params.q != ''">
|
||||
AND ( locate(#{params.q}, pkg.name) OR locate(#{params.q}, env.name) OR locate(#{params.q}, pb.name) )
|
||||
</if>
|
||||
</where>
|
||||
|
||||
GROUP BY
|
||||
|
||||
Reference in New Issue
Block a user