<?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.chaozhanggui.dao.system.dao.TbPlussMerchantLklMapper">
  <resultMap id="BaseResultMap" type="com.chaozhanggui.dao.system.entity.TbPlussMerchantLkl">
    <result column="merchantId" jdbcType="VARCHAR" property="merchantid" />
    <result column="merchantlkl" jdbcType="VARCHAR" property="merchantlkl" />
    <result column="type" jdbcType="VARCHAR" property="type" />
  </resultMap>
  <insert id="insert" parameterType="com.chaozhanggui.dao.system.entity.TbPlussMerchantLkl">
    insert into tb_pluss_merchant_lkl (merchantId, merchantlkl, type
      )
    values (#{merchantid,jdbcType=VARCHAR}, #{merchantlkl,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.chaozhanggui.dao.system.entity.TbPlussMerchantLkl">
    insert into tb_pluss_merchant_lkl
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="merchantid != null">
        merchantId,
      </if>
      <if test="merchantlkl != null">
        merchantlkl,
      </if>
      <if test="type != null">
        type,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="merchantid != null">
        #{merchantid,jdbcType=VARCHAR},
      </if>
      <if test="merchantlkl != null">
        #{merchantlkl,jdbcType=VARCHAR},
      </if>
      <if test="type != null">
        #{type,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
</mapper>