|
@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectDcEventConstructionVo"> |
|
|
<sql id="selectDcEventConstructionVo"> |
|
|
select construction_method,location,local_road_name,end_stake_mark,id, control_mode, location_type, special_place_description, special_construction, other_construction_name, construction_measurement, facility_id, exits_inlets, lane_occupancy, traffic_condition from dc_event_construction |
|
|
select construction_method,location,local_road_name,end_stake_mark,id, control_mode, location_type, special_place_description, special_construction, other_construction_name, construction_measurement, facility_id, exits_inlets, lane_occupancy, traffic_condition,ramp_id from dc_event_construction |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="selectDcEventConstructionVoById"> |
|
|
<sql id="selectDcEventConstructionVoById"> |
|
|
SELECT |
|
|
SELECT |
|
@ -49,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
dc_event_construction.local_road_name as local_road_name, |
|
|
dc_event_construction.local_road_name as local_road_name, |
|
|
dc_event_construction.end_stake_mark as end_stake_mark, |
|
|
dc_event_construction.end_stake_mark as end_stake_mark, |
|
|
dc_event_construction.location as location, |
|
|
dc_event_construction.location as location, |
|
|
|
|
|
dc_event_construction.ramp_id as ramp_id, |
|
|
dc_facility.other_config as other_config, |
|
|
dc_facility.other_config as other_config, |
|
|
dc_facility.remark as remark, |
|
|
dc_facility.remark as remark, |
|
|
dc_facility.stake_mark as stake_mark, |
|
|
dc_facility.stake_mark as stake_mark, |
|
@ -98,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="localRoadName != null">local_road_name,</if> |
|
|
<if test="localRoadName != null">local_road_name,</if> |
|
|
<if test="location != null">location,</if> |
|
|
<if test="location != null">location,</if> |
|
|
<if test="constructionMethod != null">construction_method,</if> |
|
|
<if test="constructionMethod != null">construction_method,</if> |
|
|
|
|
|
<if test="rampId != null">ramp_id,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null">#{id},</if> |
|
|
<if test="id != null">#{id},</if> |
|
@ -115,6 +117,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="localRoadName != null">#{localRoadName},</if> |
|
|
<if test="localRoadName != null">#{localRoadName},</if> |
|
|
<if test="location != null">#{location},</if> |
|
|
<if test="location != null">#{location},</if> |
|
|
<if test="constructionMethod != null">#{constructionMethod},</if> |
|
|
<if test="constructionMethod != null">#{constructionMethod},</if> |
|
|
|
|
|
<if test="rampId != null">#{rampId},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|