Blame view

LiveStudyHistoryMapper.xml 2.9 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
<?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.subsidy.mapper.LiveStudyHistoryMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.subsidy.model.LiveStudyHistoryDO">
        <id column="id" property="id" />
        <result column="create_date" property="createDate" />
        <result column="update_date" property="updateDate" />
        <result column="delete_date" property="deleteDate" />
        <result column="live_id" property="liveId" />
        <result column="member_id" property="memberId" />
        <result column="channel_id" property="channelId" />
        <result column="play_duration" property="playDuration" />
        <result column="stay_duration" property="stayDuration" />
        <result column="flow_size" property="flowSize" />
        <result column="session_id" property="sessionId" />
        <result column="param1" property="param1" />
        <result column="param2" property="param2" />
        <result column="param3" property="param3" />
        <result column="param4" property="param4" />
        <result column="param5" property="param5" />
        <result column="country" property="country" />
        <result column="city" property="city" />
        <result column="isp" property="isp" />
        <result column="referer" property="referer" />
        <result column="user_agent" property="userAgent" />
        <result column="operating_system" property="operatingSystem" />
        <result column="browser" property="browser" />
        <result column="is_mobile" property="isMobile" />
        <result column="current_day" property="currentDay" />
        <result column="created_time" property="createdTime" />
        <result column="last_modified" property="lastModified" />
        <result column="ptype" property="ptype" />
        <result column="first_active_time" property="firstActiveTime" />
        <result column="last_active_time" property="lastActiveTime" />
        <result column="province" property="province" />
        <result column="play_length" property="playLength" />
        <result column="start_time" property="startTime" />
        <result column="location" property="location" />
        <result column="ip_address" property="ipAddress" />
        <result column="terminal" property="terminal" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        create_date,
        update_date,
        delete_date,
        id, live_id, member_id, channel_id, play_duration, stay_duration, flow_size, session_id, param1, param2, param3, param4, param5, country, city, isp, referer, user_agent, operating_system, browser, is_mobile, current_day, created_time, last_modified, ptype, first_active_time, last_active_time, province, play_length, start_time, location, ip_address, terminal
    </sql>

</mapper>