feat: 接口用例根据tag搜索

This commit is contained in:
shiziyuan9527 2021-01-21 14:25:41 +08:00
parent 773658eac2
commit 244dedc47c
2 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@
</foreach>
</if>
<if test="request.name != null and request.name!=''">
and atc.name like CONCAT('%', #{request.name},'%')
and (atc.name like CONCAT('%', #{request.name},'%') or atc.tags like CONCAT('%', #{request.name},'%'))
</if>
<if test="request.createTime > 0">
and atc.create_time >= #{request.createTime}

View File

@ -54,7 +54,7 @@
</foreach>
</if>
<if test="request.name != null and request.name!=''">
and c.name like CONCAT('%', #{request.name},'%')
and (c.name like CONCAT('%', #{request.name},'%') or c.tags like CONCAT('%', #{request.name},'%'))
</if>
<if test="request.moduleIds != null and request.moduleIds.size() > 0">
and a.module_id in