|
|
@@ -36,6 +36,9 @@
|
|
|
<result column="ad_image" property="adImage" jdbcType="VARCHAR"/>
|
|
|
<result column="map_angle" property="mapAngle" jdbcType="VARCHAR"/>
|
|
|
<result column="add_step" property="addStep" jdbcType="INTEGER"/>
|
|
|
+ <result column="mark_level" property="markLevel" jdbcType="VARCHAR"/>
|
|
|
+ <result column="mark_price" property="markPrice" jdbcType="VARCHAR"/>
|
|
|
+ <result column="bus_route" property="busRoute" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<trim suffixOverrides=",">
|
|
|
@@ -99,6 +102,9 @@
|
|
|
ad_image,
|
|
|
map_angle,
|
|
|
add_step,
|
|
|
+ mark_level,
|
|
|
+ mark_price,
|
|
|
+ bus_route,
|
|
|
|
|
|
</trim>
|
|
|
</sql>
|
|
|
@@ -218,6 +224,15 @@
|
|
|
<if test="addStep!= null">
|
|
|
add_step,
|
|
|
</if>
|
|
|
+ <if test="markLevel!= null">
|
|
|
+ mark_level,
|
|
|
+ </if>
|
|
|
+ <if test="markPrice!= null">
|
|
|
+ mark_price,
|
|
|
+ </if>
|
|
|
+ <if test="busRoute!= null">
|
|
|
+ bus_route,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -322,6 +337,15 @@
|
|
|
<if test="addStep != null">
|
|
|
#{addStep},
|
|
|
</if>
|
|
|
+ <if test="markLevel != null">
|
|
|
+ #{markLevel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="markPrice != null">
|
|
|
+ #{markPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="busRoute != null">
|
|
|
+ #{busRoute,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.LandMark">
|
|
|
@@ -429,6 +453,15 @@
|
|
|
<if test="addStep != null">
|
|
|
add_step= #{addStep,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="markLevel != null">
|
|
|
+ mark_level = #{markLevel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="markPrice != null">
|
|
|
+ mark_price = #{markPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="busRoute != null">
|
|
|
+ bus_route = #{busRoute,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where
|
|
|
<if test="id != null and !"".equals(id)">
|