|
|
@@ -5,9 +5,10 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
- <id column="uuid" jdbcType="VARCHAR" property="uuid" />
|
|
|
+ <id column="id" jdbcType="INTEGER" property="id" />
|
|
|
+ <result column="uuid" jdbcType="VARCHAR" property="uuid" />
|
|
|
<result column="registration_id" jdbcType="VARCHAR" property="registrationId" />
|
|
|
<result column="uid" jdbcType="VARCHAR" property="uid" />
|
|
|
<result column="tag" jdbcType="VARCHAR" property="tag" />
|
|
|
@@ -20,7 +21,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
@@ -54,7 +55,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
@@ -88,15 +89,15 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
- uuid, registration_id, uid, tag, group_id, last_login_time, easemob_name, easemob_pass
|
|
|
+ id, uuid, registration_id, uid, tag, group_id, last_login_time, easemob_name, easemob_pass
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
|
@@ -111,31 +112,31 @@
|
|
|
order by ${orderByClause}
|
|
|
</if>
|
|
|
</select>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
+ <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 Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from jpush_easemob_account
|
|
|
- where uuid = #{uuid,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
</select>
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
+ <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 Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
delete from jpush_easemob_account
|
|
|
- where uuid = #{uuid,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
<delete id="deleteByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
delete from jpush_easemob_account
|
|
|
<if test="_parameter != null">
|
|
|
@@ -146,23 +147,28 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
- insert into jpush_easemob_account (uuid, registration_id, uid,
|
|
|
- tag, group_id, last_login_time,
|
|
|
- easemob_name, easemob_pass)
|
|
|
- values (#{uuid,jdbcType=VARCHAR}, #{registrationId,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR},
|
|
|
- #{tag,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{lastLoginTime,jdbcType=TIMESTAMP},
|
|
|
- #{easemobName,jdbcType=VARCHAR}, #{easemobPass,jdbcType=VARCHAR})
|
|
|
+ insert into jpush_easemob_account (id, uuid, registration_id,
|
|
|
+ uid, tag, group_id,
|
|
|
+ last_login_time, easemob_name, easemob_pass
|
|
|
+ )
|
|
|
+ values (#{id,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{registrationId,jdbcType=VARCHAR},
|
|
|
+ #{uid,jdbcType=VARCHAR}, #{tag,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR},
|
|
|
+ #{lastLoginTime,jdbcType=TIMESTAMP}, #{easemobName,jdbcType=VARCHAR}, #{easemobPass,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.JpushEasemobAccount">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
insert into jpush_easemob_account
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
<if test="uuid != null">
|
|
|
uuid,
|
|
|
</if>
|
|
|
@@ -189,6 +195,9 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="uuid != null">
|
|
|
#{uuid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -219,7 +228,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
select count(*) from jpush_easemob_account
|
|
|
<if test="_parameter != null">
|
|
|
@@ -230,10 +239,13 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
update jpush_easemob_account
|
|
|
<set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ id = #{record.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.uuid != null">
|
|
|
uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -267,10 +279,11 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
update jpush_easemob_account
|
|
|
- set uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
|
+ set id = #{record.id,jdbcType=INTEGER},
|
|
|
+ uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
|
registration_id = #{record.registrationId,jdbcType=VARCHAR},
|
|
|
uid = #{record.uid,jdbcType=VARCHAR},
|
|
|
tag = #{record.tag,jdbcType=VARCHAR},
|
|
|
@@ -286,10 +299,13 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
update jpush_easemob_account
|
|
|
<set>
|
|
|
+ <if test="uuid != null">
|
|
|
+ uuid = #{uuid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="registrationId != null">
|
|
|
registration_id = #{registrationId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -312,23 +328,24 @@
|
|
|
easemob_pass = #{easemobPass,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
- where uuid = #{uuid,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.JpushEasemobAccount">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Dec 21 08:23:35 CST 2017.
|
|
|
+ This element was generated on Mon Dec 25 14:46:37 CST 2017.
|
|
|
-->
|
|
|
update jpush_easemob_account
|
|
|
- set registration_id = #{registrationId,jdbcType=VARCHAR},
|
|
|
+ set uuid = #{uuid,jdbcType=VARCHAR},
|
|
|
+ registration_id = #{registrationId,jdbcType=VARCHAR},
|
|
|
uid = #{uid,jdbcType=VARCHAR},
|
|
|
tag = #{tag,jdbcType=VARCHAR},
|
|
|
group_id = #{groupId,jdbcType=VARCHAR},
|
|
|
last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP},
|
|
|
easemob_name = #{easemobName,jdbcType=VARCHAR},
|
|
|
easemob_pass = #{easemobPass,jdbcType=VARCHAR}
|
|
|
- where uuid = #{uuid,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<select id="selectSynAccByUid" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
select
|