summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2022-08-25 11:13:58 +0800
committerhekeguang <hekeguang@chinamobile.com>2022-08-25 11:14:12 +0800
commit9643136574c0c06909ebe9af120c022fbb951b6d (patch)
tree6b94dd5a3a70ec373bd1f2feff2f8353d4a7e994 /intentanalysis/src/main/resources
parent69f782c7912d7103632db4676683f3ba6dd9f482 (diff)
Add intent investigation process code .
Issue-ID: USECASEUI-696 Change-Id: I4da04a605207212fb8359c47959392138c0b4696 Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/main/resources')
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/ConditionMapper.xml2
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/IMFRegInfoMapper.xml4
2 files changed, 5 insertions, 1 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ConditionMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ConditionMapper.xml
index d77c06a..8a39762 100644
--- a/intentanalysis/src/main/resources/mybatis/sql/ConditionMapper.xml
+++ b/intentanalysis/src/main/resources/mybatis/sql/ConditionMapper.xml
@@ -21,7 +21,7 @@
</insert>
<!-- 这里的查询有问题-->
- <select id="selectConditionByParentId" resultType="org.onap.usecaseui.intentanalysis.bean.models.Context">
+ <select id="selectConditionByParentId" resultType="org.onap.usecaseui.intentanalysis.bean.models.Condition">
select condition_id conditionId, condition_name conditiontName, operator_type operatorType
from condition
where condition_id = #{parentId}
diff --git a/intentanalysis/src/main/resources/mybatis/sql/IMFRegInfoMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/IMFRegInfoMapper.xml
index 8f6cd3c..7b8a115 100644
--- a/intentanalysis/src/main/resources/mybatis/sql/IMFRegInfoMapper.xml
+++ b/intentanalysis/src/main/resources/mybatis/sql/IMFRegInfoMapper.xml
@@ -10,4 +10,8 @@
(#{imfregInfo.id}, #{imfregInfo.description}, #{imfregInfo.supportArea},#{imfregInfo.handleName},#{imfregInfo.intentFunctionType})
</insert>
+ <select id="getImfRegInfoList" resultType="org.onap.usecaseui.intentanalysis.bean.models.IntentManagementFunctionRegInfo">
+ select * from intent_management_function_reg_info
+ </select>
+
</mapper>