<?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.AssetMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="cn.wisenergy.chnmuseum.party.model.Asset"> <id column="id" property="id"/> <result column="ref_item_id" property="refItemId"/> <result column="file_name" property="fileName"/> <result column="file_name_crypto" property="fileNameCrypto"/> <result column="file_ext_name" property="fileExtName"/> <result column="file_type" property="fileType"/> <result column="file_cat" property="fileCat"/> <result column="file_size" property="fileSize"/> <result column="file_url" property="fileUrl"/> <result column="file_url_crypto" property="fileUrlCrypto"/> <result column="thumbnail" property="thumbnail"/> <result column="language" property="language"/> <result column="md5" property="md5"/> <result column="crc32" property="crc32"/> <result column="video_content_name" property="videoContentName"/> <result column="create_time" property="createTime"/> <result column="update_time" property="updateTime"/> </resultMap> <!-- 通用查询结果列 --> <sql id="Base_Column_List"> id, ref_item_id, file_name, file_name_crypto, file_ext_name, file_type, file_cat, file_size, file_url, file_url_crypto, thumbnail, language, md5, crc32, video_content_name, create_time, update_time </sql> </mapper>