|
@@ -17,6 +17,7 @@
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_account" jdbcType="VARCHAR" property="updateAccount" />
|
|
<result column="update_account" jdbcType="VARCHAR" property="updateAccount" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
|
|
|
+ <result column="layer_type" jdbcType="VARCHAR" property="layerType" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
<where>
|
|
@@ -77,9 +78,9 @@
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
- id, `name`, `identity`, channel, contact_name, tel_num, price, `password`, token,
|
|
|
|
|
- token_expire_timestamp, `status`, create_account, create_timestamp, update_account,
|
|
|
|
|
- update_timestamp
|
|
|
|
|
|
|
+ id, `name`, `identity`, channel, contact_name, tel_num, price, `password`, token,
|
|
|
|
|
+ token_expire_timestamp, `status`, create_account, create_timestamp, update_account,
|
|
|
|
|
+ update_timestamp, layer_type
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccountExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccountExample" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
@@ -115,17 +116,19 @@
|
|
|
</if>
|
|
</if>
|
|
|
</delete>
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccount">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccount">
|
|
|
- insert into content_platform_account (id, `name`, `identity`,
|
|
|
|
|
- channel, contact_name, tel_num,
|
|
|
|
|
- price, `password`, token,
|
|
|
|
|
- token_expire_timestamp, `status`, create_account,
|
|
|
|
|
- create_timestamp, update_account, update_timestamp
|
|
|
|
|
|
|
+ insert into content_platform_account (id, `name`, `identity`,
|
|
|
|
|
+ channel, contact_name, tel_num,
|
|
|
|
|
+ price, `password`, token,
|
|
|
|
|
+ token_expire_timestamp, `status`, create_account,
|
|
|
|
|
+ create_timestamp, update_account, update_timestamp,
|
|
|
|
|
+ layer_type
|
|
|
)
|
|
)
|
|
|
- values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{identity,jdbcType=INTEGER},
|
|
|
|
|
- #{channel,jdbcType=VARCHAR}, #{contactName,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR},
|
|
|
|
|
- #{price,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{token,jdbcType=VARCHAR},
|
|
|
|
|
- #{tokenExpireTimestamp,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{createAccount,jdbcType=VARCHAR},
|
|
|
|
|
- #{createTimestamp,jdbcType=BIGINT}, #{updateAccount,jdbcType=VARCHAR}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
|
|
|
|
+ values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{identity,jdbcType=INTEGER},
|
|
|
|
|
+ #{channel,jdbcType=VARCHAR}, #{contactName,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR},
|
|
|
|
|
+ #{price,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{token,jdbcType=VARCHAR},
|
|
|
|
|
+ #{tokenExpireTimestamp,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{createAccount,jdbcType=VARCHAR},
|
|
|
|
|
+ #{createTimestamp,jdbcType=BIGINT}, #{updateAccount,jdbcType=VARCHAR}, #{updateTimestamp,jdbcType=BIGINT},
|
|
|
|
|
+ #{layerType,jdbcType=VARCHAR}
|
|
|
)
|
|
)
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccount">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccount">
|
|
@@ -176,6 +179,9 @@
|
|
|
<if test="updateTimestamp != null">
|
|
<if test="updateTimestamp != null">
|
|
|
update_timestamp,
|
|
update_timestamp,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="layerType != null">
|
|
|
|
|
+ layer_type,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -223,6 +229,9 @@
|
|
|
<if test="updateTimestamp != null">
|
|
<if test="updateTimestamp != null">
|
|
|
#{updateTimestamp,jdbcType=BIGINT},
|
|
#{updateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="layerType != null">
|
|
|
|
|
+ #{layerType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccountExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccountExample" resultType="java.lang.Long">
|
|
@@ -279,6 +288,9 @@
|
|
|
<if test="record.updateTimestamp != null">
|
|
<if test="record.updateTimestamp != null">
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.layerType != null">
|
|
|
|
|
+ layer_type = #{record.layerType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -300,7 +312,8 @@
|
|
|
create_account = #{record.createAccount,jdbcType=VARCHAR},
|
|
create_account = #{record.createAccount,jdbcType=VARCHAR},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_account = #{record.updateAccount,jdbcType=VARCHAR},
|
|
update_account = #{record.updateAccount,jdbcType=VARCHAR},
|
|
|
- update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
|
|
|
|
|
|
|
+ update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
|
|
|
+ layer_type = #{record.layerType,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -350,6 +363,9 @@
|
|
|
<if test="updateTimestamp != null">
|
|
<if test="updateTimestamp != null">
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="layerType != null">
|
|
|
|
|
+ layer_type = #{layerType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -368,7 +384,8 @@
|
|
|
create_account = #{createAccount,jdbcType=VARCHAR},
|
|
create_account = #{createAccount,jdbcType=VARCHAR},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_account = #{updateAccount,jdbcType=VARCHAR},
|
|
update_account = #{updateAccount,jdbcType=VARCHAR},
|
|
|
- update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|
|
|
|
|
|
|
+ update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
|
|
|
+ layer_type = #{layerType,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|