summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/mybatis/sql/IMFRegInfoMapper.xml
blob: 504c2444d6ea6dedbbd91edf33d171146e0729e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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.IMFRegInfoMapper">

    <insert id="insertIMFRegInfoRegInfo">
        insert into intent_management_function_reg_info(imfr_info_id,imfr_info_description,support_area,support_model,support_interfaces,handle_name,intent_function_type)
        values
            (#{imfregInfo.id}, #{imfregInfo.description},#{imfregInfo.supportArea} , #{imfregInfo.supportModel},#{imfregInfo.supportInterfaces},#{imfregInfo.handleName},#{imfregInfo.intentFunctionType})
    </insert>

    <select id="getImfRegInfoList" resultType="org.onap.usecaseui.intentanalysis.bean.models.IntentManagementFunctionRegInfo">
        select imfr_info_id id,imfr_info_description description,support_area supportArea, support_model supportModel,
               support_interfaces supportInterfaces,handle_name handleName,intent_function_type intentFunctionType
        from intent_management_function_reg_info
    </select>

</mapper>