|
@@ -23,6 +23,7 @@
|
|
<result column="area" jdbcType="VARCHAR" property="area" />
|
|
<result column="area" jdbcType="VARCHAR" property="area" />
|
|
<result column="is_sso" jdbcType="VARCHAR" property="isSso" />
|
|
<result column="is_sso" jdbcType="VARCHAR" property="isSso" />
|
|
<result column="directory_id" jdbcType="VARCHAR" property="directoryId" />
|
|
<result column="directory_id" jdbcType="VARCHAR" property="directoryId" />
|
|
|
|
+ <result column="login_time" jdbcType="TIMESTAMP" property="loginTime" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<where>
|
|
@@ -85,7 +86,7 @@
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
id, email, full_name, subscriber_type, created_at, updated_at, subscribed, digest_password,
|
|
id, email, full_name, subscriber_type, created_at, updated_at, subscribed, digest_password,
|
|
phone, valid_flag, industry, company_id, last_popularize_at, last_presented_coupon_at,
|
|
phone, valid_flag, industry, company_id, last_popularize_at, last_presented_coupon_at,
|
|
- mailable, reset_token, "role", job, area, is_sso, directory_id
|
|
|
|
|
|
+ mailable, reset_token, "role", job, area, is_sso, directory_id, login_time
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -124,16 +125,16 @@
|
|
valid_flag, industry, company_id,
|
|
valid_flag, industry, company_id,
|
|
last_popularize_at, last_presented_coupon_at,
|
|
last_popularize_at, last_presented_coupon_at,
|
|
mailable, reset_token, "role",
|
|
mailable, reset_token, "role",
|
|
- job, area, is_sso, directory_id
|
|
|
|
- )
|
|
|
|
|
|
+ job, area, is_sso, directory_id,
|
|
|
|
+ login_time)
|
|
values (#{id,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{fullName,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{fullName,jdbcType=VARCHAR},
|
|
#{subscriberType,jdbcType=INTEGER}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
#{subscriberType,jdbcType=INTEGER}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
#{subscribed,jdbcType=INTEGER}, #{digestPassword,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
#{subscribed,jdbcType=INTEGER}, #{digestPassword,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
#{validFlag,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR},
|
|
#{validFlag,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR},
|
|
#{lastPopularizeAt,jdbcType=INTEGER}, #{lastPresentedCouponAt,jdbcType=TIMESTAMP},
|
|
#{lastPopularizeAt,jdbcType=INTEGER}, #{lastPresentedCouponAt,jdbcType=TIMESTAMP},
|
|
#{mailable,jdbcType=INTEGER}, #{resetToken,jdbcType=INTEGER}, #{role,jdbcType=VARCHAR},
|
|
#{mailable,jdbcType=INTEGER}, #{resetToken,jdbcType=INTEGER}, #{role,jdbcType=VARCHAR},
|
|
- #{job,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{isSso,jdbcType=VARCHAR}, #{directoryId,jdbcType=VARCHAR}
|
|
|
|
- )
|
|
|
|
|
|
+ #{job,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{isSso,jdbcType=VARCHAR}, #{directoryId,jdbcType=VARCHAR},
|
|
|
|
+ #{loginTime,jdbcType=TIMESTAMP})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="cn.kdan.pdf.tech.core.model.VppMember">
|
|
<insert id="insertSelective" parameterType="cn.kdan.pdf.tech.core.model.VppMember">
|
|
insert into vpp_member
|
|
insert into vpp_member
|
|
@@ -201,6 +202,9 @@
|
|
<if test="directoryId != null">
|
|
<if test="directoryId != null">
|
|
directory_id,
|
|
directory_id,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="loginTime != null">
|
|
|
|
+ login_time,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -266,6 +270,9 @@
|
|
<if test="directoryId != null">
|
|
<if test="directoryId != null">
|
|
#{directoryId,jdbcType=VARCHAR},
|
|
#{directoryId,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="loginTime != null">
|
|
|
|
+ #{loginTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultType="java.lang.Long">
|
|
@@ -340,6 +347,9 @@
|
|
<if test="row.directoryId != null">
|
|
<if test="row.directoryId != null">
|
|
directory_id = #{row.directoryId,jdbcType=VARCHAR},
|
|
directory_id = #{row.directoryId,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="row.loginTime != null">
|
|
|
|
+ login_time = #{row.loginTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
<if test="example != null">
|
|
<if test="example != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -367,7 +377,8 @@
|
|
job = #{row.job,jdbcType=VARCHAR},
|
|
job = #{row.job,jdbcType=VARCHAR},
|
|
area = #{row.area,jdbcType=VARCHAR},
|
|
area = #{row.area,jdbcType=VARCHAR},
|
|
is_sso = #{row.isSso,jdbcType=VARCHAR},
|
|
is_sso = #{row.isSso,jdbcType=VARCHAR},
|
|
- directory_id = #{row.directoryId,jdbcType=VARCHAR}
|
|
|
|
|
|
+ directory_id = #{row.directoryId,jdbcType=VARCHAR},
|
|
|
|
+ login_time = #{row.loginTime,jdbcType=TIMESTAMP}
|
|
<if test="example != null">
|
|
<if test="example != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -435,6 +446,9 @@
|
|
<if test="directoryId != null">
|
|
<if test="directoryId != null">
|
|
directory_id = #{directoryId,jdbcType=VARCHAR},
|
|
directory_id = #{directoryId,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="loginTime != null">
|
|
|
|
+ login_time = #{loginTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
@@ -459,7 +473,8 @@
|
|
job = #{job,jdbcType=VARCHAR},
|
|
job = #{job,jdbcType=VARCHAR},
|
|
area = #{area,jdbcType=VARCHAR},
|
|
area = #{area,jdbcType=VARCHAR},
|
|
is_sso = #{isSso,jdbcType=VARCHAR},
|
|
is_sso = #{isSso,jdbcType=VARCHAR},
|
|
- directory_id = #{directoryId,jdbcType=VARCHAR}
|
|
|
|
|
|
+ directory_id = #{directoryId,jdbcType=VARCHAR},
|
|
|
|
+ login_time = #{loginTime,jdbcType=TIMESTAMP}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
<select id="selectByExampleWithRowbounds" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultMap="BaseResultMap">
|
|
<select id="selectByExampleWithRowbounds" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultMap="BaseResultMap">
|