|
@@ -26,7 +26,6 @@
|
|
<result property="currentStationName" column="current_station_name" />
|
|
<result property="currentStationName" column="current_station_name" />
|
|
<result property="endStationName" column="end_station_name" />
|
|
<result property="endStationName" column="end_station_name" />
|
|
<result property="interval" column="interval_" />
|
|
<result property="interval" column="interval_" />
|
|
- <result property="radius" column="radius_" />
|
|
|
|
</resultMap>
|
|
</resultMap>
|
|
<insert id="insert" parameterType="com.jpsoft.bus.modules.bus.entity.ShiftInfo">
|
|
<insert id="insert" parameterType="com.jpsoft.bus.modules.bus.entity.ShiftInfo">
|
|
<!--
|
|
<!--
|
|
@@ -37,7 +36,7 @@
|
|
<![CDATA[
|
|
<![CDATA[
|
|
insert into bus_shift_info
|
|
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,
|
|
(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_,radius_
|
|
|
|
|
|
+ interval_
|
|
)
|
|
)
|
|
values
|
|
values
|
|
(
|
|
(
|
|
@@ -57,7 +56,6 @@
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
,#{finishTime,jdbcType= TIMESTAMP }
|
|
,#{finishTime,jdbcType= TIMESTAMP }
|
|
,#{interval,jdbcType= NUMERIC }
|
|
,#{interval,jdbcType= NUMERIC }
|
|
-,#{radius,jdbcType= NUMERIC }
|
|
|
|
)
|
|
)
|
|
]]>
|
|
]]>
|
|
</insert>
|
|
</insert>
|
|
@@ -112,9 +110,6 @@
|
|
<if test="interval!=null">
|
|
<if test="interval!=null">
|
|
interval_=#{interval,jdbcType= NUMERIC },
|
|
interval_=#{interval,jdbcType= NUMERIC },
|
|
</if>
|
|
</if>
|
|
- <if test="radius!=null">
|
|
|
|
- radius_=#{radius,jdbcType= NUMERIC },
|
|
|
|
- </if>
|
|
|
|
</set>
|
|
</set>
|
|
where id_=#{id}
|
|
where id_=#{id}
|
|
</update>
|
|
</update>
|