aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
diff options
context:
space:
mode:
authorzhangfan345 <zhangfan345@huawei.com>2022-09-01 11:24:47 +0800
committerzhangfan345 <zhangfan345@huawei.com>2022-09-01 14:40:14 +0800
commit54e7ca4ddf183cd15bd7afff0c53b1970698432b (patch)
tree8b4e8f780b24b409e4e81a375e9e933415e444f5 /intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
parent0699e877538e8ee6179750112a4414848058fe09 (diff)
Add UT to intent service
Issue-ID: USECASEUI-716 Signed-off-by: zhangfan345 <zhangfan345@huawei.com> Change-Id: I45b7faf76bf899510d11939021fd1d788c95a4bf
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml')
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
index c5d3b3d..57c8952 100644
--- a/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
+++ b/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
@@ -34,7 +34,7 @@
<select id="getIntentByName" resultType="org.onap.usecaseui.intentanalysis.bean.models.Intent">
select intent_id intentId, intent_name intentName from intent
- where intent_name like "%"#{intent.intentName}"%"
+ where intent_name like #{intentName}
</select>
</mapper> \ No newline at end of file