<?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.fuxi.ws.data.dao.WInviterMapper">  
  <resultMap id="BaseResultMap" type="com.fuxi.ws.data.entity.WInviter">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    <id column="ID" jdbcType="INTEGER" property="id" />
    <result column="Name" jdbcType="NVARCHAR" property="name" />
    <result column="BeginDate" jdbcType="TIMESTAMP" property="begindate" />
    <result column="EndDate" jdbcType="TIMESTAMP" property="enddate" />
    <result column="InviterPointFlag" jdbcType="TINYINT" property="inviterpointflag" />
    <result column="InviterPoint" jdbcType="INTEGER" property="inviterpoint" />
    <result column="InviterDeopostFlag" jdbcType="TINYINT" property="inviterdeopostflag" />
    <result column="InviterDeopost" jdbcType="DECIMAL" property="inviterdeopost" />
    <result column="InviterTicketFlag" jdbcType="TINYINT" property="inviterticketflag" />
    <result column="AdherentPointFlag" jdbcType="TINYINT" property="adherentpointflag" />
    <result column="AdherentPoint" jdbcType="INTEGER" property="adherentpoint" />
    <result column="AdherentDeopostFlag" jdbcType="TINYINT" property="adherentdeopostflag" />
    <result column="AdherentDeopost" jdbcType="DECIMAL" property="adherentdeopost" />
    <result column="AdherentTicketFlag" jdbcType="TINYINT" property="adherentticketflag" />
    <result column="UseFlag" jdbcType="TINYINT" property="useflag" />
    <result column="InviterImageUrl" jdbcType="NVARCHAR" property="inviterimageurl" />
    <result column="ReceiveImageUrl" jdbcType="NVARCHAR" property="receiveimageurl" />
    <result column="ShareTitl" jdbcType="NVARCHAR" property="sharetitl" />
    <result column="ShareDec" jdbcType="NVARCHAR" property="sharedec" />
    <result column="ShareUrl" jdbcType="NVARCHAR" property="shareurl" />
    <result column="Memo" jdbcType="NVARCHAR" property="memo" />
    <result column="StopFlag" jdbcType="TINYINT" property="stopflag" />
    <result column="Creater" jdbcType="VARCHAR" property="creater" />
    <result column="Created" jdbcType="TIMESTAMP" property="created" />
    <result column="Modifier" jdbcType="VARCHAR" property="modifier" />
    <result column="Modified" jdbcType="TIMESTAMP" property="modified" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    <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.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    <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.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    ID, Name, BeginDate, EndDate, InviterPointFlag, InviterPoint, InviterDeopostFlag, 
    InviterDeopost, InviterTicketFlag, AdherentPointFlag, AdherentPoint, AdherentDeopostFlag, 
    AdherentDeopost, AdherentTicketFlag, UseFlag, InviterImageUrl, ReceiveImageUrl, ShareTitl, 
    ShareDec, ShareUrl, Memo, StopFlag, Creater, Created, Modifier, Modified
  </sql>
  <select id="selectByExample" parameterType="com.fuxi.ws.data.entity.WInviterExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    'true' as QUERYID,
    <include refid="Base_Column_List" />
    from W_inviter
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </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.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    select 
    <include refid="Base_Column_List" />
    from W_inviter
    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.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    delete from W_inviter
    where ID = #{id,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.fuxi.ws.data.entity.WInviterExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    delete from W_inviter
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.fuxi.ws.data.entity.WInviter">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    insert into W_inviter (ID, Name, BeginDate, 
      EndDate, InviterPointFlag, InviterPoint, 
      InviterDeopostFlag, InviterDeopost, InviterTicketFlag, 
      AdherentPointFlag, AdherentPoint, AdherentDeopostFlag, 
      AdherentDeopost, AdherentTicketFlag, UseFlag, 
      InviterImageUrl, ReceiveImageUrl, ShareTitl, 
      ShareDec, ShareUrl, Memo, 
      StopFlag, Creater, Created, 
      Modifier, Modified)
    values (#{id,jdbcType=INTEGER}, #{name,jdbcType=NVARCHAR}, #{begindate,jdbcType=TIMESTAMP}, 
      #{enddate,jdbcType=TIMESTAMP}, #{inviterpointflag,jdbcType=TINYINT}, #{inviterpoint,jdbcType=INTEGER}, 
      #{inviterdeopostflag,jdbcType=TINYINT}, #{inviterdeopost,jdbcType=DECIMAL}, #{inviterticketflag,jdbcType=TINYINT}, 
      #{adherentpointflag,jdbcType=TINYINT}, #{adherentpoint,jdbcType=INTEGER}, #{adherentdeopostflag,jdbcType=TINYINT}, 
      #{adherentdeopost,jdbcType=DECIMAL}, #{adherentticketflag,jdbcType=TINYINT}, #{useflag,jdbcType=TINYINT}, 
      #{inviterimageurl,jdbcType=NVARCHAR}, #{receiveimageurl,jdbcType=NVARCHAR}, #{sharetitl,jdbcType=NVARCHAR}, 
      #{sharedec,jdbcType=NVARCHAR}, #{shareurl,jdbcType=NVARCHAR}, #{memo,jdbcType=NVARCHAR}, 
      #{stopflag,jdbcType=TINYINT}, #{creater,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, 
      #{modifier,jdbcType=VARCHAR}, #{modified,jdbcType=TIMESTAMP})
  </insert>
  <insert id="insertSelective" parameterType="com.fuxi.ws.data.entity.WInviter">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    insert into W_inviter
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        ID,
      </if>
      <if test="name != null">
        Name,
      </if>
      <if test="begindate != null">
        BeginDate,
      </if>
      <if test="enddate != null">
        EndDate,
      </if>
      <if test="inviterpointflag != null">
        InviterPointFlag,
      </if>
      <if test="inviterpoint != null">
        InviterPoint,
      </if>
      <if test="inviterdeopostflag != null">
        InviterDeopostFlag,
      </if>
      <if test="inviterdeopost != null">
        InviterDeopost,
      </if>
      <if test="inviterticketflag != null">
        InviterTicketFlag,
      </if>
      <if test="adherentpointflag != null">
        AdherentPointFlag,
      </if>
      <if test="adherentpoint != null">
        AdherentPoint,
      </if>
      <if test="adherentdeopostflag != null">
        AdherentDeopostFlag,
      </if>
      <if test="adherentdeopost != null">
        AdherentDeopost,
      </if>
      <if test="adherentticketflag != null">
        AdherentTicketFlag,
      </if>
      <if test="useflag != null">
        UseFlag,
      </if>
      <if test="inviterimageurl != null">
        InviterImageUrl,
      </if>
      <if test="receiveimageurl != null">
        ReceiveImageUrl,
      </if>
      <if test="sharetitl != null">
        ShareTitl,
      </if>
      <if test="sharedec != null">
        ShareDec,
      </if>
      <if test="shareurl != null">
        ShareUrl,
      </if>
      <if test="memo != null">
        Memo,
      </if>
      <if test="stopflag != null">
        StopFlag,
      </if>
      <if test="creater != null">
        Creater,
      </if>
      <if test="created != null">
        Created,
      </if>
      <if test="modifier != null">
        Modifier,
      </if>
      <if test="modified != null">
        Modified,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="name != null">
        #{name,jdbcType=NVARCHAR},
      </if>
      <if test="begindate != null">
        #{begindate,jdbcType=TIMESTAMP},
      </if>
      <if test="enddate != null">
        #{enddate,jdbcType=TIMESTAMP},
      </if>
      <if test="inviterpointflag != null">
        #{inviterpointflag,jdbcType=TINYINT},
      </if>
      <if test="inviterpoint != null">
        #{inviterpoint,jdbcType=INTEGER},
      </if>
      <if test="inviterdeopostflag != null">
        #{inviterdeopostflag,jdbcType=TINYINT},
      </if>
      <if test="inviterdeopost != null">
        #{inviterdeopost,jdbcType=DECIMAL},
      </if>
      <if test="inviterticketflag != null">
        #{inviterticketflag,jdbcType=TINYINT},
      </if>
      <if test="adherentpointflag != null">
        #{adherentpointflag,jdbcType=TINYINT},
      </if>
      <if test="adherentpoint != null">
        #{adherentpoint,jdbcType=INTEGER},
      </if>
      <if test="adherentdeopostflag != null">
        #{adherentdeopostflag,jdbcType=TINYINT},
      </if>
      <if test="adherentdeopost != null">
        #{adherentdeopost,jdbcType=DECIMAL},
      </if>
      <if test="adherentticketflag != null">
        #{adherentticketflag,jdbcType=TINYINT},
      </if>
      <if test="useflag != null">
        #{useflag,jdbcType=TINYINT},
      </if>
      <if test="inviterimageurl != null">
        #{inviterimageurl,jdbcType=NVARCHAR},
      </if>
      <if test="receiveimageurl != null">
        #{receiveimageurl,jdbcType=NVARCHAR},
      </if>
      <if test="sharetitl != null">
        #{sharetitl,jdbcType=NVARCHAR},
      </if>
      <if test="sharedec != null">
        #{sharedec,jdbcType=NVARCHAR},
      </if>
      <if test="shareurl != null">
        #{shareurl,jdbcType=NVARCHAR},
      </if>
      <if test="memo != null">
        #{memo,jdbcType=NVARCHAR},
      </if>
      <if test="stopflag != null">
        #{stopflag,jdbcType=TINYINT},
      </if>
      <if test="creater != null">
        #{creater,jdbcType=VARCHAR},
      </if>
      <if test="created != null">
        #{created,jdbcType=TIMESTAMP},
      </if>
      <if test="modifier != null">
        #{modifier,jdbcType=VARCHAR},
      </if>
      <if test="modified != null">
        #{modified,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.fuxi.ws.data.entity.WInviterExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    select count(*) from W_inviter
    <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.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    update W_inviter
    <set>
      <if test="record.id != null">
        ID = #{record.id,jdbcType=INTEGER},
      </if>
      <if test="record.name != null">
        Name = #{record.name,jdbcType=NVARCHAR},
      </if>
      <if test="record.begindate != null">
        BeginDate = #{record.begindate,jdbcType=TIMESTAMP},
      </if>
      <if test="record.enddate != null">
        EndDate = #{record.enddate,jdbcType=TIMESTAMP},
      </if>
      <if test="record.inviterpointflag != null">
        InviterPointFlag = #{record.inviterpointflag,jdbcType=TINYINT},
      </if>
      <if test="record.inviterpoint != null">
        InviterPoint = #{record.inviterpoint,jdbcType=INTEGER},
      </if>
      <if test="record.inviterdeopostflag != null">
        InviterDeopostFlag = #{record.inviterdeopostflag,jdbcType=TINYINT},
      </if>
      <if test="record.inviterdeopost != null">
        InviterDeopost = #{record.inviterdeopost,jdbcType=DECIMAL},
      </if>
      <if test="record.inviterticketflag != null">
        InviterTicketFlag = #{record.inviterticketflag,jdbcType=TINYINT},
      </if>
      <if test="record.adherentpointflag != null">
        AdherentPointFlag = #{record.adherentpointflag,jdbcType=TINYINT},
      </if>
      <if test="record.adherentpoint != null">
        AdherentPoint = #{record.adherentpoint,jdbcType=INTEGER},
      </if>
      <if test="record.adherentdeopostflag != null">
        AdherentDeopostFlag = #{record.adherentdeopostflag,jdbcType=TINYINT},
      </if>
      <if test="record.adherentdeopost != null">
        AdherentDeopost = #{record.adherentdeopost,jdbcType=DECIMAL},
      </if>
      <if test="record.adherentticketflag != null">
        AdherentTicketFlag = #{record.adherentticketflag,jdbcType=TINYINT},
      </if>
      <if test="record.useflag != null">
        UseFlag = #{record.useflag,jdbcType=TINYINT},
      </if>
      <if test="record.inviterimageurl != null">
        InviterImageUrl = #{record.inviterimageurl,jdbcType=NVARCHAR},
      </if>
      <if test="record.receiveimageurl != null">
        ReceiveImageUrl = #{record.receiveimageurl,jdbcType=NVARCHAR},
      </if>
      <if test="record.sharetitl != null">
        ShareTitl = #{record.sharetitl,jdbcType=NVARCHAR},
      </if>
      <if test="record.sharedec != null">
        ShareDec = #{record.sharedec,jdbcType=NVARCHAR},
      </if>
      <if test="record.shareurl != null">
        ShareUrl = #{record.shareurl,jdbcType=NVARCHAR},
      </if>
      <if test="record.memo != null">
        Memo = #{record.memo,jdbcType=NVARCHAR},
      </if>
      <if test="record.stopflag != null">
        StopFlag = #{record.stopflag,jdbcType=TINYINT},
      </if>
      <if test="record.creater != null">
        Creater = #{record.creater,jdbcType=VARCHAR},
      </if>
      <if test="record.created != null">
        Created = #{record.created,jdbcType=TIMESTAMP},
      </if>
      <if test="record.modifier != null">
        Modifier = #{record.modifier,jdbcType=VARCHAR},
      </if>
      <if test="record.modified != null">
        Modified = #{record.modified,jdbcType=TIMESTAMP},
      </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.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    update W_inviter
    set ID = #{record.id,jdbcType=INTEGER},
      Name = #{record.name,jdbcType=NVARCHAR},
      BeginDate = #{record.begindate,jdbcType=TIMESTAMP},
      EndDate = #{record.enddate,jdbcType=TIMESTAMP},
      InviterPointFlag = #{record.inviterpointflag,jdbcType=TINYINT},
      InviterPoint = #{record.inviterpoint,jdbcType=INTEGER},
      InviterDeopostFlag = #{record.inviterdeopostflag,jdbcType=TINYINT},
      InviterDeopost = #{record.inviterdeopost,jdbcType=DECIMAL},
      InviterTicketFlag = #{record.inviterticketflag,jdbcType=TINYINT},
      AdherentPointFlag = #{record.adherentpointflag,jdbcType=TINYINT},
      AdherentPoint = #{record.adherentpoint,jdbcType=INTEGER},
      AdherentDeopostFlag = #{record.adherentdeopostflag,jdbcType=TINYINT},
      AdherentDeopost = #{record.adherentdeopost,jdbcType=DECIMAL},
      AdherentTicketFlag = #{record.adherentticketflag,jdbcType=TINYINT},
      UseFlag = #{record.useflag,jdbcType=TINYINT},
      InviterImageUrl = #{record.inviterimageurl,jdbcType=NVARCHAR},
      ReceiveImageUrl = #{record.receiveimageurl,jdbcType=NVARCHAR},
      ShareTitl = #{record.sharetitl,jdbcType=NVARCHAR},
      ShareDec = #{record.sharedec,jdbcType=NVARCHAR},
      ShareUrl = #{record.shareurl,jdbcType=NVARCHAR},
      Memo = #{record.memo,jdbcType=NVARCHAR},
      StopFlag = #{record.stopflag,jdbcType=TINYINT},
      Creater = #{record.creater,jdbcType=VARCHAR},
      Created = #{record.created,jdbcType=TIMESTAMP},
      Modifier = #{record.modifier,jdbcType=VARCHAR},
      Modified = #{record.modified,jdbcType=TIMESTAMP}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.fuxi.ws.data.entity.WInviter">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    update W_inviter
    <set>
      <if test="name != null">
        Name = #{name,jdbcType=NVARCHAR},
      </if>
      <if test="begindate != null">
        BeginDate = #{begindate,jdbcType=TIMESTAMP},
      </if>
      <if test="enddate != null">
        EndDate = #{enddate,jdbcType=TIMESTAMP},
      </if>
      <if test="inviterpointflag != null">
        InviterPointFlag = #{inviterpointflag,jdbcType=TINYINT},
      </if>
      <if test="inviterpoint != null">
        InviterPoint = #{inviterpoint,jdbcType=INTEGER},
      </if>
      <if test="inviterdeopostflag != null">
        InviterDeopostFlag = #{inviterdeopostflag,jdbcType=TINYINT},
      </if>
      <if test="inviterdeopost != null">
        InviterDeopost = #{inviterdeopost,jdbcType=DECIMAL},
      </if>
      <if test="inviterticketflag != null">
        InviterTicketFlag = #{inviterticketflag,jdbcType=TINYINT},
      </if>
      <if test="adherentpointflag != null">
        AdherentPointFlag = #{adherentpointflag,jdbcType=TINYINT},
      </if>
      <if test="adherentpoint != null">
        AdherentPoint = #{adherentpoint,jdbcType=INTEGER},
      </if>
      <if test="adherentdeopostflag != null">
        AdherentDeopostFlag = #{adherentdeopostflag,jdbcType=TINYINT},
      </if>
      <if test="adherentdeopost != null">
        AdherentDeopost = #{adherentdeopost,jdbcType=DECIMAL},
      </if>
      <if test="adherentticketflag != null">
        AdherentTicketFlag = #{adherentticketflag,jdbcType=TINYINT},
      </if>
      <if test="useflag != null">
        UseFlag = #{useflag,jdbcType=TINYINT},
      </if>
      <if test="inviterimageurl != null">
        InviterImageUrl = #{inviterimageurl,jdbcType=NVARCHAR},
      </if>
      <if test="receiveimageurl != null">
        ReceiveImageUrl = #{receiveimageurl,jdbcType=NVARCHAR},
      </if>
      <if test="sharetitl != null">
        ShareTitl = #{sharetitl,jdbcType=NVARCHAR},
      </if>
      <if test="sharedec != null">
        ShareDec = #{sharedec,jdbcType=NVARCHAR},
      </if>
      <if test="shareurl != null">
        ShareUrl = #{shareurl,jdbcType=NVARCHAR},
      </if>
      <if test="memo != null">
        Memo = #{memo,jdbcType=NVARCHAR},
      </if>
      <if test="stopflag != null">
        StopFlag = #{stopflag,jdbcType=TINYINT},
      </if>
      <if test="creater != null">
        Creater = #{creater,jdbcType=VARCHAR},
      </if>
      <if test="created != null">
        Created = #{created,jdbcType=TIMESTAMP},
      </if>
      <if test="modifier != null">
        Modifier = #{modifier,jdbcType=VARCHAR},
      </if>
      <if test="modified != null">
        Modified = #{modified,jdbcType=TIMESTAMP},
      </if>
    </set>
    where ID = #{id,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.fuxi.ws.data.entity.WInviter">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Tue Aug 20 17:16:19 CST 2019.
    -->
    update W_inviter
    set Name = #{name,jdbcType=NVARCHAR},
      BeginDate = #{begindate,jdbcType=TIMESTAMP},
      EndDate = #{enddate,jdbcType=TIMESTAMP},
      InviterPointFlag = #{inviterpointflag,jdbcType=TINYINT},
      InviterPoint = #{inviterpoint,jdbcType=INTEGER},
      InviterDeopostFlag = #{inviterdeopostflag,jdbcType=TINYINT},
      InviterDeopost = #{inviterdeopost,jdbcType=DECIMAL},
      InviterTicketFlag = #{inviterticketflag,jdbcType=TINYINT},
      AdherentPointFlag = #{adherentpointflag,jdbcType=TINYINT},
      AdherentPoint = #{adherentpoint,jdbcType=INTEGER},
      AdherentDeopostFlag = #{adherentdeopostflag,jdbcType=TINYINT},
      AdherentDeopost = #{adherentdeopost,jdbcType=DECIMAL},
      AdherentTicketFlag = #{adherentticketflag,jdbcType=TINYINT},
      UseFlag = #{useflag,jdbcType=TINYINT},
      InviterImageUrl = #{inviterimageurl,jdbcType=NVARCHAR},
      ReceiveImageUrl = #{receiveimageurl,jdbcType=NVARCHAR},
      ShareTitl = #{sharetitl,jdbcType=NVARCHAR},
      ShareDec = #{sharedec,jdbcType=NVARCHAR},
      ShareUrl = #{shareurl,jdbcType=NVARCHAR},
      Memo = #{memo,jdbcType=NVARCHAR},
      StopFlag = #{stopflag,jdbcType=TINYINT},
      Creater = #{creater,jdbcType=VARCHAR},
      Created = #{created,jdbcType=TIMESTAMP},
      Modifier = #{modifier,jdbcType=VARCHAR},
      Modified = #{modified,jdbcType=TIMESTAMP}
    where ID = #{id,jdbcType=INTEGER}
  </update>
</mapper>