|
|
@@ -33,6 +33,7 @@
|
|
|
<result column="keyword" property="keyword" jdbcType="VARCHAR"/>
|
|
|
<result column="power" property="power" jdbcType="VARCHAR"/>
|
|
|
<result column="area_map_info" property="areaMapInfo" jdbcType="VARCHAR"/>
|
|
|
+ <result column="ad_image" property="adImage" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<trim suffixOverrides=",">
|
|
|
@@ -93,6 +94,7 @@
|
|
|
keyword,
|
|
|
power,
|
|
|
area_map_info,
|
|
|
+ ad_image,
|
|
|
|
|
|
</trim>
|
|
|
</sql>
|
|
|
@@ -203,6 +205,9 @@
|
|
|
<if test="areaMapInfo!= null">
|
|
|
area_map_info,
|
|
|
</if>
|
|
|
+ <if test="adImage!= null">
|
|
|
+ ad_image,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -298,6 +303,9 @@
|
|
|
<if test="areaMapInfo != null">
|
|
|
#{areaMapInfo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="adImage != null">
|
|
|
+ #{adImage,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.LandMark">
|
|
|
@@ -396,6 +404,9 @@
|
|
|
<if test="areaMapInfo != null">
|
|
|
area_map_info= #{areaMapInfo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="adImage != null">
|
|
|
+ ad_image = #{adImage,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where
|
|
|
<if test="id != null and !"".equals(id)">
|