diff --git a/maxkey-persistence/src/main/resources/org/maxkey/persistence/mapper/xml/mysql/AppsCasDetailsMapper.xml b/maxkey-persistence/src/main/resources/org/maxkey/persistence/mapper/xml/mysql/AppsCasDetailsMapper.xml index fee4eb146e02947836b45395b4321572efb23fd2..3599326aef4e5470ce8932fab93e87772058c355 100644 --- a/maxkey-persistence/src/main/resources/org/maxkey/persistence/mapper/xml/mysql/AppsCasDetailsMapper.xml +++ b/maxkey-persistence/src/main/resources/org/maxkey/persistence/mapper/xml/mysql/AppsCasDetailsMapper.xml @@ -12,7 +12,7 @@ AND CD.ID = APP.ID AND ( APP.ID = #{value} - OR LOWER(CD.SERVICE) LIKE LOWER(CONCAT(#{value},'%')) + OR LOWER(CD.SERVICE) = LOWER(SUBSTRING(#{value},1,LENGTH(CD.SERVICE))) ) \ No newline at end of file