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/ExpectationObjectMapper.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/ExpectationObjectMapper.xml')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/ExpectationObjectMapper.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ExpectationObjectMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ExpectationObjectMapper.xml index 1c8b513..74a0904 100644 --- a/intentanalysis/src/main/resources/mybatis/sql/ExpectationObjectMapper.xml +++ b/intentanalysis/src/main/resources/mybatis/sql/ExpectationObjectMapper.xml @@ -38,4 +38,15 @@ delete from expectation_object where expectation_id = #{expectationId} </delete> + + <select id="getExpectationIdByObjectInstance" resultType="java.lang.String"> + select expectation_id + from expectation_object + where object_instance = #{objectInstance} + </select> + + <select id="getAllObjectInstances" resultType="java.lang.String"> + select object_instance + from expectation_object + </select> </mapper> |