<?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.bailuntec.mapper.DcBaseSkuMapper">
  <resultMap id="BaseResultMap" type="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="bailun_sku" jdbcType="VARCHAR" property="bailunSku" />
    <result column="sku_image" jdbcType="VARCHAR" property="skuImage" />
    <result column="category_id" jdbcType="INTEGER" property="categoryId" />
    <result column="category_name" jdbcType="VARCHAR" property="categoryName" />
    <result column="warehouse_code" jdbcType="VARCHAR" property="warehouseCode" />
    <result column="warehouse_name" jdbcType="VARCHAR" property="warehouseName" />
    <result column="unit_price" jdbcType="DECIMAL" property="unitPrice" />
    <result column="seller_id" jdbcType="INTEGER" property="sellerId" />
    <result column="seller_name" jdbcType="VARCHAR" property="sellerName" />
    <result column="length" jdbcType="DECIMAL" property="length" />
    <result column="width" jdbcType="DECIMAL" property="width" />
    <result column="height" jdbcType="DECIMAL" property="height" />
    <result column="weight" jdbcType="DECIMAL" property="weight" />
    <result column="moq" jdbcType="INTEGER" property="moq" />
    <result column="sku_title_cn" jdbcType="VARCHAR" property="skuTitleCn" />
    <result column="sku_title_en" jdbcType="VARCHAR" property="skuTitleEn" />
    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
    <result column="gmt_create" jdbcType="TIMESTAMP" property="gmtCreate" />
    <result column="gmt_modified" jdbcType="TIMESTAMP" property="gmtModified" />
    <result column="suppliers_id" jdbcType="INTEGER" property="suppliersId" />
    <result column="suppliers_name" jdbcType="VARCHAR" property="suppliersName" />
    <result column="supplier_delivery" jdbcType="INTEGER" property="supplierDelivery" />
    <result column="currency" jdbcType="VARCHAR" property="currency" />
    <result column="buyer_name" jdbcType="VARCHAR" property="buyerName" />
    <result column="buyer_id" jdbcType="INTEGER" property="buyerId" />
    <result column="internal_moq" jdbcType="INTEGER" property="internalMoq" />
    <result column="bussiness_id" jdbcType="INTEGER" property="bussinessId" />
    <result column="bussiness_name" jdbcType="VARCHAR" property="bussinessName" />
    <result column="status" jdbcType="TINYINT" property="status" />
    <result column="type" jdbcType="TINYINT" property="type" />
    <result column="product_code" jdbcType="VARCHAR" property="productCode" />
    <result column="bailun_inner_sku" jdbcType="VARCHAR" property="bailunInnerSku" />
    <result column="product_inner_code" jdbcType="VARCHAR" property="productInnerCode" />
    <result column="skums_id" jdbcType="INTEGER" property="skumsId" />
    <result column="suppliers_link" jdbcType="VARCHAR" property="suppliersLink" />
    <result column="bailun_category_id" jdbcType="INTEGER" property="bailunCategoryId" />
    <result column="bailun_category_name" jdbcType="VARCHAR" property="bailunCategoryName" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    id, bailun_sku, sku_image, category_id, category_name, warehouse_code, warehouse_name, 
    unit_price, seller_id, seller_name, length, width, height, weight, moq, sku_title_cn, 
    sku_title_en, create_time, update_time, gmt_create, gmt_modified, suppliers_id, suppliers_name, 
    supplier_delivery, currency, buyer_name, buyer_id, internal_moq, bussiness_id, bussiness_name, 
    status, type, product_code, bailun_inner_sku, product_inner_code, skums_id, suppliers_link, 
    bailun_category_id, bailun_category_name
  </sql>
  <select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseSkuExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from dc_base_sku
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
    <if test="rows != null">
      <if test="offset != null">
        limit ${offset}, ${rows}
      </if>
      <if test="offset == null">
        limit ${rows}
      </if>
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
    from dc_base_sku
    where id = #{id,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from dc_base_sku
    where id = #{id,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.bailuntec.domain.example.DcBaseSkuExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from dc_base_sku
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into dc_base_sku (id, bailun_sku, sku_image, 
      category_id, category_name, warehouse_code, 
      warehouse_name, unit_price, seller_id, 
      seller_name, length, width, 
      height, weight, moq, 
      sku_title_cn, sku_title_en, create_time, 
      update_time, gmt_create, gmt_modified, 
      suppliers_id, suppliers_name, supplier_delivery, 
      currency, buyer_name, buyer_id, 
      internal_moq, bussiness_id, bussiness_name, 
      status, type, product_code, 
      bailun_inner_sku, product_inner_code, skums_id, 
      suppliers_link, bailun_category_id, bailun_category_name
      )
    values (#{id,jdbcType=INTEGER}, #{bailunSku,jdbcType=VARCHAR}, #{skuImage,jdbcType=VARCHAR}, 
      #{categoryId,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR}, 
      #{warehouseName,jdbcType=VARCHAR}, #{unitPrice,jdbcType=DECIMAL}, #{sellerId,jdbcType=INTEGER}, 
      #{sellerName,jdbcType=VARCHAR}, #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, 
      #{height,jdbcType=DECIMAL}, #{weight,jdbcType=DECIMAL}, #{moq,jdbcType=INTEGER}, 
      #{skuTitleCn,jdbcType=VARCHAR}, #{skuTitleEn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
      #{updateTime,jdbcType=TIMESTAMP}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
      #{suppliersId,jdbcType=INTEGER}, #{suppliersName,jdbcType=VARCHAR}, #{supplierDelivery,jdbcType=INTEGER}, 
      #{currency,jdbcType=VARCHAR}, #{buyerName,jdbcType=VARCHAR}, #{buyerId,jdbcType=INTEGER}, 
      #{internalMoq,jdbcType=INTEGER}, #{bussinessId,jdbcType=INTEGER}, #{bussinessName,jdbcType=VARCHAR}, 
      #{status,jdbcType=TINYINT}, #{type,jdbcType=TINYINT}, #{productCode,jdbcType=VARCHAR}, 
      #{bailunInnerSku,jdbcType=VARCHAR}, #{productInnerCode,jdbcType=VARCHAR}, #{skumsId,jdbcType=INTEGER}, 
      #{suppliersLink,jdbcType=VARCHAR}, #{bailunCategoryId,jdbcType=INTEGER}, #{bailunCategoryName,jdbcType=VARCHAR}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into dc_base_sku
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="bailunSku != null">
        bailun_sku,
      </if>
      <if test="skuImage != null">
        sku_image,
      </if>
      <if test="categoryId != null">
        category_id,
      </if>
      <if test="categoryName != null">
        category_name,
      </if>
      <if test="warehouseCode != null">
        warehouse_code,
      </if>
      <if test="warehouseName != null">
        warehouse_name,
      </if>
      <if test="unitPrice != null">
        unit_price,
      </if>
      <if test="sellerId != null">
        seller_id,
      </if>
      <if test="sellerName != null">
        seller_name,
      </if>
      <if test="length != null">
        length,
      </if>
      <if test="width != null">
        width,
      </if>
      <if test="height != null">
        height,
      </if>
      <if test="weight != null">
        weight,
      </if>
      <if test="moq != null">
        moq,
      </if>
      <if test="skuTitleCn != null">
        sku_title_cn,
      </if>
      <if test="skuTitleEn != null">
        sku_title_en,
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="updateTime != null">
        update_time,
      </if>
      <if test="gmtCreate != null">
        gmt_create,
      </if>
      <if test="gmtModified != null">
        gmt_modified,
      </if>
      <if test="suppliersId != null">
        suppliers_id,
      </if>
      <if test="suppliersName != null">
        suppliers_name,
      </if>
      <if test="supplierDelivery != null">
        supplier_delivery,
      </if>
      <if test="currency != null">
        currency,
      </if>
      <if test="buyerName != null">
        buyer_name,
      </if>
      <if test="buyerId != null">
        buyer_id,
      </if>
      <if test="internalMoq != null">
        internal_moq,
      </if>
      <if test="bussinessId != null">
        bussiness_id,
      </if>
      <if test="bussinessName != null">
        bussiness_name,
      </if>
      <if test="status != null">
        status,
      </if>
      <if test="type != null">
        type,
      </if>
      <if test="productCode != null">
        product_code,
      </if>
      <if test="bailunInnerSku != null">
        bailun_inner_sku,
      </if>
      <if test="productInnerCode != null">
        product_inner_code,
      </if>
      <if test="skumsId != null">
        skums_id,
      </if>
      <if test="suppliersLink != null">
        suppliers_link,
      </if>
      <if test="bailunCategoryId != null">
        bailun_category_id,
      </if>
      <if test="bailunCategoryName != null">
        bailun_category_name,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="bailunSku != null">
        #{bailunSku,jdbcType=VARCHAR},
      </if>
      <if test="skuImage != null">
        #{skuImage,jdbcType=VARCHAR},
      </if>
      <if test="categoryId != null">
        #{categoryId,jdbcType=INTEGER},
      </if>
      <if test="categoryName != null">
        #{categoryName,jdbcType=VARCHAR},
      </if>
      <if test="warehouseCode != null">
        #{warehouseCode,jdbcType=VARCHAR},
      </if>
      <if test="warehouseName != null">
        #{warehouseName,jdbcType=VARCHAR},
      </if>
      <if test="unitPrice != null">
        #{unitPrice,jdbcType=DECIMAL},
      </if>
      <if test="sellerId != null">
        #{sellerId,jdbcType=INTEGER},
      </if>
      <if test="sellerName != null">
        #{sellerName,jdbcType=VARCHAR},
      </if>
      <if test="length != null">
        #{length,jdbcType=DECIMAL},
      </if>
      <if test="width != null">
        #{width,jdbcType=DECIMAL},
      </if>
      <if test="height != null">
        #{height,jdbcType=DECIMAL},
      </if>
      <if test="weight != null">
        #{weight,jdbcType=DECIMAL},
      </if>
      <if test="moq != null">
        #{moq,jdbcType=INTEGER},
      </if>
      <if test="skuTitleCn != null">
        #{skuTitleCn,jdbcType=VARCHAR},
      </if>
      <if test="skuTitleEn != null">
        #{skuTitleEn,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModified != null">
        #{gmtModified,jdbcType=TIMESTAMP},
      </if>
      <if test="suppliersId != null">
        #{suppliersId,jdbcType=INTEGER},
      </if>
      <if test="suppliersName != null">
        #{suppliersName,jdbcType=VARCHAR},
      </if>
      <if test="supplierDelivery != null">
        #{supplierDelivery,jdbcType=INTEGER},
      </if>
      <if test="currency != null">
        #{currency,jdbcType=VARCHAR},
      </if>
      <if test="buyerName != null">
        #{buyerName,jdbcType=VARCHAR},
      </if>
      <if test="buyerId != null">
        #{buyerId,jdbcType=INTEGER},
      </if>
      <if test="internalMoq != null">
        #{internalMoq,jdbcType=INTEGER},
      </if>
      <if test="bussinessId != null">
        #{bussinessId,jdbcType=INTEGER},
      </if>
      <if test="bussinessName != null">
        #{bussinessName,jdbcType=VARCHAR},
      </if>
      <if test="status != null">
        #{status,jdbcType=TINYINT},
      </if>
      <if test="type != null">
        #{type,jdbcType=TINYINT},
      </if>
      <if test="productCode != null">
        #{productCode,jdbcType=VARCHAR},
      </if>
      <if test="bailunInnerSku != null">
        #{bailunInnerSku,jdbcType=VARCHAR},
      </if>
      <if test="productInnerCode != null">
        #{productInnerCode,jdbcType=VARCHAR},
      </if>
      <if test="skumsId != null">
        #{skumsId,jdbcType=INTEGER},
      </if>
      <if test="suppliersLink != null">
        #{suppliersLink,jdbcType=VARCHAR},
      </if>
      <if test="bailunCategoryId != null">
        #{bailunCategoryId,jdbcType=INTEGER},
      </if>
      <if test="bailunCategoryName != null">
        #{bailunCategoryName,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseSkuExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select count(*) from dc_base_sku
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_sku
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=INTEGER},
      </if>
      <if test="record.bailunSku != null">
        bailun_sku = #{record.bailunSku,jdbcType=VARCHAR},
      </if>
      <if test="record.skuImage != null">
        sku_image = #{record.skuImage,jdbcType=VARCHAR},
      </if>
      <if test="record.categoryId != null">
        category_id = #{record.categoryId,jdbcType=INTEGER},
      </if>
      <if test="record.categoryName != null">
        category_name = #{record.categoryName,jdbcType=VARCHAR},
      </if>
      <if test="record.warehouseCode != null">
        warehouse_code = #{record.warehouseCode,jdbcType=VARCHAR},
      </if>
      <if test="record.warehouseName != null">
        warehouse_name = #{record.warehouseName,jdbcType=VARCHAR},
      </if>
      <if test="record.unitPrice != null">
        unit_price = #{record.unitPrice,jdbcType=DECIMAL},
      </if>
      <if test="record.sellerId != null">
        seller_id = #{record.sellerId,jdbcType=INTEGER},
      </if>
      <if test="record.sellerName != null">
        seller_name = #{record.sellerName,jdbcType=VARCHAR},
      </if>
      <if test="record.length != null">
        length = #{record.length,jdbcType=DECIMAL},
      </if>
      <if test="record.width != null">
        width = #{record.width,jdbcType=DECIMAL},
      </if>
      <if test="record.height != null">
        height = #{record.height,jdbcType=DECIMAL},
      </if>
      <if test="record.weight != null">
        weight = #{record.weight,jdbcType=DECIMAL},
      </if>
      <if test="record.moq != null">
        moq = #{record.moq,jdbcType=INTEGER},
      </if>
      <if test="record.skuTitleCn != null">
        sku_title_cn = #{record.skuTitleCn,jdbcType=VARCHAR},
      </if>
      <if test="record.skuTitleEn != null">
        sku_title_en = #{record.skuTitleEn,jdbcType=VARCHAR},
      </if>
      <if test="record.createTime != null">
        create_time = #{record.createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.updateTime != null">
        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.gmtCreate != null">
        gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="record.gmtModified != null">
        gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
      </if>
      <if test="record.suppliersId != null">
        suppliers_id = #{record.suppliersId,jdbcType=INTEGER},
      </if>
      <if test="record.suppliersName != null">
        suppliers_name = #{record.suppliersName,jdbcType=VARCHAR},
      </if>
      <if test="record.supplierDelivery != null">
        supplier_delivery = #{record.supplierDelivery,jdbcType=INTEGER},
      </if>
      <if test="record.currency != null">
        currency = #{record.currency,jdbcType=VARCHAR},
      </if>
      <if test="record.buyerName != null">
        buyer_name = #{record.buyerName,jdbcType=VARCHAR},
      </if>
      <if test="record.buyerId != null">
        buyer_id = #{record.buyerId,jdbcType=INTEGER},
      </if>
      <if test="record.internalMoq != null">
        internal_moq = #{record.internalMoq,jdbcType=INTEGER},
      </if>
      <if test="record.bussinessId != null">
        bussiness_id = #{record.bussinessId,jdbcType=INTEGER},
      </if>
      <if test="record.bussinessName != null">
        bussiness_name = #{record.bussinessName,jdbcType=VARCHAR},
      </if>
      <if test="record.status != null">
        status = #{record.status,jdbcType=TINYINT},
      </if>
      <if test="record.type != null">
        type = #{record.type,jdbcType=TINYINT},
      </if>
      <if test="record.productCode != null">
        product_code = #{record.productCode,jdbcType=VARCHAR},
      </if>
      <if test="record.bailunInnerSku != null">
        bailun_inner_sku = #{record.bailunInnerSku,jdbcType=VARCHAR},
      </if>
      <if test="record.productInnerCode != null">
        product_inner_code = #{record.productInnerCode,jdbcType=VARCHAR},
      </if>
      <if test="record.skumsId != null">
        skums_id = #{record.skumsId,jdbcType=INTEGER},
      </if>
      <if test="record.suppliersLink != null">
        suppliers_link = #{record.suppliersLink,jdbcType=VARCHAR},
      </if>
      <if test="record.bailunCategoryId != null">
        bailun_category_id = #{record.bailunCategoryId,jdbcType=INTEGER},
      </if>
      <if test="record.bailunCategoryName != null">
        bailun_category_name = #{record.bailunCategoryName,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_sku
    set id = #{record.id,jdbcType=INTEGER},
      bailun_sku = #{record.bailunSku,jdbcType=VARCHAR},
      sku_image = #{record.skuImage,jdbcType=VARCHAR},
      category_id = #{record.categoryId,jdbcType=INTEGER},
      category_name = #{record.categoryName,jdbcType=VARCHAR},
      warehouse_code = #{record.warehouseCode,jdbcType=VARCHAR},
      warehouse_name = #{record.warehouseName,jdbcType=VARCHAR},
      unit_price = #{record.unitPrice,jdbcType=DECIMAL},
      seller_id = #{record.sellerId,jdbcType=INTEGER},
      seller_name = #{record.sellerName,jdbcType=VARCHAR},
      length = #{record.length,jdbcType=DECIMAL},
      width = #{record.width,jdbcType=DECIMAL},
      height = #{record.height,jdbcType=DECIMAL},
      weight = #{record.weight,jdbcType=DECIMAL},
      moq = #{record.moq,jdbcType=INTEGER},
      sku_title_cn = #{record.skuTitleCn,jdbcType=VARCHAR},
      sku_title_en = #{record.skuTitleEn,jdbcType=VARCHAR},
      create_time = #{record.createTime,jdbcType=TIMESTAMP},
      update_time = #{record.updateTime,jdbcType=TIMESTAMP},
      gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
      gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
      suppliers_id = #{record.suppliersId,jdbcType=INTEGER},
      suppliers_name = #{record.suppliersName,jdbcType=VARCHAR},
      supplier_delivery = #{record.supplierDelivery,jdbcType=INTEGER},
      currency = #{record.currency,jdbcType=VARCHAR},
      buyer_name = #{record.buyerName,jdbcType=VARCHAR},
      buyer_id = #{record.buyerId,jdbcType=INTEGER},
      internal_moq = #{record.internalMoq,jdbcType=INTEGER},
      bussiness_id = #{record.bussinessId,jdbcType=INTEGER},
      bussiness_name = #{record.bussinessName,jdbcType=VARCHAR},
      status = #{record.status,jdbcType=TINYINT},
      type = #{record.type,jdbcType=TINYINT},
      product_code = #{record.productCode,jdbcType=VARCHAR},
      bailun_inner_sku = #{record.bailunInnerSku,jdbcType=VARCHAR},
      product_inner_code = #{record.productInnerCode,jdbcType=VARCHAR},
      skums_id = #{record.skumsId,jdbcType=INTEGER},
      suppliers_link = #{record.suppliersLink,jdbcType=VARCHAR},
      bailun_category_id = #{record.bailunCategoryId,jdbcType=INTEGER},
      bailun_category_name = #{record.bailunCategoryName,jdbcType=VARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_sku
    <set>
      <if test="bailunSku != null">
        bailun_sku = #{bailunSku,jdbcType=VARCHAR},
      </if>
      <if test="skuImage != null">
        sku_image = #{skuImage,jdbcType=VARCHAR},
      </if>
      <if test="categoryId != null">
        category_id = #{categoryId,jdbcType=INTEGER},
      </if>
      <if test="categoryName != null">
        category_name = #{categoryName,jdbcType=VARCHAR},
      </if>
      <if test="warehouseCode != null">
        warehouse_code = #{warehouseCode,jdbcType=VARCHAR},
      </if>
      <if test="warehouseName != null">
        warehouse_name = #{warehouseName,jdbcType=VARCHAR},
      </if>
      <if test="unitPrice != null">
        unit_price = #{unitPrice,jdbcType=DECIMAL},
      </if>
      <if test="sellerId != null">
        seller_id = #{sellerId,jdbcType=INTEGER},
      </if>
      <if test="sellerName != null">
        seller_name = #{sellerName,jdbcType=VARCHAR},
      </if>
      <if test="length != null">
        length = #{length,jdbcType=DECIMAL},
      </if>
      <if test="width != null">
        width = #{width,jdbcType=DECIMAL},
      </if>
      <if test="height != null">
        height = #{height,jdbcType=DECIMAL},
      </if>
      <if test="weight != null">
        weight = #{weight,jdbcType=DECIMAL},
      </if>
      <if test="moq != null">
        moq = #{moq,jdbcType=INTEGER},
      </if>
      <if test="skuTitleCn != null">
        sku_title_cn = #{skuTitleCn,jdbcType=VARCHAR},
      </if>
      <if test="skuTitleEn != null">
        sku_title_en = #{skuTitleEn,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        update_time = #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModified != null">
        gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
      </if>
      <if test="suppliersId != null">
        suppliers_id = #{suppliersId,jdbcType=INTEGER},
      </if>
      <if test="suppliersName != null">
        suppliers_name = #{suppliersName,jdbcType=VARCHAR},
      </if>
      <if test="supplierDelivery != null">
        supplier_delivery = #{supplierDelivery,jdbcType=INTEGER},
      </if>
      <if test="currency != null">
        currency = #{currency,jdbcType=VARCHAR},
      </if>
      <if test="buyerName != null">
        buyer_name = #{buyerName,jdbcType=VARCHAR},
      </if>
      <if test="buyerId != null">
        buyer_id = #{buyerId,jdbcType=INTEGER},
      </if>
      <if test="internalMoq != null">
        internal_moq = #{internalMoq,jdbcType=INTEGER},
      </if>
      <if test="bussinessId != null">
        bussiness_id = #{bussinessId,jdbcType=INTEGER},
      </if>
      <if test="bussinessName != null">
        bussiness_name = #{bussinessName,jdbcType=VARCHAR},
      </if>
      <if test="status != null">
        status = #{status,jdbcType=TINYINT},
      </if>
      <if test="type != null">
        type = #{type,jdbcType=TINYINT},
      </if>
      <if test="productCode != null">
        product_code = #{productCode,jdbcType=VARCHAR},
      </if>
      <if test="bailunInnerSku != null">
        bailun_inner_sku = #{bailunInnerSku,jdbcType=VARCHAR},
      </if>
      <if test="productInnerCode != null">
        product_inner_code = #{productInnerCode,jdbcType=VARCHAR},
      </if>
      <if test="skumsId != null">
        skums_id = #{skumsId,jdbcType=INTEGER},
      </if>
      <if test="suppliersLink != null">
        suppliers_link = #{suppliersLink,jdbcType=VARCHAR},
      </if>
      <if test="bailunCategoryId != null">
        bailun_category_id = #{bailunCategoryId,jdbcType=INTEGER},
      </if>
      <if test="bailunCategoryName != null">
        bailun_category_name = #{bailunCategoryName,jdbcType=VARCHAR},
      </if>
    </set>
    where id = #{id,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_sku
    set bailun_sku = #{bailunSku,jdbcType=VARCHAR},
      sku_image = #{skuImage,jdbcType=VARCHAR},
      category_id = #{categoryId,jdbcType=INTEGER},
      category_name = #{categoryName,jdbcType=VARCHAR},
      warehouse_code = #{warehouseCode,jdbcType=VARCHAR},
      warehouse_name = #{warehouseName,jdbcType=VARCHAR},
      unit_price = #{unitPrice,jdbcType=DECIMAL},
      seller_id = #{sellerId,jdbcType=INTEGER},
      seller_name = #{sellerName,jdbcType=VARCHAR},
      length = #{length,jdbcType=DECIMAL},
      width = #{width,jdbcType=DECIMAL},
      height = #{height,jdbcType=DECIMAL},
      weight = #{weight,jdbcType=DECIMAL},
      moq = #{moq,jdbcType=INTEGER},
      sku_title_cn = #{skuTitleCn,jdbcType=VARCHAR},
      sku_title_en = #{skuTitleEn,jdbcType=VARCHAR},
      create_time = #{createTime,jdbcType=TIMESTAMP},
      update_time = #{updateTime,jdbcType=TIMESTAMP},
      gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
      gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
      suppliers_id = #{suppliersId,jdbcType=INTEGER},
      suppliers_name = #{suppliersName,jdbcType=VARCHAR},
      supplier_delivery = #{supplierDelivery,jdbcType=INTEGER},
      currency = #{currency,jdbcType=VARCHAR},
      buyer_name = #{buyerName,jdbcType=VARCHAR},
      buyer_id = #{buyerId,jdbcType=INTEGER},
      internal_moq = #{internalMoq,jdbcType=INTEGER},
      bussiness_id = #{bussinessId,jdbcType=INTEGER},
      bussiness_name = #{bussinessName,jdbcType=VARCHAR},
      status = #{status,jdbcType=TINYINT},
      type = #{type,jdbcType=TINYINT},
      product_code = #{productCode,jdbcType=VARCHAR},
      bailun_inner_sku = #{bailunInnerSku,jdbcType=VARCHAR},
      product_inner_code = #{productInnerCode,jdbcType=VARCHAR},
      skums_id = #{skumsId,jdbcType=INTEGER},
      suppliers_link = #{suppliersLink,jdbcType=VARCHAR},
      bailun_category_id = #{bailunCategoryId,jdbcType=INTEGER},
      bailun_category_name = #{bailunCategoryName,jdbcType=VARCHAR}
    where id = #{id,jdbcType=INTEGER}
  </update>
  <insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    insert into dc_base_sku
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="bailunSku != null">
        bailun_sku,
      </if>
      <if test="skuImage != null">
        sku_image,
      </if>
      <if test="categoryId != null">
        category_id,
      </if>
      <if test="categoryName != null">
        category_name,
      </if>
      <if test="warehouseCode != null">
        warehouse_code,
      </if>
      <if test="warehouseName != null">
        warehouse_name,
      </if>
      <if test="unitPrice != null">
        unit_price,
      </if>
      <if test="sellerId != null">
        seller_id,
      </if>
      <if test="sellerName != null">
        seller_name,
      </if>
      <if test="length != null">
        length,
      </if>
      <if test="width != null">
        width,
      </if>
      <if test="height != null">
        height,
      </if>
      <if test="weight != null">
        weight,
      </if>
      <if test="moq != null">
        moq,
      </if>
      <if test="skuTitleCn != null">
        sku_title_cn,
      </if>
      <if test="skuTitleEn != null">
        sku_title_en,
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="updateTime != null">
        update_time,
      </if>
      <if test="gmtCreate != null">
        gmt_create,
      </if>
      <if test="gmtModified != null">
        gmt_modified,
      </if>
      <if test="suppliersId != null">
        suppliers_id,
      </if>
      <if test="suppliersName != null">
        suppliers_name,
      </if>
      <if test="supplierDelivery != null">
        supplier_delivery,
      </if>
      <if test="currency != null">
        currency,
      </if>
      <if test="buyerName != null">
        buyer_name,
      </if>
      <if test="buyerId != null">
        buyer_id,
      </if>
      <if test="internalMoq != null">
        internal_moq,
      </if>
      <if test="bussinessId != null">
        bussiness_id,
      </if>
      <if test="bussinessName != null">
        bussiness_name,
      </if>
      <if test="status != null">
        status,
      </if>
      <if test="type != null">
        type,
      </if>
      <if test="productCode != null">
        product_code,
      </if>
      <if test="bailunInnerSku != null">
        bailun_inner_sku,
      </if>
      <if test="productInnerCode != null">
        product_inner_code,
      </if>
      <if test="skumsId != null">
        skums_id,
      </if>
      <if test="suppliersLink != null">
        suppliers_link,
      </if>
      <if test="bailunCategoryId != null">
        bailun_category_id,
      </if>
      <if test="bailunCategoryName != null">
        bailun_category_name,
      </if>
    </trim>
    values
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="bailunSku != null">
        #{bailunSku,jdbcType=VARCHAR},
      </if>
      <if test="skuImage != null">
        #{skuImage,jdbcType=VARCHAR},
      </if>
      <if test="categoryId != null">
        #{categoryId,jdbcType=INTEGER},
      </if>
      <if test="categoryName != null">
        #{categoryName,jdbcType=VARCHAR},
      </if>
      <if test="warehouseCode != null">
        #{warehouseCode,jdbcType=VARCHAR},
      </if>
      <if test="warehouseName != null">
        #{warehouseName,jdbcType=VARCHAR},
      </if>
      <if test="unitPrice != null">
        #{unitPrice,jdbcType=DECIMAL},
      </if>
      <if test="sellerId != null">
        #{sellerId,jdbcType=INTEGER},
      </if>
      <if test="sellerName != null">
        #{sellerName,jdbcType=VARCHAR},
      </if>
      <if test="length != null">
        #{length,jdbcType=DECIMAL},
      </if>
      <if test="width != null">
        #{width,jdbcType=DECIMAL},
      </if>
      <if test="height != null">
        #{height,jdbcType=DECIMAL},
      </if>
      <if test="weight != null">
        #{weight,jdbcType=DECIMAL},
      </if>
      <if test="moq != null">
        #{moq,jdbcType=INTEGER},
      </if>
      <if test="skuTitleCn != null">
        #{skuTitleCn,jdbcType=VARCHAR},
      </if>
      <if test="skuTitleEn != null">
        #{skuTitleEn,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModified != null">
        #{gmtModified,jdbcType=TIMESTAMP},
      </if>
      <if test="suppliersId != null">
        #{suppliersId,jdbcType=INTEGER},
      </if>
      <if test="suppliersName != null">
        #{suppliersName,jdbcType=VARCHAR},
      </if>
      <if test="supplierDelivery != null">
        #{supplierDelivery,jdbcType=INTEGER},
      </if>
      <if test="currency != null">
        #{currency,jdbcType=VARCHAR},
      </if>
      <if test="buyerName != null">
        #{buyerName,jdbcType=VARCHAR},
      </if>
      <if test="buyerId != null">
        #{buyerId,jdbcType=INTEGER},
      </if>
      <if test="internalMoq != null">
        #{internalMoq,jdbcType=INTEGER},
      </if>
      <if test="bussinessId != null">
        #{bussinessId,jdbcType=INTEGER},
      </if>
      <if test="bussinessName != null">
        #{bussinessName,jdbcType=VARCHAR},
      </if>
      <if test="status != null">
        #{status,jdbcType=TINYINT},
      </if>
      <if test="type != null">
        #{type,jdbcType=TINYINT},
      </if>
      <if test="productCode != null">
        #{productCode,jdbcType=VARCHAR},
      </if>
      <if test="bailunInnerSku != null">
        #{bailunInnerSku,jdbcType=VARCHAR},
      </if>
      <if test="productInnerCode != null">
        #{productInnerCode,jdbcType=VARCHAR},
      </if>
      <if test="skumsId != null">
        #{skumsId,jdbcType=INTEGER},
      </if>
      <if test="suppliersLink != null">
        #{suppliersLink,jdbcType=VARCHAR},
      </if>
      <if test="bailunCategoryId != null">
        #{bailunCategoryId,jdbcType=INTEGER},
      </if>
      <if test="bailunCategoryName != null">
        #{bailunCategoryName,jdbcType=VARCHAR},
      </if>
    </trim>
    on duplicate key update 
    <trim suffixOverrides=",">
      <if test="id != null">
        id = #{id,jdbcType=INTEGER},
      </if>
      <if test="bailunSku != null">
        bailun_sku = #{bailunSku,jdbcType=VARCHAR},
      </if>
      <if test="skuImage != null">
        sku_image = #{skuImage,jdbcType=VARCHAR},
      </if>
      <if test="categoryId != null">
        category_id = #{categoryId,jdbcType=INTEGER},
      </if>
      <if test="categoryName != null">
        category_name = #{categoryName,jdbcType=VARCHAR},
      </if>
      <if test="warehouseCode != null">
        warehouse_code = #{warehouseCode,jdbcType=VARCHAR},
      </if>
      <if test="warehouseName != null">
        warehouse_name = #{warehouseName,jdbcType=VARCHAR},
      </if>
      <if test="unitPrice != null">
        unit_price = #{unitPrice,jdbcType=DECIMAL},
      </if>
      <if test="sellerId != null">
        seller_id = #{sellerId,jdbcType=INTEGER},
      </if>
      <if test="sellerName != null">
        seller_name = #{sellerName,jdbcType=VARCHAR},
      </if>
      <if test="length != null">
        length = #{length,jdbcType=DECIMAL},
      </if>
      <if test="width != null">
        width = #{width,jdbcType=DECIMAL},
      </if>
      <if test="height != null">
        height = #{height,jdbcType=DECIMAL},
      </if>
      <if test="weight != null">
        weight = #{weight,jdbcType=DECIMAL},
      </if>
      <if test="moq != null">
        moq = #{moq,jdbcType=INTEGER},
      </if>
      <if test="skuTitleCn != null">
        sku_title_cn = #{skuTitleCn,jdbcType=VARCHAR},
      </if>
      <if test="skuTitleEn != null">
        sku_title_en = #{skuTitleEn,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        update_time = #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModified != null">
        gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
      </if>
      <if test="suppliersId != null">
        suppliers_id = #{suppliersId,jdbcType=INTEGER},
      </if>
      <if test="suppliersName != null">
        suppliers_name = #{suppliersName,jdbcType=VARCHAR},
      </if>
      <if test="supplierDelivery != null">
        supplier_delivery = #{supplierDelivery,jdbcType=INTEGER},
      </if>
      <if test="currency != null">
        currency = #{currency,jdbcType=VARCHAR},
      </if>
      <if test="buyerName != null">
        buyer_name = #{buyerName,jdbcType=VARCHAR},
      </if>
      <if test="buyerId != null">
        buyer_id = #{buyerId,jdbcType=INTEGER},
      </if>
      <if test="internalMoq != null">
        internal_moq = #{internalMoq,jdbcType=INTEGER},
      </if>
      <if test="bussinessId != null">
        bussiness_id = #{bussinessId,jdbcType=INTEGER},
      </if>
      <if test="bussinessName != null">
        bussiness_name = #{bussinessName,jdbcType=VARCHAR},
      </if>
      <if test="status != null">
        status = #{status,jdbcType=TINYINT},
      </if>
      <if test="type != null">
        type = #{type,jdbcType=TINYINT},
      </if>
      <if test="productCode != null">
        product_code = #{productCode,jdbcType=VARCHAR},
      </if>
      <if test="bailunInnerSku != null">
        bailun_inner_sku = #{bailunInnerSku,jdbcType=VARCHAR},
      </if>
      <if test="productInnerCode != null">
        product_inner_code = #{productInnerCode,jdbcType=VARCHAR},
      </if>
      <if test="skumsId != null">
        skums_id = #{skumsId,jdbcType=INTEGER},
      </if>
      <if test="suppliersLink != null">
        suppliers_link = #{suppliersLink,jdbcType=VARCHAR},
      </if>
      <if test="bailunCategoryId != null">
        bailun_category_id = #{bailunCategoryId,jdbcType=INTEGER},
      </if>
      <if test="bailunCategoryName != null">
        bailun_category_name = #{bailunCategoryName,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseSku">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    insert into dc_base_sku
    (id, bailun_sku, sku_image, category_id, category_name, warehouse_code, warehouse_name, 
      unit_price, seller_id, seller_name, length, width, height, weight, moq, sku_title_cn, 
      sku_title_en, create_time, update_time, gmt_create, gmt_modified, suppliers_id, 
      suppliers_name, supplier_delivery, currency, buyer_name, buyer_id, internal_moq, 
      bussiness_id, bussiness_name, status, type, product_code, bailun_inner_sku, product_inner_code, 
      skums_id, suppliers_link, bailun_category_id, bailun_category_name)
    values
    (#{id,jdbcType=INTEGER}, #{bailunSku,jdbcType=VARCHAR}, #{skuImage,jdbcType=VARCHAR}, 
      #{categoryId,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR}, 
      #{warehouseName,jdbcType=VARCHAR}, #{unitPrice,jdbcType=DECIMAL}, #{sellerId,jdbcType=INTEGER}, 
      #{sellerName,jdbcType=VARCHAR}, #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, 
      #{height,jdbcType=DECIMAL}, #{weight,jdbcType=DECIMAL}, #{moq,jdbcType=INTEGER}, 
      #{skuTitleCn,jdbcType=VARCHAR}, #{skuTitleEn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
      #{updateTime,jdbcType=TIMESTAMP}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
      #{suppliersId,jdbcType=INTEGER}, #{suppliersName,jdbcType=VARCHAR}, #{supplierDelivery,jdbcType=INTEGER}, 
      #{currency,jdbcType=VARCHAR}, #{buyerName,jdbcType=VARCHAR}, #{buyerId,jdbcType=INTEGER}, 
      #{internalMoq,jdbcType=INTEGER}, #{bussinessId,jdbcType=INTEGER}, #{bussinessName,jdbcType=VARCHAR}, 
      #{status,jdbcType=TINYINT}, #{type,jdbcType=TINYINT}, #{productCode,jdbcType=VARCHAR}, 
      #{bailunInnerSku,jdbcType=VARCHAR}, #{productInnerCode,jdbcType=VARCHAR}, #{skumsId,jdbcType=INTEGER}, 
      #{suppliersLink,jdbcType=VARCHAR}, #{bailunCategoryId,jdbcType=INTEGER}, #{bailunCategoryName,jdbcType=VARCHAR}
      )
    on duplicate key update 
    id = #{id,jdbcType=INTEGER}, 
    bailun_sku = #{bailunSku,jdbcType=VARCHAR}, 
    sku_image = #{skuImage,jdbcType=VARCHAR}, 
    category_id = #{categoryId,jdbcType=INTEGER}, 
    category_name = #{categoryName,jdbcType=VARCHAR}, 
    warehouse_code = #{warehouseCode,jdbcType=VARCHAR}, 
    warehouse_name = #{warehouseName,jdbcType=VARCHAR}, 
    unit_price = #{unitPrice,jdbcType=DECIMAL}, 
    seller_id = #{sellerId,jdbcType=INTEGER}, 
    seller_name = #{sellerName,jdbcType=VARCHAR}, 
    length = #{length,jdbcType=DECIMAL}, 
    width = #{width,jdbcType=DECIMAL}, 
    height = #{height,jdbcType=DECIMAL}, 
    weight = #{weight,jdbcType=DECIMAL}, 
    moq = #{moq,jdbcType=INTEGER}, 
    sku_title_cn = #{skuTitleCn,jdbcType=VARCHAR}, 
    sku_title_en = #{skuTitleEn,jdbcType=VARCHAR}, 
    create_time = #{createTime,jdbcType=TIMESTAMP},
    update_time = #{updateTime,jdbcType=TIMESTAMP},
    gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
    gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
    suppliers_id = #{suppliersId,jdbcType=INTEGER}, 
    suppliers_name = #{suppliersName,jdbcType=VARCHAR}, 
    supplier_delivery = #{supplierDelivery,jdbcType=INTEGER}, 
    currency = #{currency,jdbcType=VARCHAR}, 
    buyer_name = #{buyerName,jdbcType=VARCHAR}, 
    buyer_id = #{buyerId,jdbcType=INTEGER}, 
    internal_moq = #{internalMoq,jdbcType=INTEGER}, 
    bussiness_id = #{bussinessId,jdbcType=INTEGER}, 
    bussiness_name = #{bussinessName,jdbcType=VARCHAR}, 
    status = #{status,jdbcType=TINYINT}, 
    type = #{type,jdbcType=TINYINT}, 
    product_code = #{productCode,jdbcType=VARCHAR}, 
    bailun_inner_sku = #{bailunInnerSku,jdbcType=VARCHAR}, 
    product_inner_code = #{productInnerCode,jdbcType=VARCHAR}, 
    skums_id = #{skumsId,jdbcType=INTEGER}, 
    suppliers_link = #{suppliersLink,jdbcType=VARCHAR}, 
    bailun_category_id = #{bailunCategoryId,jdbcType=INTEGER}, 
    bailun_category_name = #{bailunCategoryName,jdbcType=VARCHAR}
  </insert>
  <select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseSkuExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    select
    <include refid="Base_Column_List" />
    from dc_base_sku
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
    limit 1
  </select>

</mapper>