12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244 |
- <?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.book.server.dao.mapper.UserMapper">
- <resultMap id="BaseResultMap" type="com.book.dao.cps.pojo.User">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- <id column="id" jdbcType="BIGINT" property="id" />
- <result column="openid" jdbcType="VARCHAR" property="openid" />
- <result column="unionid" jdbcType="VARCHAR" property="unionid" />
- <result column="visitor" jdbcType="VARCHAR" property="visitor" />
- <result column="nickname" jdbcType="VARCHAR" property="nickname" />
- <result column="sex" jdbcType="CHAR" property="sex" />
- <result column="mobile" jdbcType="CHAR" property="mobile" />
- <result column="avatar" jdbcType="VARCHAR" property="avatar" />
- <result column="is_subscribe" jdbcType="CHAR" property="isSubscribe" />
- <result column="subscription_extend" jdbcType="CHAR" property="subscriptionExtend" />
- <result column="subscribe_time" jdbcType="INTEGER" property="subscribeTime" />
- <result column="book_category_ids" jdbcType="VARCHAR" property="bookCategoryIds" />
- <result column="operate_time" jdbcType="INTEGER" property="operateTime" />
- <result column="is_pay" jdbcType="CHAR" property="isPay" />
- <result column="kandian" jdbcType="INTEGER" property="kandian" />
- <result column="free_kandian" jdbcType="INTEGER" property="freeKandian" />
- <result column="vip_endtime" jdbcType="INTEGER" property="vipEndtime" />
- <result column="register_ip" jdbcType="VARCHAR" property="registerIp" />
- <result column="country" jdbcType="VARCHAR" property="country" />
- <result column="area" jdbcType="VARCHAR" property="area" />
- <result column="province" jdbcType="VARCHAR" property="province" />
- <result column="city" jdbcType="VARCHAR" property="city" />
- <result column="isp" jdbcType="VARCHAR" property="isp" />
- <result column="channel_id" jdbcType="INTEGER" property="channelId" />
- <result column="state" jdbcType="CHAR" property="state" />
- <result column="createtime" jdbcType="INTEGER" property="createtime" />
- <result column="updatetime" jdbcType="INTEGER" property="updatetime" />
- </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 17 22:19:18 CST 2021.
- -->
- <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 17 22:19:18 CST 2021.
- -->
- <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 17 22:19:18 CST 2021.
- -->
- id, openid, unionid, visitor, nickname, sex, mobile, avatar, is_subscribe, subscription_extend,
- subscribe_time, book_category_ids, operate_time, is_pay, kandian, free_kandian, vip_endtime,
- register_ip, country, area, province, city, isp, channel_id, state, createtime, updatetime
- </sql>
- <select id="selectByExample" parameterType="com.book.dao.cps.pojo.example.UserExample" resultMap="BaseResultMap">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from user
- <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="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- select
- <if test="example != null and example.distinct">
- distinct
- </if>
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach collection="selective" item="column" separator=",">
- ${column.aliasedEscapedColumnName}
- </foreach>
- </when>
- <otherwise>
- <include refid="Base_Column_List" />
- </otherwise>
- </choose>
- from user
- <if test="example != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- <if test="example != null and example.orderByClause != null">
- order by ${example.orderByClause}
- </if>
- <if test="example != null and example.rows != null">
- <if test="example.offset != null">
- limit ${example.offset}, ${example.rows}
- </if>
- <if test="example.offset == null">
- limit ${example.rows}
- </if>
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- select
- <include refid="Base_Column_List" />
- from user
- where id = #{id,jdbcType=BIGINT}
- </select>
- <select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- select
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach collection="selective" item="column" separator=",">
- ${column.aliasedEscapedColumnName}
- </foreach>
- </when>
- <otherwise>
- <include refid="Base_Column_List" />
- </otherwise>
- </choose>
- from user
- where id = #{id,jdbcType=BIGINT}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- delete from user
- where id = #{id,jdbcType=BIGINT}
- </delete>
- <delete id="deleteByExample" parameterType="com.book.dao.cps.pojo.example.UserExample">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- delete from user
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.book.dao.cps.pojo.User">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- insert into user (id, openid, unionid,
- visitor, nickname, sex,
- mobile, avatar, is_subscribe,
- subscription_extend, subscribe_time, book_category_ids,
- operate_time, is_pay, kandian,
- free_kandian, vip_endtime, register_ip,
- country, area, province,
- city, isp, channel_id,
- state, createtime, updatetime
- )
- values (#{id,jdbcType=BIGINT}, #{openid,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR},
- #{visitor,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, #{sex,jdbcType=CHAR},
- #{mobile,jdbcType=CHAR}, #{avatar,jdbcType=VARCHAR}, #{isSubscribe,jdbcType=CHAR},
- #{subscriptionExtend,jdbcType=CHAR}, #{subscribeTime,jdbcType=INTEGER}, #{bookCategoryIds,jdbcType=VARCHAR},
- #{operateTime,jdbcType=INTEGER}, #{isPay,jdbcType=CHAR}, #{kandian,jdbcType=INTEGER},
- #{freeKandian,jdbcType=INTEGER}, #{vipEndtime,jdbcType=INTEGER}, #{registerIp,jdbcType=VARCHAR},
- #{country,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
- #{city,jdbcType=VARCHAR}, #{isp,jdbcType=VARCHAR}, #{channelId,jdbcType=INTEGER},
- #{state,jdbcType=CHAR}, #{createtime,jdbcType=INTEGER}, #{updatetime,jdbcType=INTEGER}
- )
- </insert>
- <insert id="insertSelective" parameterType="map">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- insert into user
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach close=")" collection="selective" item="column" open="(" separator=",">
- ${column.escapedColumnName}
- </foreach>
- </when>
- <otherwise>
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="record.id != null">
- id,
- </if>
- <if test="record.openid != null">
- openid,
- </if>
- <if test="record.unionid != null">
- unionid,
- </if>
- <if test="record.visitor != null">
- visitor,
- </if>
- <if test="record.nickname != null">
- nickname,
- </if>
- <if test="record.sex != null">
- sex,
- </if>
- <if test="record.mobile != null">
- mobile,
- </if>
- <if test="record.avatar != null">
- avatar,
- </if>
- <if test="record.isSubscribe != null">
- is_subscribe,
- </if>
- <if test="record.subscriptionExtend != null">
- subscription_extend,
- </if>
- <if test="record.subscribeTime != null">
- subscribe_time,
- </if>
- <if test="record.bookCategoryIds != null">
- book_category_ids,
- </if>
- <if test="record.operateTime != null">
- operate_time,
- </if>
- <if test="record.isPay != null">
- is_pay,
- </if>
- <if test="record.kandian != null">
- kandian,
- </if>
- <if test="record.freeKandian != null">
- free_kandian,
- </if>
- <if test="record.vipEndtime != null">
- vip_endtime,
- </if>
- <if test="record.registerIp != null">
- register_ip,
- </if>
- <if test="record.country != null">
- country,
- </if>
- <if test="record.area != null">
- area,
- </if>
- <if test="record.province != null">
- province,
- </if>
- <if test="record.city != null">
- city,
- </if>
- <if test="record.isp != null">
- isp,
- </if>
- <if test="record.channelId != null">
- channel_id,
- </if>
- <if test="record.state != null">
- state,
- </if>
- <if test="record.createtime != null">
- createtime,
- </if>
- <if test="record.updatetime != null">
- updatetime,
- </if>
- </trim>
- <trim prefix="(" suffix=")" suffixOverrides="," />
- </otherwise>
- </choose>
- values
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach close=")" collection="selective" item="column" open="(" separator=",">
- #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
- </foreach>
- </when>
- <otherwise>
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="record.id != null">
- #{record.id,jdbcType=BIGINT},
- </if>
- <if test="record.openid != null">
- #{record.openid,jdbcType=VARCHAR},
- </if>
- <if test="record.unionid != null">
- #{record.unionid,jdbcType=VARCHAR},
- </if>
- <if test="record.visitor != null">
- #{record.visitor,jdbcType=VARCHAR},
- </if>
- <if test="record.nickname != null">
- #{record.nickname,jdbcType=VARCHAR},
- </if>
- <if test="record.sex != null">
- #{record.sex,jdbcType=CHAR},
- </if>
- <if test="record.mobile != null">
- #{record.mobile,jdbcType=CHAR},
- </if>
- <if test="record.avatar != null">
- #{record.avatar,jdbcType=VARCHAR},
- </if>
- <if test="record.isSubscribe != null">
- #{record.isSubscribe,jdbcType=CHAR},
- </if>
- <if test="record.subscriptionExtend != null">
- #{record.subscriptionExtend,jdbcType=CHAR},
- </if>
- <if test="record.subscribeTime != null">
- #{record.subscribeTime,jdbcType=INTEGER},
- </if>
- <if test="record.bookCategoryIds != null">
- #{record.bookCategoryIds,jdbcType=VARCHAR},
- </if>
- <if test="record.operateTime != null">
- #{record.operateTime,jdbcType=INTEGER},
- </if>
- <if test="record.isPay != null">
- #{record.isPay,jdbcType=CHAR},
- </if>
- <if test="record.kandian != null">
- #{record.kandian,jdbcType=INTEGER},
- </if>
- <if test="record.freeKandian != null">
- #{record.freeKandian,jdbcType=INTEGER},
- </if>
- <if test="record.vipEndtime != null">
- #{record.vipEndtime,jdbcType=INTEGER},
- </if>
- <if test="record.registerIp != null">
- #{record.registerIp,jdbcType=VARCHAR},
- </if>
- <if test="record.country != null">
- #{record.country,jdbcType=VARCHAR},
- </if>
- <if test="record.area != null">
- #{record.area,jdbcType=VARCHAR},
- </if>
- <if test="record.province != null">
- #{record.province,jdbcType=VARCHAR},
- </if>
- <if test="record.city != null">
- #{record.city,jdbcType=VARCHAR},
- </if>
- <if test="record.isp != null">
- #{record.isp,jdbcType=VARCHAR},
- </if>
- <if test="record.channelId != null">
- #{record.channelId,jdbcType=INTEGER},
- </if>
- <if test="record.state != null">
- #{record.state,jdbcType=CHAR},
- </if>
- <if test="record.createtime != null">
- #{record.createtime,jdbcType=INTEGER},
- </if>
- <if test="record.updatetime != null">
- #{record.updatetime,jdbcType=INTEGER},
- </if>
- </trim>
- </otherwise>
- </choose>
- </insert>
- <select id="countByExample" parameterType="com.book.dao.cps.pojo.example.UserExample" 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 17 22:19:18 CST 2021.
- -->
- select count(*) from user
- <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 17 22:19:18 CST 2021.
- -->
- update user
- SET
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach collection="selective" item="column" separator=",">
- ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
- </foreach>
- </when>
- <otherwise>
- <trim suffixOverrides=",">
- <if test="record.id != null">
- id = #{record.id,jdbcType=BIGINT},
- </if>
- <if test="record.openid != null">
- openid = #{record.openid,jdbcType=VARCHAR},
- </if>
- <if test="record.unionid != null">
- unionid = #{record.unionid,jdbcType=VARCHAR},
- </if>
- <if test="record.visitor != null">
- visitor = #{record.visitor,jdbcType=VARCHAR},
- </if>
- <if test="record.nickname != null">
- nickname = #{record.nickname,jdbcType=VARCHAR},
- </if>
- <if test="record.sex != null">
- sex = #{record.sex,jdbcType=CHAR},
- </if>
- <if test="record.mobile != null">
- mobile = #{record.mobile,jdbcType=CHAR},
- </if>
- <if test="record.avatar != null">
- avatar = #{record.avatar,jdbcType=VARCHAR},
- </if>
- <if test="record.isSubscribe != null">
- is_subscribe = #{record.isSubscribe,jdbcType=CHAR},
- </if>
- <if test="record.subscriptionExtend != null">
- subscription_extend = #{record.subscriptionExtend,jdbcType=CHAR},
- </if>
- <if test="record.subscribeTime != null">
- subscribe_time = #{record.subscribeTime,jdbcType=INTEGER},
- </if>
- <if test="record.bookCategoryIds != null">
- book_category_ids = #{record.bookCategoryIds,jdbcType=VARCHAR},
- </if>
- <if test="record.operateTime != null">
- operate_time = #{record.operateTime,jdbcType=INTEGER},
- </if>
- <if test="record.isPay != null">
- is_pay = #{record.isPay,jdbcType=CHAR},
- </if>
- <if test="record.kandian != null">
- kandian = #{record.kandian,jdbcType=INTEGER},
- </if>
- <if test="record.freeKandian != null">
- free_kandian = #{record.freeKandian,jdbcType=INTEGER},
- </if>
- <if test="record.vipEndtime != null">
- vip_endtime = #{record.vipEndtime,jdbcType=INTEGER},
- </if>
- <if test="record.registerIp != null">
- register_ip = #{record.registerIp,jdbcType=VARCHAR},
- </if>
- <if test="record.country != null">
- country = #{record.country,jdbcType=VARCHAR},
- </if>
- <if test="record.area != null">
- area = #{record.area,jdbcType=VARCHAR},
- </if>
- <if test="record.province != null">
- province = #{record.province,jdbcType=VARCHAR},
- </if>
- <if test="record.city != null">
- city = #{record.city,jdbcType=VARCHAR},
- </if>
- <if test="record.isp != null">
- isp = #{record.isp,jdbcType=VARCHAR},
- </if>
- <if test="record.channelId != null">
- channel_id = #{record.channelId,jdbcType=INTEGER},
- </if>
- <if test="record.state != null">
- state = #{record.state,jdbcType=CHAR},
- </if>
- <if test="record.createtime != null">
- createtime = #{record.createtime,jdbcType=INTEGER},
- </if>
- <if test="record.updatetime != null">
- updatetime = #{record.updatetime,jdbcType=INTEGER},
- </if>
- </trim>
- </otherwise>
- </choose>
- <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 17 22:19:18 CST 2021.
- -->
- update user
- set id = #{record.id,jdbcType=BIGINT},
- openid = #{record.openid,jdbcType=VARCHAR},
- unionid = #{record.unionid,jdbcType=VARCHAR},
- visitor = #{record.visitor,jdbcType=VARCHAR},
- nickname = #{record.nickname,jdbcType=VARCHAR},
- sex = #{record.sex,jdbcType=CHAR},
- mobile = #{record.mobile,jdbcType=CHAR},
- avatar = #{record.avatar,jdbcType=VARCHAR},
- is_subscribe = #{record.isSubscribe,jdbcType=CHAR},
- subscription_extend = #{record.subscriptionExtend,jdbcType=CHAR},
- subscribe_time = #{record.subscribeTime,jdbcType=INTEGER},
- book_category_ids = #{record.bookCategoryIds,jdbcType=VARCHAR},
- operate_time = #{record.operateTime,jdbcType=INTEGER},
- is_pay = #{record.isPay,jdbcType=CHAR},
- kandian = #{record.kandian,jdbcType=INTEGER},
- free_kandian = #{record.freeKandian,jdbcType=INTEGER},
- vip_endtime = #{record.vipEndtime,jdbcType=INTEGER},
- register_ip = #{record.registerIp,jdbcType=VARCHAR},
- country = #{record.country,jdbcType=VARCHAR},
- area = #{record.area,jdbcType=VARCHAR},
- province = #{record.province,jdbcType=VARCHAR},
- city = #{record.city,jdbcType=VARCHAR},
- isp = #{record.isp,jdbcType=VARCHAR},
- channel_id = #{record.channelId,jdbcType=INTEGER},
- state = #{record.state,jdbcType=CHAR},
- createtime = #{record.createtime,jdbcType=INTEGER},
- updatetime = #{record.updatetime,jdbcType=INTEGER}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="map">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- update user
- SET
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach collection="selective" item="column" separator=",">
- ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
- </foreach>
- </when>
- <otherwise>
- <trim suffixOverrides=",">
- <if test="record.openid != null">
- openid = #{record.openid,jdbcType=VARCHAR},
- </if>
- <if test="record.unionid != null">
- unionid = #{record.unionid,jdbcType=VARCHAR},
- </if>
- <if test="record.visitor != null">
- visitor = #{record.visitor,jdbcType=VARCHAR},
- </if>
- <if test="record.nickname != null">
- nickname = #{record.nickname,jdbcType=VARCHAR},
- </if>
- <if test="record.sex != null">
- sex = #{record.sex,jdbcType=CHAR},
- </if>
- <if test="record.mobile != null">
- mobile = #{record.mobile,jdbcType=CHAR},
- </if>
- <if test="record.avatar != null">
- avatar = #{record.avatar,jdbcType=VARCHAR},
- </if>
- <if test="record.isSubscribe != null">
- is_subscribe = #{record.isSubscribe,jdbcType=CHAR},
- </if>
- <if test="record.subscriptionExtend != null">
- subscription_extend = #{record.subscriptionExtend,jdbcType=CHAR},
- </if>
- <if test="record.subscribeTime != null">
- subscribe_time = #{record.subscribeTime,jdbcType=INTEGER},
- </if>
- <if test="record.bookCategoryIds != null">
- book_category_ids = #{record.bookCategoryIds,jdbcType=VARCHAR},
- </if>
- <if test="record.operateTime != null">
- operate_time = #{record.operateTime,jdbcType=INTEGER},
- </if>
- <if test="record.isPay != null">
- is_pay = #{record.isPay,jdbcType=CHAR},
- </if>
- <if test="record.kandian != null">
- kandian = #{record.kandian,jdbcType=INTEGER},
- </if>
- <if test="record.freeKandian != null">
- free_kandian = #{record.freeKandian,jdbcType=INTEGER},
- </if>
- <if test="record.vipEndtime != null">
- vip_endtime = #{record.vipEndtime,jdbcType=INTEGER},
- </if>
- <if test="record.registerIp != null">
- register_ip = #{record.registerIp,jdbcType=VARCHAR},
- </if>
- <if test="record.country != null">
- country = #{record.country,jdbcType=VARCHAR},
- </if>
- <if test="record.area != null">
- area = #{record.area,jdbcType=VARCHAR},
- </if>
- <if test="record.province != null">
- province = #{record.province,jdbcType=VARCHAR},
- </if>
- <if test="record.city != null">
- city = #{record.city,jdbcType=VARCHAR},
- </if>
- <if test="record.isp != null">
- isp = #{record.isp,jdbcType=VARCHAR},
- </if>
- <if test="record.channelId != null">
- channel_id = #{record.channelId,jdbcType=INTEGER},
- </if>
- <if test="record.state != null">
- state = #{record.state,jdbcType=CHAR},
- </if>
- <if test="record.createtime != null">
- createtime = #{record.createtime,jdbcType=INTEGER},
- </if>
- <if test="record.updatetime != null">
- updatetime = #{record.updatetime,jdbcType=INTEGER},
- </if>
- </trim>
- </otherwise>
- </choose>
- where id = #{record.id,jdbcType=BIGINT}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.book.dao.cps.pojo.User">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- update user
- set openid = #{openid,jdbcType=VARCHAR},
- unionid = #{unionid,jdbcType=VARCHAR},
- visitor = #{visitor,jdbcType=VARCHAR},
- nickname = #{nickname,jdbcType=VARCHAR},
- sex = #{sex,jdbcType=CHAR},
- mobile = #{mobile,jdbcType=CHAR},
- avatar = #{avatar,jdbcType=VARCHAR},
- is_subscribe = #{isSubscribe,jdbcType=CHAR},
- subscription_extend = #{subscriptionExtend,jdbcType=CHAR},
- subscribe_time = #{subscribeTime,jdbcType=INTEGER},
- book_category_ids = #{bookCategoryIds,jdbcType=VARCHAR},
- operate_time = #{operateTime,jdbcType=INTEGER},
- is_pay = #{isPay,jdbcType=CHAR},
- kandian = #{kandian,jdbcType=INTEGER},
- free_kandian = #{freeKandian,jdbcType=INTEGER},
- vip_endtime = #{vipEndtime,jdbcType=INTEGER},
- register_ip = #{registerIp,jdbcType=VARCHAR},
- country = #{country,jdbcType=VARCHAR},
- area = #{area,jdbcType=VARCHAR},
- province = #{province,jdbcType=VARCHAR},
- city = #{city,jdbcType=VARCHAR},
- isp = #{isp,jdbcType=VARCHAR},
- channel_id = #{channelId,jdbcType=INTEGER},
- state = #{state,jdbcType=CHAR},
- createtime = #{createtime,jdbcType=INTEGER},
- updatetime = #{updatetime,jdbcType=INTEGER}
- where id = #{id,jdbcType=BIGINT}
- </update>
- <select id="selectOneByExample" parameterType="com.book.dao.cps.pojo.example.UserExample" resultMap="BaseResultMap">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- select
- <include refid="Base_Column_List" />
- from user
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- limit 1
- </select>
- <select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- select
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach collection="selective" item="column" separator=",">
- ${column.aliasedEscapedColumnName}
- </foreach>
- </when>
- <otherwise>
- <include refid="Base_Column_List" />
- </otherwise>
- </choose>
- from user
- <if test="example != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- <if test="example != null and example.orderByClause != null">
- order by ${example.orderByClause}
- </if>
- limit 1
- </select>
- <insert id="batchInsert" parameterType="map">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- insert into user
- (id, openid, unionid, visitor, nickname, sex, mobile, avatar, is_subscribe, subscription_extend,
- subscribe_time, book_category_ids, operate_time, is_pay, kandian, free_kandian,
- vip_endtime, register_ip, country, area, province, city, isp, channel_id, state,
- createtime, updatetime)
- values
- <foreach collection="list" item="item" separator=",">
- (#{item.id,jdbcType=BIGINT}, #{item.openid,jdbcType=VARCHAR}, #{item.unionid,jdbcType=VARCHAR},
- #{item.visitor,jdbcType=VARCHAR}, #{item.nickname,jdbcType=VARCHAR}, #{item.sex,jdbcType=CHAR},
- #{item.mobile,jdbcType=CHAR}, #{item.avatar,jdbcType=VARCHAR}, #{item.isSubscribe,jdbcType=CHAR},
- #{item.subscriptionExtend,jdbcType=CHAR}, #{item.subscribeTime,jdbcType=INTEGER},
- #{item.bookCategoryIds,jdbcType=VARCHAR}, #{item.operateTime,jdbcType=INTEGER},
- #{item.isPay,jdbcType=CHAR}, #{item.kandian,jdbcType=INTEGER}, #{item.freeKandian,jdbcType=INTEGER},
- #{item.vipEndtime,jdbcType=INTEGER}, #{item.registerIp,jdbcType=VARCHAR}, #{item.country,jdbcType=VARCHAR},
- #{item.area,jdbcType=VARCHAR}, #{item.province,jdbcType=VARCHAR}, #{item.city,jdbcType=VARCHAR},
- #{item.isp,jdbcType=VARCHAR}, #{item.channelId,jdbcType=INTEGER}, #{item.state,jdbcType=CHAR},
- #{item.createtime,jdbcType=INTEGER}, #{item.updatetime,jdbcType=INTEGER})
- </foreach>
- </insert>
- <insert id="batchInsertSelective" parameterType="map">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- insert into user (
- <foreach collection="selective" item="column" separator=",">
- ${column.escapedColumnName}
- </foreach>
- )
- values
- <foreach collection="list" item="item" separator=",">
- (
- <foreach collection="selective" item="column" separator=",">
- <if test="'id'.toString() == column.value">
- #{item.id,jdbcType=BIGINT}
- </if>
- <if test="'openid'.toString() == column.value">
- #{item.openid,jdbcType=VARCHAR}
- </if>
- <if test="'unionid'.toString() == column.value">
- #{item.unionid,jdbcType=VARCHAR}
- </if>
- <if test="'visitor'.toString() == column.value">
- #{item.visitor,jdbcType=VARCHAR}
- </if>
- <if test="'nickname'.toString() == column.value">
- #{item.nickname,jdbcType=VARCHAR}
- </if>
- <if test="'sex'.toString() == column.value">
- #{item.sex,jdbcType=CHAR}
- </if>
- <if test="'mobile'.toString() == column.value">
- #{item.mobile,jdbcType=CHAR}
- </if>
- <if test="'avatar'.toString() == column.value">
- #{item.avatar,jdbcType=VARCHAR}
- </if>
- <if test="'is_subscribe'.toString() == column.value">
- #{item.isSubscribe,jdbcType=CHAR}
- </if>
- <if test="'subscription_extend'.toString() == column.value">
- #{item.subscriptionExtend,jdbcType=CHAR}
- </if>
- <if test="'subscribe_time'.toString() == column.value">
- #{item.subscribeTime,jdbcType=INTEGER}
- </if>
- <if test="'book_category_ids'.toString() == column.value">
- #{item.bookCategoryIds,jdbcType=VARCHAR}
- </if>
- <if test="'operate_time'.toString() == column.value">
- #{item.operateTime,jdbcType=INTEGER}
- </if>
- <if test="'is_pay'.toString() == column.value">
- #{item.isPay,jdbcType=CHAR}
- </if>
- <if test="'kandian'.toString() == column.value">
- #{item.kandian,jdbcType=INTEGER}
- </if>
- <if test="'free_kandian'.toString() == column.value">
- #{item.freeKandian,jdbcType=INTEGER}
- </if>
- <if test="'vip_endtime'.toString() == column.value">
- #{item.vipEndtime,jdbcType=INTEGER}
- </if>
- <if test="'register_ip'.toString() == column.value">
- #{item.registerIp,jdbcType=VARCHAR}
- </if>
- <if test="'country'.toString() == column.value">
- #{item.country,jdbcType=VARCHAR}
- </if>
- <if test="'area'.toString() == column.value">
- #{item.area,jdbcType=VARCHAR}
- </if>
- <if test="'province'.toString() == column.value">
- #{item.province,jdbcType=VARCHAR}
- </if>
- <if test="'city'.toString() == column.value">
- #{item.city,jdbcType=VARCHAR}
- </if>
- <if test="'isp'.toString() == column.value">
- #{item.isp,jdbcType=VARCHAR}
- </if>
- <if test="'channel_id'.toString() == column.value">
- #{item.channelId,jdbcType=INTEGER}
- </if>
- <if test="'state'.toString() == column.value">
- #{item.state,jdbcType=CHAR}
- </if>
- <if test="'createtime'.toString() == column.value">
- #{item.createtime,jdbcType=INTEGER}
- </if>
- <if test="'updatetime'.toString() == column.value">
- #{item.updatetime,jdbcType=INTEGER}
- </if>
- </foreach>
- )
- </foreach>
- </insert>
- <insert id="upsertSelective" parameterType="map">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- insert into user
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach close=")" collection="selective" item="column" open="(" separator=",">
- ${column.escapedColumnName}
- </foreach>
- </when>
- <otherwise>
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="record.id != null">
- id,
- </if>
- <if test="record.openid != null">
- openid,
- </if>
- <if test="record.unionid != null">
- unionid,
- </if>
- <if test="record.visitor != null">
- visitor,
- </if>
- <if test="record.nickname != null">
- nickname,
- </if>
- <if test="record.sex != null">
- sex,
- </if>
- <if test="record.mobile != null">
- mobile,
- </if>
- <if test="record.avatar != null">
- avatar,
- </if>
- <if test="record.isSubscribe != null">
- is_subscribe,
- </if>
- <if test="record.subscriptionExtend != null">
- subscription_extend,
- </if>
- <if test="record.subscribeTime != null">
- subscribe_time,
- </if>
- <if test="record.bookCategoryIds != null">
- book_category_ids,
- </if>
- <if test="record.operateTime != null">
- operate_time,
- </if>
- <if test="record.isPay != null">
- is_pay,
- </if>
- <if test="record.kandian != null">
- kandian,
- </if>
- <if test="record.freeKandian != null">
- free_kandian,
- </if>
- <if test="record.vipEndtime != null">
- vip_endtime,
- </if>
- <if test="record.registerIp != null">
- register_ip,
- </if>
- <if test="record.country != null">
- country,
- </if>
- <if test="record.area != null">
- area,
- </if>
- <if test="record.province != null">
- province,
- </if>
- <if test="record.city != null">
- city,
- </if>
- <if test="record.isp != null">
- isp,
- </if>
- <if test="record.channelId != null">
- channel_id,
- </if>
- <if test="record.state != null">
- state,
- </if>
- <if test="record.createtime != null">
- createtime,
- </if>
- <if test="record.updatetime != null">
- updatetime,
- </if>
- </trim>
- <trim prefix="(" suffix=")" suffixOverrides="," />
- </otherwise>
- </choose>
- values
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach close=")" collection="selective" item="column" open="(" separator=",">
- #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
- </foreach>
- </when>
- <otherwise>
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="record.id != null">
- #{record.id,jdbcType=BIGINT},
- </if>
- <if test="record.openid != null">
- #{record.openid,jdbcType=VARCHAR},
- </if>
- <if test="record.unionid != null">
- #{record.unionid,jdbcType=VARCHAR},
- </if>
- <if test="record.visitor != null">
- #{record.visitor,jdbcType=VARCHAR},
- </if>
- <if test="record.nickname != null">
- #{record.nickname,jdbcType=VARCHAR},
- </if>
- <if test="record.sex != null">
- #{record.sex,jdbcType=CHAR},
- </if>
- <if test="record.mobile != null">
- #{record.mobile,jdbcType=CHAR},
- </if>
- <if test="record.avatar != null">
- #{record.avatar,jdbcType=VARCHAR},
- </if>
- <if test="record.isSubscribe != null">
- #{record.isSubscribe,jdbcType=CHAR},
- </if>
- <if test="record.subscriptionExtend != null">
- #{record.subscriptionExtend,jdbcType=CHAR},
- </if>
- <if test="record.subscribeTime != null">
- #{record.subscribeTime,jdbcType=INTEGER},
- </if>
- <if test="record.bookCategoryIds != null">
- #{record.bookCategoryIds,jdbcType=VARCHAR},
- </if>
- <if test="record.operateTime != null">
- #{record.operateTime,jdbcType=INTEGER},
- </if>
- <if test="record.isPay != null">
- #{record.isPay,jdbcType=CHAR},
- </if>
- <if test="record.kandian != null">
- #{record.kandian,jdbcType=INTEGER},
- </if>
- <if test="record.freeKandian != null">
- #{record.freeKandian,jdbcType=INTEGER},
- </if>
- <if test="record.vipEndtime != null">
- #{record.vipEndtime,jdbcType=INTEGER},
- </if>
- <if test="record.registerIp != null">
- #{record.registerIp,jdbcType=VARCHAR},
- </if>
- <if test="record.country != null">
- #{record.country,jdbcType=VARCHAR},
- </if>
- <if test="record.area != null">
- #{record.area,jdbcType=VARCHAR},
- </if>
- <if test="record.province != null">
- #{record.province,jdbcType=VARCHAR},
- </if>
- <if test="record.city != null">
- #{record.city,jdbcType=VARCHAR},
- </if>
- <if test="record.isp != null">
- #{record.isp,jdbcType=VARCHAR},
- </if>
- <if test="record.channelId != null">
- #{record.channelId,jdbcType=INTEGER},
- </if>
- <if test="record.state != null">
- #{record.state,jdbcType=CHAR},
- </if>
- <if test="record.createtime != null">
- #{record.createtime,jdbcType=INTEGER},
- </if>
- <if test="record.updatetime != null">
- #{record.updatetime,jdbcType=INTEGER},
- </if>
- </trim>
- </otherwise>
- </choose>
- on duplicate key update
- <choose>
- <when test="selective != null and selective.length > 0">
- <foreach collection="selective" item="column" separator=",">
- ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
- </foreach>
- </when>
- <otherwise>
- <trim suffixOverrides=",">
- <if test="record.id != null">
- id = #{record.id,jdbcType=BIGINT},
- </if>
- <if test="record.openid != null">
- openid = #{record.openid,jdbcType=VARCHAR},
- </if>
- <if test="record.unionid != null">
- unionid = #{record.unionid,jdbcType=VARCHAR},
- </if>
- <if test="record.visitor != null">
- visitor = #{record.visitor,jdbcType=VARCHAR},
- </if>
- <if test="record.nickname != null">
- nickname = #{record.nickname,jdbcType=VARCHAR},
- </if>
- <if test="record.sex != null">
- sex = #{record.sex,jdbcType=CHAR},
- </if>
- <if test="record.mobile != null">
- mobile = #{record.mobile,jdbcType=CHAR},
- </if>
- <if test="record.avatar != null">
- avatar = #{record.avatar,jdbcType=VARCHAR},
- </if>
- <if test="record.isSubscribe != null">
- is_subscribe = #{record.isSubscribe,jdbcType=CHAR},
- </if>
- <if test="record.subscriptionExtend != null">
- subscription_extend = #{record.subscriptionExtend,jdbcType=CHAR},
- </if>
- <if test="record.subscribeTime != null">
- subscribe_time = #{record.subscribeTime,jdbcType=INTEGER},
- </if>
- <if test="record.bookCategoryIds != null">
- book_category_ids = #{record.bookCategoryIds,jdbcType=VARCHAR},
- </if>
- <if test="record.operateTime != null">
- operate_time = #{record.operateTime,jdbcType=INTEGER},
- </if>
- <if test="record.isPay != null">
- is_pay = #{record.isPay,jdbcType=CHAR},
- </if>
- <if test="record.kandian != null">
- kandian = #{record.kandian,jdbcType=INTEGER},
- </if>
- <if test="record.freeKandian != null">
- free_kandian = #{record.freeKandian,jdbcType=INTEGER},
- </if>
- <if test="record.vipEndtime != null">
- vip_endtime = #{record.vipEndtime,jdbcType=INTEGER},
- </if>
- <if test="record.registerIp != null">
- register_ip = #{record.registerIp,jdbcType=VARCHAR},
- </if>
- <if test="record.country != null">
- country = #{record.country,jdbcType=VARCHAR},
- </if>
- <if test="record.area != null">
- area = #{record.area,jdbcType=VARCHAR},
- </if>
- <if test="record.province != null">
- province = #{record.province,jdbcType=VARCHAR},
- </if>
- <if test="record.city != null">
- city = #{record.city,jdbcType=VARCHAR},
- </if>
- <if test="record.isp != null">
- isp = #{record.isp,jdbcType=VARCHAR},
- </if>
- <if test="record.channelId != null">
- channel_id = #{record.channelId,jdbcType=INTEGER},
- </if>
- <if test="record.state != null">
- state = #{record.state,jdbcType=CHAR},
- </if>
- <if test="record.createtime != null">
- createtime = #{record.createtime,jdbcType=INTEGER},
- </if>
- <if test="record.updatetime != null">
- updatetime = #{record.updatetime,jdbcType=INTEGER},
- </if>
- </trim>
- </otherwise>
- </choose>
- </insert>
- <insert id="upsert" parameterType="com.book.dao.cps.pojo.User">
- <!--
- WARNING - @mbg.generated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Aug 17 22:19:18 CST 2021.
- -->
- insert into user
- (id, openid, unionid, visitor, nickname, sex, mobile, avatar, is_subscribe, subscription_extend,
- subscribe_time, book_category_ids, operate_time, is_pay, kandian, free_kandian,
- vip_endtime, register_ip, country, area, province, city, isp, channel_id, state,
- createtime, updatetime)
- values
- (#{id,jdbcType=BIGINT}, #{openid,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR},
- #{visitor,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, #{sex,jdbcType=CHAR},
- #{mobile,jdbcType=CHAR}, #{avatar,jdbcType=VARCHAR}, #{isSubscribe,jdbcType=CHAR},
- #{subscriptionExtend,jdbcType=CHAR}, #{subscribeTime,jdbcType=INTEGER}, #{bookCategoryIds,jdbcType=VARCHAR},
- #{operateTime,jdbcType=INTEGER}, #{isPay,jdbcType=CHAR}, #{kandian,jdbcType=INTEGER},
- #{freeKandian,jdbcType=INTEGER}, #{vipEndtime,jdbcType=INTEGER}, #{registerIp,jdbcType=VARCHAR},
- #{country,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
- #{city,jdbcType=VARCHAR}, #{isp,jdbcType=VARCHAR}, #{channelId,jdbcType=INTEGER},
- #{state,jdbcType=CHAR}, #{createtime,jdbcType=INTEGER}, #{updatetime,jdbcType=INTEGER}
- )
- on duplicate key update
- id = #{id,jdbcType=BIGINT},
- openid = #{openid,jdbcType=VARCHAR},
- unionid = #{unionid,jdbcType=VARCHAR},
- visitor = #{visitor,jdbcType=VARCHAR},
- nickname = #{nickname,jdbcType=VARCHAR},
- sex = #{sex,jdbcType=CHAR},
- mobile = #{mobile,jdbcType=CHAR},
- avatar = #{avatar,jdbcType=VARCHAR},
- is_subscribe = #{isSubscribe,jdbcType=CHAR},
- subscription_extend = #{subscriptionExtend,jdbcType=CHAR},
- subscribe_time = #{subscribeTime,jdbcType=INTEGER},
- book_category_ids = #{bookCategoryIds,jdbcType=VARCHAR},
- operate_time = #{operateTime,jdbcType=INTEGER},
- is_pay = #{isPay,jdbcType=CHAR},
- kandian = #{kandian,jdbcType=INTEGER},
- free_kandian = #{freeKandian,jdbcType=INTEGER},
- vip_endtime = #{vipEndtime,jdbcType=INTEGER},
- register_ip = #{registerIp,jdbcType=VARCHAR},
- country = #{country,jdbcType=VARCHAR},
- area = #{area,jdbcType=VARCHAR},
- province = #{province,jdbcType=VARCHAR},
- city = #{city,jdbcType=VARCHAR},
- isp = #{isp,jdbcType=VARCHAR},
- channel_id = #{channelId,jdbcType=INTEGER},
- state = #{state,jdbcType=CHAR},
- createtime = #{createtime,jdbcType=INTEGER},
- updatetime = #{updatetime,jdbcType=INTEGER}
- </insert>
- </mapper>
|