|
@@ -26,6 +26,7 @@
|
|
|
<result property="currentStationName" column="current_station_name" />
|
|
|
<result property="endStationName" column="end_station_name" />
|
|
|
<result property="interval" column="interval_" />
|
|
|
+ <result property="radius" column="radius_" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.bus.modules.bus.entity.ShiftInfo">
|
|
|
<!--
|
|
@@ -36,7 +37,7 @@
|
|
|
<![CDATA[
|
|
|
insert into bus_shift_info
|
|
|
(id_,driver_id,vehicle_id,route_id,start_station_id,current_station_id,current_station_status,status_,end_station_id,create_by,create_time,update_by,update_time,del_flag,finish_time,
|
|
|
- interval_
|
|
|
+ interval_,radius_
|
|
|
)
|
|
|
values
|
|
|
(
|
|
@@ -56,6 +57,7 @@
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
,#{finishTime,jdbcType= TIMESTAMP }
|
|
|
,#{interval,jdbcType= NUMERIC }
|
|
|
+,#{radius,jdbcType= NUMERIC }
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -110,6 +112,9 @@
|
|
|
<if test="interval!=null">
|
|
|
interval_=#{interval,jdbcType= NUMERIC },
|
|
|
</if>
|
|
|
+ <if test="radius!=null">
|
|
|
+ radius_=#{radius,jdbcType= NUMERIC },
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|