diff options
author | 2022-08-02 06:37:26 +0000 | |
---|---|---|
committer | 2022-08-02 06:37:26 +0000 | |
commit | b34ff8fd9dfd78e8858dbc63e429d61a86f5c57e (patch) | |
tree | ab49b6185d0446f61830ef9a0d7ca9ed78fbb195 /intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml | |
parent | 0c41af52f3f453219a0240cf54ea321829a49c0e (diff) | |
parent | a51fa2e8573a8463109e7c8b1ed6938c9488fb21 (diff) |
Merge "Delete imtent po and reformat code"
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml index c814bfe..335ba6d 100644 --- a/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml +++ b/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml @@ -2,14 +2,14 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="org.onap.usecaseui.server.mapper.IntentMapper"> +<mapper namespace="org.onap.usecaseui.intentanalysis.mapper.IntentMapper"> - <select id="selectIntentById" resultType="org.onap.usecaseui.intentanalysis.bean.po.IntentPo"> + <select id="selectIntentById" resultType="org.onap.usecaseui.intentanalysis.bean.models.Intent"> select intent_id intentId, intent_name intentName from intent where intent_id = #{intentId} </select> - <select id="selectIntents" resultType="org.onap.usecaseui.intentanalysis.bean.po.IntentPo"> + <select id="selectIntents" resultType="org.onap.usecaseui.intentanalysis.bean.models.Intent"> select intent_id intentId, intent_name intentName from intent </select> @@ -18,7 +18,7 @@ values(#{intentId}, #{intentName}) </insert> - <update id="updateIntent" parameterType="org.onap.usecaseui.intentanalysis.bean.po.IntentPo"> + <update id="updateIntent" parameterType="org.onap.usecaseui.intentanalysis.bean.models.Intent"> update intent <trim prefix="set" suffixOverrides=","> <if test="intentId != null">intent_id = #{intentId},</if> |