diff options
author | 2023-05-22 16:00:31 +0800 | |
---|---|---|
committer | 2023-05-22 16:00:55 +0800 | |
commit | e004e125398130e92119ad4a5809cc0d55c0fc65 (patch) | |
tree | 525cdd128bff96bce7a746ea8b1954cfd170b08c /intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml | |
parent | b436bc418da80472426e2aeaddd2eadf0f8de17b (diff) |
Add Intent Report Interface
Issue-ID: USECASEUI-812
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Change-Id: I9b534efa6161b8cbbdc3f8dafcec4e62660d0235
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml index e6a3b26..e97c915 100644 --- a/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml +++ b/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml @@ -53,4 +53,10 @@ where expectation_id = #{expectationId} </delete> + <select id="getIntentIdByExpectationId" resultType="java.lang.String"> + select intent_id + from expectation + where expectation_id = #{expectationId} + and expectation_type = #{expectationType} + </select> </mapper> |