<?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.OrderGpDetailMapper">

    <resultMap type="com.younike.service.pojo.OrderGpDetail" id="OrderGpDetailResult">
        <result property="orderGpDetailId" column="order_gp_detail_id"/>
        <result property="orderId" column="order_id"/>
        <result property="orderIndex" column="order_index"/>
        <result property="goodsId" column="goods_id"/>
        <result property="contentProductId" column="content_product_id"/>
        <result property="contentProductName" column="content_product_name"/>
        <result property="contentProductPrice" column="content_product_price"/>
        <result property="contentProductImgUrl" column="content_product_img_url"/>
        <result property="contentProductQty" column="content_product_qty"/>
        <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="selectOrderGpDetailVo">
        select order_gp_detail_id, order_id, order_index, goods_id, content_product_id, content_product_name, content_product_price, content_product_img_url, content_product_qty, del_flag, created_by, created_time, updated_by, updated_time, version, remark from order_gp_detail
    </sql>


</mapper>
