wardlican commented on a change in pull request #2182: URL: https://github.com/apache/incubator-inlong/pull/2182#discussion_r787294090
########## File path: inlong-manager/manager-dao/src/main/resources/mappers/TaskIdParamsPulsarEntityMapper.xml ########## @@ -0,0 +1,138 @@ +<?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.apache.inlong.manager.dao.mapper.TaskIdParamsPulsarEntityMapper"> + <resultMap id="BaseResultMap" type="org.apache.inlong.manager.dao.entity.TaskIdParamsPulsarEntity"> + <id column="id" jdbcType="INTEGER" property="id" /> + <result column="parent_name" jdbcType="VARCHAR" property="parentName" /> + <result column="topic" jdbcType="VARCHAR" property="topic" /> + </resultMap> + <sql id="Base_Column_List"> + id, parent_name, topic + </sql> + <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> + select + <include refid="Base_Column_List" /> + from task_id_params_pulsar + where id = #{id,jdbcType=INTEGER} + </select> + <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer"> + delete from task_id_params_pulsar + where id = #{id,jdbcType=INTEGER} + </delete> + <insert id="insert" parameterType="org.apache.inlong.manager.dao.entity.TaskIdParamsPulsarEntity"> + insert into task_id_params_pulsar (id, parent_name, topic Review comment: ditto -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
