mirror of https://gitee.com/stylefeng/roses
修复分组搜索错误
parent
e14ea59336
commit
3f2b414c23
|
@ -22,7 +22,7 @@
|
||||||
LEFT JOIN sys_resource sr ON ar.resource_code = sr.resource_code
|
LEFT JOIN sys_resource sr ON ar.resource_code = sr.resource_code
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
<if test="paramCondition.groupName != null and paramCondition.groupName != ''">
|
<if test="paramCondition.groupName != null and paramCondition.groupName != ''">
|
||||||
AND sr.resource_name LIKE CONCAT('%', #{paramCondition.groupName}, '%')
|
AND ar.api_alias LIKE CONCAT('%', #{paramCondition.groupName}, '%')
|
||||||
OR sr.url LIKE CONCAT('%', #{paramCondition.groupName}, '%')
|
OR sr.url LIKE CONCAT('%', #{paramCondition.groupName}, '%')
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue