<?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.wisenergy.chnmuseum.party.mapper.LearningContentTmpMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="cn.wisenergy.chnmuseum.party.model.LearningContentTmp"> <id column="id" property="id" /> <result column="name" property="name" /> <result column="cover" property="cover" /> <result column="applicable_scope" property="applicableScope" /> <result column="organ_code" property="organCode" /> <result column="learning_project_id" property="learningProjectId" /> <result column="creator_name" property="creatorName" /> <result column="audit_status" property="auditStatus" /> <result column="is_published" property="isPublished" /> <result column="is_deleted" property="isDeleted" /> <result column="sortorder" property="sortorder" /> <result column="create_time" property="createTime" /> <result column="update_time" property="updateTime" /> </resultMap> <!-- 通用查询结果列 --> <sql id="Base_Column_List"> id, name, cover, applicable_scope, organ_code, learning_project_id, creator_name, audit_status, is_published, is_deleted, sortorder, create_time, update_time </sql> </mapper>