|
@@ -8,6 +8,7 @@
|
|
|
<result column="channel" jdbcType="VARCHAR" property="channel" />
|
|
|
<result column="contact_name" jdbcType="VARCHAR" property="contactName" />
|
|
|
<result column="tel_num" jdbcType="VARCHAR" property="telNum" />
|
|
|
+ <result column="price" jdbcType="DOUBLE" property="price" />
|
|
|
<result column="password" jdbcType="VARCHAR" property="password" />
|
|
|
<result column="token" jdbcType="VARCHAR" property="token" />
|
|
|
<result column="token_expire_timestamp" jdbcType="BIGINT" property="tokenExpireTimestamp" />
|
|
@@ -76,8 +77,9 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, `name`, `identity`, channel, contact_name, tel_num, `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
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccountExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -115,14 +117,16 @@
|
|
|
<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,
|
|
|
- `password`, token, token_expire_timestamp,
|
|
|
- `status`, create_account, create_timestamp,
|
|
|
- update_account, update_timestamp)
|
|
|
+ price, `password`, token,
|
|
|
+ token_expire_timestamp, `status`, create_account,
|
|
|
+ create_timestamp, update_account, update_timestamp
|
|
|
+ )
|
|
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{identity,jdbcType=INTEGER},
|
|
|
#{channel,jdbcType=VARCHAR}, #{contactName,jdbcType=VARCHAR}, #{telNum,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})
|
|
|
+ #{price,jdbcType=DOUBLE}, #{password,jdbcType=VARCHAR}, #{token,jdbcType=VARCHAR},
|
|
|
+ #{tokenExpireTimestamp,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{createAccount,jdbcType=VARCHAR},
|
|
|
+ #{createTimestamp,jdbcType=BIGINT}, #{updateAccount,jdbcType=VARCHAR}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformAccount">
|
|
|
insert into content_platform_account
|
|
@@ -145,6 +149,9 @@
|
|
|
<if test="telNum != null">
|
|
|
tel_num,
|
|
|
</if>
|
|
|
+ <if test="price != null">
|
|
|
+ price,
|
|
|
+ </if>
|
|
|
<if test="password != null">
|
|
|
`password`,
|
|
|
</if>
|
|
@@ -189,6 +196,9 @@
|
|
|
<if test="telNum != null">
|
|
|
#{telNum,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="price != null">
|
|
|
+ #{price,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
<if test="password != null">
|
|
|
#{password,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -242,6 +252,9 @@
|
|
|
<if test="record.telNum != null">
|
|
|
tel_num = #{record.telNum,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.price != null">
|
|
|
+ price = #{record.price,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
<if test="record.password != null">
|
|
|
`password` = #{record.password,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -279,6 +292,7 @@
|
|
|
channel = #{record.channel,jdbcType=VARCHAR},
|
|
|
contact_name = #{record.contactName,jdbcType=VARCHAR},
|
|
|
tel_num = #{record.telNum,jdbcType=VARCHAR},
|
|
|
+ price = #{record.price,jdbcType=DOUBLE},
|
|
|
`password` = #{record.password,jdbcType=VARCHAR},
|
|
|
token = #{record.token,jdbcType=VARCHAR},
|
|
|
token_expire_timestamp = #{record.tokenExpireTimestamp,jdbcType=BIGINT},
|
|
@@ -309,6 +323,9 @@
|
|
|
<if test="telNum != null">
|
|
|
tel_num = #{telNum,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="price != null">
|
|
|
+ price = #{price,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
<if test="password != null">
|
|
|
`password` = #{password,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -343,6 +360,7 @@
|
|
|
channel = #{channel,jdbcType=VARCHAR},
|
|
|
contact_name = #{contactName,jdbcType=VARCHAR},
|
|
|
tel_num = #{telNum,jdbcType=VARCHAR},
|
|
|
+ price = #{price,jdbcType=DOUBLE},
|
|
|
`password` = #{password,jdbcType=VARCHAR},
|
|
|
token = #{token,jdbcType=VARCHAR},
|
|
|
token_expire_timestamp = #{tokenExpireTimestamp,jdbcType=BIGINT},
|