<?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.qihangerp.mapper.PddRefundMapper">

    <resultMap id="BaseResultMap" type="cn.qihangerp.model.entity.PddRefund">
            <id property="id" column="id" jdbcType="BIGINT"/>
            <result property="shopId" column="shop_id" jdbcType="INTEGER"/>
            <result property="orderSn" column="order_sn" jdbcType="VARCHAR"/>
            <result property="afterSalesType" column="after_sales_type" jdbcType="INTEGER"/>
            <result property="afterSalesStatus" column="after_sales_status" jdbcType="INTEGER"/>
            <result property="afterSaleReason" column="after_sale_reason" jdbcType="VARCHAR"/>
            <result property="confirmTime" column="confirm_time" jdbcType="BIGINT"/>
            <result property="createdTime" column="created_time" jdbcType="BIGINT"/>
            <result property="discountAmount" column="discount_amount" jdbcType="DOUBLE"/>
            <result property="disputeRefundStatus" column="dispute_refund_status" jdbcType="DOUBLE"/>
            <result property="goodsImage" column="goods_image" jdbcType="VARCHAR"/>
            <result property="goodsId" column="goods_id" jdbcType="BIGINT"/>
            <result property="goodsName" column="goods_name" jdbcType="VARCHAR"/>
            <result property="goodsPrice" column="goods_price" jdbcType="DOUBLE"/>
            <result property="orderAmount" column="order_amount" jdbcType="DOUBLE"/>
            <result property="refundAmount" column="refund_amount" jdbcType="DOUBLE"/>
            <result property="refundOperatorRole" column="refund_operator_role" jdbcType="INTEGER"/>
            <result property="skuId" column="sku_id" jdbcType="BIGINT"/>
            <result property="outerGoodsId" column="outer_goods_id" jdbcType="VARCHAR"/>
            <result property="outerId" column="outer_id" jdbcType="VARCHAR"/>
            <result property="goodsSpec" column="goods_spec" jdbcType="VARCHAR"/>
            <result property="goodsNumber" column="goods_number" jdbcType="INTEGER"/>
            <result property="shippingName" column="shipping_name" jdbcType="VARCHAR"/>
            <result property="speedRefundFlag" column="speed_refund_flag" jdbcType="INTEGER"/>
            <result property="speedRefundStatus" column="speed_refund_status" jdbcType="INTEGER"/>
            <result property="userShippingStatus" column="user_shipping_status" jdbcType="INTEGER"/>
            <result property="trackingNumber" column="tracking_number" jdbcType="VARCHAR"/>
            <result property="updatedTime" column="updated_time" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
        <result property="oGoodsId" column="o_goods_id" jdbcType="BIGINT"/>
        <result property="oGoodsSkuId" column="o_goods_sku_id" jdbcType="BIGINT"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,shop_id,order_sn,
        after_sales_type,after_sales_status,after_sale_reason,
        confirm_time,created_time,discount_amount,
        dispute_refund_status,goods_image,goods_id,
        goods_name,goods_price,order_amount,
        refund_amount,refund_operator_role,sku_id,
        outer_goods_id,outer_id,goods_spec,user_shipping_status,
        goods_number,shipping_name,speed_refund_flag,
        speed_refund_status,tracking_number,updated_time,
        create_time,update_time,o_goods_id,o_goods_sku_id
    </sql>
</mapper>
