|
|
@ -76,6 +76,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="deleterUserId != null">DeleterUserId,</if> |
|
|
|
<if test="deletionTime != null">DeletionTime,</if> |
|
|
|
CreationTime, |
|
|
|
<if test="startTime != null">start_time,</if> |
|
|
|
<if test="clearArriveTime != null">clear_arrive_time,</if> |
|
|
|
<if test="clearEndTime != null">clear_end_time,</if> |
|
|
|
<if test="car != null">car,</if> |
|
|
|
<if test="bus != null">bus,</if> |
|
|
|
<if test="truck != null">truck,</if> |
|
|
|
<if test="heavyTruck != null">heavy_truck,</if> |
|
|
|
<if test="congestionAhead != null">congestion_ahead,</if> |
|
|
|
<if test="trafficJam != null">traffic_jam,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="fusionId != null">#{fusionId},</if> |
|
|
@ -117,7 +126,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="isDeleted != null">#{isDeleted},</if> |
|
|
|
<if test="deleterUserId != null">#{deleterUserId},</if> |
|
|
|
<if test="deletionTime != null">#{deletionTime},</if> |
|
|
|
now() |
|
|
|
now(), |
|
|
|
<if test="startTime != null">#{startTime},</if> |
|
|
|
<if test="clearArriveTime != null">#{clearArriveTime},</if> |
|
|
|
<if test="clearEndTime != null">#{clearEndTime},</if> |
|
|
|
<if test="car != null">#{car},</if> |
|
|
|
<if test="bus != null">#{bus},</if> |
|
|
|
<if test="truck != null">#{truck},</if> |
|
|
|
<if test="heavyTruck != null">#{heavyTruck},</if> |
|
|
|
<if test="congestionAhead != null">#{congestionAhead},</if> |
|
|
|
<if test="trafficJam != null">#{trafficJam},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
@ -284,6 +302,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="mdEvent.deleterUserId != null">DeleterUserId,</if> |
|
|
|
<if test="mdEvent.deletionTime != null">DeletionTime,</if> |
|
|
|
CreationTime, |
|
|
|
<if test="mdEvent。startTime != null">start_time,</if> |
|
|
|
<if test="mdEvent.clearArriveTime != null">clear_arrive_time,</if> |
|
|
|
<if test="mdEvent.clearEndTime != null">clear_end_time,</if> |
|
|
|
<if test="mdEvent.car != null">car,</if> |
|
|
|
<if test="mdEvent.bus != null">bus,</if> |
|
|
|
<if test="mdEvent.truck != null">truck,</if> |
|
|
|
<if test="mdEvent.heavyTruck != null">heavy_truck,</if> |
|
|
|
<if test="mdEvent.congestionAhead != null">congestion_ahead,</if> |
|
|
|
<if test="mdEvent.trafficJam != null">traffic_jam,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="mdEvent.fusionId != null">#{mdEvent.fusionId},</if> |
|
|
@ -325,7 +352,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="mdEvent.isDeleted != null">#{mdEvent.isDeleted},</if> |
|
|
|
<if test="mdEvent.deleterUserId != null">#{mdEvent.deleterUserId},</if> |
|
|
|
<if test="mdEvent.deletionTime != null">#{mdEvent.deletionTime},</if> |
|
|
|
now() |
|
|
|
now(), |
|
|
|
<if test="mdEvent.startTime != null">#{mdEvent.startTime},</if> |
|
|
|
<if test="mdEvent.clearArriveTime != null">#{mdEvent.clearArriveTime},</if> |
|
|
|
<if test="mdEvent.clearEndTime != null">#{mdEvent.clearEndTime},</if> |
|
|
|
<if test="mdEvent.car != null">#{mdEvent.car},</if> |
|
|
|
<if test="mdEvent.bus != null">#{mdEvent.bus},</if> |
|
|
|
<if test="mdEvent.truck != null">#{mdEvent.truck},</if> |
|
|
|
<if test="mdEvent.heavyTruck != null">#{mdEvent.heavyTruck},</if> |
|
|
|
<if test="mdEvent.congestionAhead != null">#{mdEvent.congestionAhead},</if> |
|
|
|
<if test="mdEvent.trafficJam != null">#{mdEvent.trafficJam},</if> |
|
|
|
</trim> |
|
|
|
</foreach> |
|
|
|
</insert> |
|
|
@ -406,6 +442,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="isDeleted != null">IsDeleted = #{isDeleted},</if> |
|
|
|
<if test="deleterUserId != null">DeleterUserId = #{deleterUserId},</if> |
|
|
|
<if test="deletionTime != null">DeletionTime = #{deletionTime},</if> |
|
|
|
<if test="startTime != null">start_time = #{startTime},</if> |
|
|
|
<if test="clearArriveTime != null">clear_arriveTime = #{clearArriveTime},</if> |
|
|
|
<if test="clearEndTime != null">clear_end_time = #{clearEndTime},</if> |
|
|
|
<if test="car != null">car = #{car},</if> |
|
|
|
<if test="bus != null">bus = #{bus},</if> |
|
|
|
<if test="truck != null">truck = #{truck},</if> |
|
|
|
<if test="heavyTruck != null">heavy_truck = #{heavyTruck},</if> |
|
|
|
<if test="congestionAhead != null">congestion_ahead = #{congestionAhead},</if> |
|
|
|
<if test="trafficJam != null">traffic_jam = #{trafficJam},</if> |
|
|
|
</trim> |
|
|
|
where fusionId = #{fusionId} |
|
|
|
</update> |
|
|
|