refactor: jar包搜索支持文件名

This commit is contained in:
chenjianxing 2022-05-12 14:34:50 +08:00 committed by f2c-ci-robot[bot]
parent 44bfa0787e
commit cbccf98a92
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,10 @@
select * from jar_config jc
<where>
<if test="request.name != null and request.name != ''">
(
jc.name like CONCAT('%', #{request.name},'%')
or jc.file_name like CONCAT('%', #{request.name},'%')
)
</if>
<if test="request.resourceType == 'WORKSPACE'">
and jc.resource_id = #{request.resourceId}