From 2a43b999ca4ed08e00bd88250eef2be7f1ac8eb6 Mon Sep 17 00:00:00 2001 From: "Crystal.Sea" Date: Wed, 9 Sep 2020 23:12:39 +0800 Subject: [PATCH] Update AppsCasDetailsMapper.xml --- .../persistence/mapper/xml/mysql/AppsCasDetailsMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fee4eb146..3599326ae 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 -- GitLab