|
@@ -11,6 +11,8 @@
|
|
<result property="centerLng" column="center_lng"/>
|
|
<result property="centerLng" column="center_lng"/>
|
|
<result property="centerLat" column="center_lat"/>
|
|
<result property="centerLat" column="center_lat"/>
|
|
<result property="fenceType" column="fence_type"/>
|
|
<result property="fenceType" column="fence_type"/>
|
|
|
|
+ <result property="locationId" column="location_id"/>
|
|
|
|
+ <result property="altitude" column="altitude"/>
|
|
<result property="updateTime" column="update_time"/>
|
|
<result property="updateTime" column="update_time"/>
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="createBy" column="create_by"/>
|
|
@@ -24,6 +26,8 @@
|
|
center_lng,
|
|
center_lng,
|
|
center_lat,
|
|
center_lat,
|
|
fence_type,
|
|
fence_type,
|
|
|
|
+ location_id,
|
|
|
|
+ altitude,
|
|
update_time,
|
|
update_time,
|
|
create_time,
|
|
create_time,
|
|
create_by,
|
|
create_by,
|
|
@@ -38,6 +42,7 @@
|
|
'%')
|
|
'%')
|
|
</if>
|
|
</if>
|
|
<if test="fenceType != null and fenceType != ''">and fence_type = #{fenceType}</if>
|
|
<if test="fenceType != null and fenceType != ''">and fence_type = #{fenceType}</if>
|
|
|
|
+ <if test="locationId != null ">and location_id = #{locationId}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -54,6 +59,8 @@
|
|
<if test="centerLng != null">center_lng,</if>
|
|
<if test="centerLng != null">center_lng,</if>
|
|
<if test="centerLat != null">center_lat,</if>
|
|
<if test="centerLat != null">center_lat,</if>
|
|
<if test="fenceType !=null">fence_type,</if>
|
|
<if test="fenceType !=null">fence_type,</if>
|
|
|
|
+ <if test="locationId !=null">location_id,</if>
|
|
|
|
+ <if test="altitude != null">altitude,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -65,6 +72,8 @@
|
|
<if test="centerLng != null">#{centerLng},</if>
|
|
<if test="centerLng != null">#{centerLng},</if>
|
|
<if test="centerLat != null">#{centerLat},</if>
|
|
<if test="centerLat != null">#{centerLat},</if>
|
|
<if test="fenceType != null">#{fenceType},</if>
|
|
<if test="fenceType != null">#{fenceType},</if>
|
|
|
|
+ <if test="locationId != null">#{locationId},</if>
|
|
|
|
+ <if test="altitude != null">#{altitude},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -80,6 +89,8 @@
|
|
<if test="centerLng != null">center_lng = #{centerLng},</if>
|
|
<if test="centerLng != null">center_lng = #{centerLng},</if>
|
|
<if test="centerLat != null">center_lat = #{centerLat},</if>
|
|
<if test="centerLat != null">center_lat = #{centerLat},</if>
|
|
<if test="fenceType != null">fence_type = #{fenceType},</if>
|
|
<if test="fenceType != null">fence_type = #{fenceType},</if>
|
|
|
|
+ <if test="locationId != null">location_id = #{locationId},</if>
|
|
|
|
+ <if test="altitude != null">altitude = #{altitude},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|