DataCubeTableConfigMapper.xml 2.09 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="cn.com.glsx.entmicro.mapper.DataCubeTableConfigMapper">
    <resultMap id="BaseResultMap" type="cn.com.glsx.entmicro.entity.datacube.DataCubeTableConfigDO">
        <!--
          WARNING - @mbg.generated
        -->
        <id column="id" jdbcType="INTEGER" property="id"/>
        <result column="created_by"             jdbcType="INTEGER"    property="createdBy"/>
        <result column="created_time"           jdbcType="TIMESTAMP"  property="createdTime"/>
        <result column="updated_by"             jdbcType="INTEGER"    property="updatedBy"/>
        <result column="updated_time"           jdbcType="TIMESTAMP"  property="updatedTime"/>
        <result column="del_flag"               jdbcType="TINYINT"    property="delFlag"/>
        <result column="merchant_id"            jdbcType="INTEGER"    property="merchantId"/>
        <result column="template_name"          jdbcType="VARCHAR"    property="templateName"/>
        <result column="business_type"          jdbcType="INTEGER"    property="businessType"/>
        <result column="business_name"          jdbcType="VARCHAR"    property="businessName"/>
        <result column="header_row"             jdbcType="INTEGER"    property="headerRow"/>
        <result column="template_remark"        jdbcType="VARCHAR"    property="templateRemark"/>
        <result column="external_table_id"      jdbcType="INTEGER"    property="externalTableId"/>
        <result column="external_table_column"  jdbcType="VARCHAR"    property="externalTableColumn"/>
    </resultMap>
    <sql id="Base_Column_List">
        <!--
          WARNING - @mbg.generated
        -->
        id, created_by, created_time, updated_by, updated_time, del_flag, merchant_id, template_name, business_type, business_name, header_row, template_remark,
        external_table_id, external_table_column
    </sql>

    <select id="selectTableHeaderFieldByMerchant">
        select * from date_cube_user_table_config
    </select>
</mapper>