summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml
diff options
context:
space:
mode:
authorzhuguanyu <zhuguanyu5@huawei.com>2022-09-01 20:15:30 +0800
committerzhuguanyu <zhuguanyu5@huawei.com>2022-09-06 10:34:47 +0800
commita822724a4928b19aba349776ac17bdc5c72e8696 (patch)
treeb7a2d89b9562dc71e6e2f9af6ca8b3235700ead9 /intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml
parent7a41339ea8a18aa7a93d73c509a74af1ef13f0a7 (diff)
Add UT to uui services
Issue-ID: USECASEUI-716 Signed-off-by: zhuguanyu <zhuguanyu5@huawei.com> Change-Id: I5650e9f859cf80d5ac04062fac851a092184f3e0
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml')
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml
index 16c7850..e6a3b26 100644
--- a/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml
+++ b/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml
@@ -21,15 +21,13 @@
</insert>
<select id="selectIntentExpectationList" resultType="org.onap.usecaseui.intentanalysis.bean.models.Expectation">
- select expectation_id expectationId, expectation_name expectationName, expectation_type expectationType,
- intent_id intentId
+ select expectation_id expectationId, expectation_name expectationName, expectation_type expectationType
from expectation
where intent_id = #{intentId}
</select>
<select id="selectIntentExpectation" resultType="org.onap.usecaseui.intentanalysis.bean.models.Expectation">
- select expectation_id expectationId, expectation_name expectationName, expectation_type expectationType,
- intent_id intentId
+ select expectation_id expectationId, expectation_name expectationName, expectation_type expectationType
from expectation
where expectation_id = #{expectationId}
</select>