CopyrightOwnerMapper.xml 1.1 KB
Newer Older
liqin's avatar
liqin committed
1 2 3 4 5 6
<?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.CopyrightOwnerMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="cn.wisenergy.chnmuseum.party.model.CopyrightOwner">
liqin's avatar
liqin committed
7 8 9 10 11 12 13 14 15
            <id column="id" property="id" />
                                                <result column="name" property="name" />
                <result column="owner_type" property="ownerType" />
                <result column="expire_date_start" property="expireDateStart" />
                <result column="expire_date_end" property="expireDateEnd" />
                <result column="remarks" property="remarks" />
                <result column="create_time" property="createTime" />
                <result column="update_time" property="updateTime" />
        </resultMap>
liqin's avatar
liqin committed
16 17 18 19 20 21 22

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, name, owner_type, expire_date_start, expire_date_end, remarks, create_time, update_time
    </sql>

</mapper>