<?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.younike.service.mapper.OrderRedeemLogMapper">

    <resultMap type="com.younike.service.pojo.OrderRedeemLog" id="OrderRedeemLogResult">
        <result property="orderRedeemLogId" column="order_redeem_log_id"/>
        <result property="orderId" column="order_id"/>
        <result property="orderIndex" column="order_index"/>
        <result property="redeemCode" column="redeem_code"/>
        <result property="redeemCodeStatus" column="redeem_code_status"/>
        <result property="redeemdTime" column="redeemd_time"/>
        <result property="redeemedBy" column="redeemed_by"/>
        <result property="delFlag" column="del_flag"/>
        <result property="createdBy" column="created_by"/>
        <result property="createdTime" column="created_time"/>
        <result property="updatedBy" column="updated_by"/>
        <result property="updatedTime" column="updated_time"/>
        <result property="version" column="version"/>
        <result property="remark" column="remark"/>
    </resultMap>




    <sql id="selectOrderRedeemLogVo">
        select order_redeem_log_id, order_id, order_index, redeem_code, redeem_code_status, redeemd_time, redeemed_by, del_flag, created_by, created_time, updated_by, updated_time, version, remark from order_redeem_log
    </sql>


</mapper>
