|
|
@@ -35,6 +35,7 @@
|
|
|
<result column="area_map_info" property="areaMapInfo" jdbcType="VARCHAR"/>
|
|
|
<result column="ad_image" property="adImage" jdbcType="VARCHAR"/>
|
|
|
<result column="map_angle" property="mapAngle" jdbcType="VARCHAR"/>
|
|
|
+ <result column="add_step" property="addStep" jdbcType="INTEGER"/>
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<trim suffixOverrides=",">
|
|
|
@@ -97,6 +98,7 @@
|
|
|
area_map_info,
|
|
|
ad_image,
|
|
|
map_angle,
|
|
|
+ add_step,
|
|
|
|
|
|
</trim>
|
|
|
</sql>
|
|
|
@@ -213,6 +215,9 @@
|
|
|
<if test="mapAngle!= null">
|
|
|
map_angle,
|
|
|
</if>
|
|
|
+ <if test="addStep!= null">
|
|
|
+ add_step,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -314,6 +319,9 @@
|
|
|
<if test="mapAngle != null">
|
|
|
#{mapAngle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="addStep != null">
|
|
|
+ #{addStep},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.LandMark">
|
|
|
@@ -418,6 +426,9 @@
|
|
|
<if test="mapAngle != null">
|
|
|
map_angle = #{mapAngle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="addStep != null">
|
|
|
+ add_step= #{addStep,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where
|
|
|
<if test="id != null and !"".equals(id)">
|
|
|
@@ -528,6 +539,9 @@
|
|
|
<if test="areaMapInfo != null and !"".equals(areaMapInfo)">
|
|
|
and area_map_info = #{areaMapInfo}
|
|
|
</if>
|
|
|
+ <if test="addStep != null and !"".equals(addStep)">
|
|
|
+ and add_step = #{addStep}
|
|
|
+ </if>
|
|
|
<if test="frontLevelId != null and !"".equals(frontLevelId)">
|
|
|
|
|
|
and (front_level_id = #{frontLevelId}
|
|
|
@@ -715,6 +729,9 @@
|
|
|
<if test="record.areaMapInfo != null and !"".equals(record.areaMapInfo)">
|
|
|
and area_map_info = #{record.areaMapInfo}
|
|
|
</if>
|
|
|
+ <if test="record.addStep != null and !"".equals(record.addStep)">
|
|
|
+ and add_step = #{record.addStep}
|
|
|
+ </if>
|
|
|
<if test="record.frontLevelId != null and !"".equals(record.frontLevelId)">
|
|
|
|
|
|
and (front_level_id = #{record.frontLevelId}
|
|
|
@@ -920,6 +937,9 @@
|
|
|
<if test="record.areaMapInfo != null and !"".equals(record.areaMapInfo)">
|
|
|
and area_map_info = #{record.areaMapInfo}
|
|
|
</if>
|
|
|
+ <if test="record.addStep != null and !"".equals(record.addStep)">
|
|
|
+ and add_step = #{record.addStep}
|
|
|
+ </if>
|
|
|
<if test="record.frontLevelId != null and !"".equals(record.frontLevelId)">
|
|
|
|
|
|
and (front_level_id = #{record.frontLevelId}
|
|
|
@@ -1125,6 +1145,9 @@
|
|
|
<if test="areaMapInfo != null and !"".equals(areaMapInfo)">
|
|
|
and area_map_info = #{areaMapInfo}
|
|
|
</if>
|
|
|
+ <if test="addStep != null and !"".equals(addStep)">
|
|
|
+ and add_step = #{addStep}
|
|
|
+ </if>
|
|
|
<if test="frontLevelId != null and !"".equals(frontLevelId)">
|
|
|
|
|
|
and (front_level_id = #{frontLevelId}
|
|
|
@@ -1312,6 +1335,10 @@
|
|
|
and area_map_info = #{areaMapInfo}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="addStep != null and !"".equals(addStep)">
|
|
|
+ and add_step = #{addStep}
|
|
|
+ </if>
|
|
|
+
|
|
|
</where>
|
|
|
LIMIT 1
|
|
|
</select>
|
|
|
@@ -1417,6 +1444,10 @@
|
|
|
and area_map_info = #{areaMapInfo}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="addStep != null and !"".equals(addStep)">
|
|
|
+ and add_step = #{addStep}
|
|
|
+ </if>
|
|
|
+
|
|
|
</where>
|
|
|
LIMIT 1
|
|
|
</select>
|