AiAgentInfoMapper.xml 1.66 KB
<?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="com.bs.reception.mapper.AiAgentInfoMapper">

    <resultMap type="com.bs.reception.entity.script.AiAgentInfo" id="AiAgentInfoResult">
        <id property="id" column="id" jdbcType="INTEGER"/>
        <result property="agentCode" column="agent_code" jdbcType="VARCHAR"/>
        <result property="agentName" column="agent_name" jdbcType="VARCHAR"/>
        <result property="entryName" column="entry_name" jdbcType="VARCHAR"/>
        <result property="presuppositionProblem" column="presupposition_problem" jdbcType="VARCHAR"/>
        <result property="createdBy" column="created_by" jdbcType="VARCHAR"/>
        <result property="createdDate" column="created_date" jdbcType="TIMESTAMP"/>
        <result property="deletedFlag" column="deleted_flag" jdbcType="CHAR"/>
        <result property="preEntryName" column="pre_entry_name" jdbcType="VARCHAR"/>
        <result property="agentUrl" column="agent_url" jdbcType="VARCHAR"/>
        <result property="entryLogoUrl" column="entry_logo_url" jdbcType="VARCHAR"/>
        <result property="domainName" column="domain_name" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="selectAiAgentInfoVo">
        select id,
               agent_code,
               agent_name,
               entry_name,
               presupposition_problem,
               created_by,
               created_date,
               deleted_flag,
               pre_entry_name,
               agent_url,
               entry_logo_url,
               domain_name
        from ai_agent_info
    </sql>

</mapper>