<?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.testor.module.portal.context.dao.PortalContextDao">
    <!-- 开启二级缓存 -->
    <!-- <cache type="org.mybatis.caches.ehcache.LoggingEhcache"/> -->
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.testor.module.portal.context.model.domain.PortalContext">
        <id column="biz_id" property="bizId"/>
        <id column="status" property="status"/>
        <id column="create_by" property="createBy"/>
        <id column="create_date" property="createDate"/>
        <id column="update_by" property="updateBy"/>
        <id column="update_date" property="updateDate"/>
        <id column="remarks" property="remarks"/>
        <id column="section_id" property="sectionId"/>
        <id column="context_title" property="contextTitle"/>
        <id column="context_sub_title" property="contextSubTitle"/>
        <id column="context_keywords" property="contextKeywords"/>
        <id column="context_source" property="contextSource"/>
        <id column="context_summary" property="contextSummary"/>
        <id column="context_main" property="contextMain"/>
        <id column="published_time" property="publishedTime"/>
        <id column="context_re_link" property="contextReLink"/>
        <id column="context_pic_link" property="contextPicLink"/>
        <id column="context_published" property="contextPublished"/>
        <id column="context_author" property="contextAuthor"/>
        <id column="context_author_id" property="contextAuthorId"/>
    </resultMap>
</mapper>