|
@@ -25,7 +25,6 @@
|
|
|
<result property="startStationName" column="start_station_name" />
|
|
|
<result property="currentStationName" column="current_station_name" />
|
|
|
<result property="endStationName" column="end_station_name" />
|
|
|
- <result property="interval" column="interval_" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.bus.modules.bus.entity.ShiftInfo">
|
|
|
<!--
|
|
@@ -35,8 +34,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_
|
|
|
+ (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
|
|
|
)
|
|
|
values
|
|
|
(
|
|
@@ -55,7 +53,6 @@
|
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
,#{finishTime,jdbcType= TIMESTAMP }
|
|
|
-,#{interval,jdbcType= NUMERIC }
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -107,9 +104,6 @@
|
|
|
<if test="finishTime!=null">
|
|
|
finish_time=#{finishTime,jdbcType= TIMESTAMP },
|
|
|
</if>
|
|
|
- <if test="interval!=null">
|
|
|
- interval_=#{interval,jdbcType= NUMERIC },
|
|
|
- </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|