diff options
author | xudan16 <xudan16@huawei.com> | 2022-08-10 17:35:36 +0800 |
---|---|---|
committer | xudan16 <xudan16@huawei.com> | 2022-08-11 14:25:10 +0800 |
commit | e0d1a15a32bdf8143389259bb23ce3c2bf88177c (patch) | |
tree | 343cf0d8e19adfed0544c6eac66886ffbe86e9d0 /intentanalysis/src/main/resources/mybatis/sql/ExpectationTargetMapper.xml | |
parent | e1bb026dc18d66bb3a0417625c8dfb32a1109bee (diff) |
Update intent module and intent API of creation
Signed-off-by: xudan16 <xudan16@huawei.com>
Issue-ID: USECASEUI-710
Change-Id: Ic0428915e9470b4478e8a7493635da60a8445a56
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/ExpectationTargetMapper.xml')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/ExpectationTargetMapper.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ExpectationTargetMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ExpectationTargetMapper.xml new file mode 100644 index 0000000..0a915bf --- /dev/null +++ b/intentanalysis/src/main/resources/mybatis/sql/ExpectationTargetMapper.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="org.onap.usecaseui.intentanalysis.mapper.ExpectationTargetMapper"> + + + <insert id="insertExpectationTarget"> + insert into expectation_target(target_id, target_name, target_condition, expectation_id) + values + (#{expectationTarget.targetId}, #{expectationTarget.targetName}, #{expectationTarget.targetCondition}, #{expectationId}) + </insert> + +</mapper> |