|
@@ -20,6 +20,7 @@
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="isShow" column="is_show" />
|
|
|
<result property="status" column="status_" />
|
|
|
+ <result property="image" column="image_" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.making_friends.entity.base.ActivityInfo">
|
|
|
<!--
|
|
@@ -30,7 +31,7 @@
|
|
|
<![CDATA[
|
|
|
insert into base_activity_info
|
|
|
(id_,title_,address_,start_time,end_time,activity_start_time,activity_end_time,introduction_,remark,create_time,update_time,del_flag,create_by,update_by,
|
|
|
- is_show,status_)
|
|
|
+ is_show,status_,image_)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -49,6 +50,7 @@
|
|
|
,#{updateBy,jdbcType=VARCHAR}
|
|
|
,#{isShow,jdbcType=NUMERIC}
|
|
|
,#{status,jdbcType=VARCHAR}
|
|
|
+,#{image,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -103,6 +105,9 @@
|
|
|
<if test="status!=null">
|
|
|
status_=#{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="image!=null">
|
|
|
+ image_=#{image,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|