diff options
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> |