|
|
@@ -392,6 +392,9 @@
|
|
|
<if test="photoUrl != null">
|
|
|
photo_url,
|
|
|
</if>
|
|
|
+ <if test="duration != null">
|
|
|
+ duration,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -445,6 +448,9 @@
|
|
|
<if test="photoUrl != null">
|
|
|
#{photoUrl,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
+ <if test="duration != null">
|
|
|
+ #{duration,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<selectKey keyProperty="id" order="AFTER" resultType="int">
|
|
|
SELECT LAST_INSERT_ID()
|