<?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.srm.bpm.infra.dao.ToaDatasourceDao">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.srm.bpm.infra.entity.ToaDatasourceEntity">
        <result column="id" property="id" />
        <result column="version" property="version" />
        <result column="creation_time" property="creationTime" />
        <result column="update_time" property="updateTime" />
        <result column="is_deleted" property="isDeleted" />
        <result column="code" property="code" />
        <result column="name" property="name" />
        <result column="en_name" property="enName" />
        <result column="ds_type" property="dsType" />
        <result column="table_name" property="tableName" />
        <result column="sort" property="sort" />
        <result column="link_url" property="linkUrl" />
        <result column="sql_script" property="sqlScript" />
        <result column="page_flag" property="pageFlag" />
        <result column="java_script" property="javaScript" />
        <result column="script" property="script" />
        <result column="default_flag" property="defaultFlag" />
    </resultMap>

</mapper>
