|
|
@@ -10,6 +10,7 @@
|
|
|
<result column="email" jdbcType="VARCHAR" property="email"/>
|
|
|
<result column="mobile" jdbcType="VARCHAR" property="mobile"/>
|
|
|
<result column="type" jdbcType="INTEGER" property="type"/>
|
|
|
+ <result column="uu" jdbcType="BIGINT" property="uu"/>
|
|
|
<result column="enabled" jdbcType="BOOLEAN" property="enabled"/>
|
|
|
<result column="creator_id" jdbcType="BIGINT" property="creatorId"/>
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
@@ -18,14 +19,14 @@
|
|
|
</resultMap>
|
|
|
<sql id="baseColumns">
|
|
|
ac_account.id,ac_account.username,ac_account.password,ac_account.salt,ac_account.realname,ac_account.email,
|
|
|
- ac_account.mobile,ac_account.type,ac_account.enabled,ac_account.creator_id,ac_account.create_time,
|
|
|
+ ac_account.mobile,ac_account.type,ac_account.uu,ac_account.enabled,ac_account.creator_id,ac_account.create_time,
|
|
|
ac_account.updater_id,ac_account.update_time
|
|
|
</sql>
|
|
|
<insert id="insert" parameterType="com.usoftchina.saas.account.po.Account"
|
|
|
useGeneratedKeys="true" keyProperty="id">
|
|
|
- insert into ac_account(username,password,salt,realname,email,mobile,type,enabled,creator_id,create_time,updater_id,update_time)
|
|
|
+ insert into ac_account(username,password,salt,realname,email,mobile,type,uu,enabled,creator_id,create_time,updater_id,update_time)
|
|
|
values (#{username,jdbcType=VARCHAR},#{password,jdbcType=VARCHAR}, #{salt,jdbcType=VARCHAR},
|
|
|
- #{realname,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{enabled,jdbcType=BOOLEAN},
|
|
|
+ #{realname,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uu,jdbcType=BIGINT}, #{enabled,jdbcType=BOOLEAN},
|
|
|
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updaterId,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.usoftchina.saas.account.po.Account"
|
|
|
@@ -53,6 +54,9 @@
|
|
|
<if test="type != null">
|
|
|
type,
|
|
|
</if>
|
|
|
+ <if test="uu != null">
|
|
|
+ uu,
|
|
|
+ </if>
|
|
|
<if test="enabled != null">
|
|
|
enabled,
|
|
|
</if>
|
|
|
@@ -91,6 +95,9 @@
|
|
|
<if test="type != null">
|
|
|
#{type,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="uu != null">
|
|
|
+ #{uu,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="enabled != null">
|
|
|
#{enabled,jdbcType=BOOLEAN},
|
|
|
</if>
|
|
|
@@ -117,6 +124,7 @@
|
|
|
email=#{email,jdbcType=VARCHAR},
|
|
|
mobile=#{mobile,jdbcType=VARCHAR},
|
|
|
type=#{type,jdbcType=INTEGER},
|
|
|
+ uu=#{uu,jdbcType=BIGINT},
|
|
|
enabled=#{enabled,jdbcType=BOOLEAN},
|
|
|
creator_id=#{creatorId,jdbcType=BIGINT},
|
|
|
create_time=#{createTime,jdbcType=TIMESTAMP},
|
|
|
@@ -148,6 +156,9 @@
|
|
|
<if test="type != null">
|
|
|
type=#{type,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="uu != null">
|
|
|
+ uu=#{uu,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="enabled != null">
|
|
|
enabled=#{enabled,jdbcType=BOOLEAN},
|
|
|
</if>
|