From c556b574b03a0458e1f8121351c80286ac02bb63 Mon Sep 17 00:00:00 2001 From: ShuhaoCai Date: Mon, 25 Jul 2022 11:01:46 +0800 Subject: Intent service impletation Signed-off-by: ShuhaoCai Issue-ID: USECASEUI-704 Change-Id: If31afadd3c81ffa308a51ad4e6ba65a82e557010 --- .../resources/mybatis/sql/ExpectationMapper.xml | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml (limited to 'intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml') diff --git a/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml new file mode 100644 index 0000000..5c5ac06 --- /dev/null +++ b/intentanalysis/src/main/resources/mybatis/sql/ExpectationMapper.xml @@ -0,0 +1,28 @@ + + + + + + + + + insert into expectation(expectation_id, expectation_name, target_moi, intent_id) + values + + (#{item.expectationId}, #{item.expectationName}, #{item.targetMOI}, #{item.intentId}) + + + + + delete from expectation + where intent_id = #{intentId} + + + \ No newline at end of file -- cgit 1.2.3-korg