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

    <resultMap id="BaseResultMap" type="cn.qihangerp.model.entity.PddGoods">
            <id property="id" column="id" jdbcType="BIGINT"/>
            <result property="goodsId" column="goods_id" jdbcType="BIGINT"/>
            <result property="goodsName" column="goods_name" jdbcType="VARCHAR"/>
            <result property="goodsQuantity" column="goods_quantity" jdbcType="BIGINT"/>
            <result property="outerGoodsId" column="outer_goods_id" jdbcType="VARCHAR"/>
            <result property="isMoreSku" column="is_more_sku" jdbcType="INTEGER"/>
            <result property="isOnsale" column="is_onsale" jdbcType="INTEGER"/>
            <result property="thumbUrl" column="thumb_url" jdbcType="VARCHAR"/>
            <result property="marketPrice" column="market_price" jdbcType="BIGINT"/>
            <result property="createdAt" column="created_at" jdbcType="BIGINT"/>
            <result property="shopId" column="shop_id" jdbcType="BIGINT"/>
            <result property="erpGoodsId" column="erp_goods_id" jdbcType="BIGINT"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,goods_id,goods_name,
        goods_quantity,outer_goods_id,is_more_sku,
        is_onsale,thumb_url,market_price,
        created_at,shop_id,erp_goods_id,
        create_time,update_time
    </sql>
</mapper>
