Browse Source

施工事件,修改匝道后不记录不回显

develop
lau572 4 months ago
parent
commit
6c203d601e
  1. 5
      zc-business/src/main/resources/mapper/business/DcEventConstructionMapper.xml

5
zc-business/src/main/resources/mapper/business/DcEventConstructionMapper.xml

@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<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 id="selectDcEventConstructionVoById">
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.end_stake_mark as end_stake_mark,
dc_event_construction.location as location,
dc_event_construction.ramp_id as ramp_id,
dc_facility.other_config as other_config,
dc_facility.remark as remark,
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="location != null">location,</if>
<if test="constructionMethod != null">construction_method,</if>
<if test="rampId != null">ramp_id,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<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="location != null">#{location},</if>
<if test="constructionMethod != null">#{constructionMethod},</if>
<if test="rampId != null">#{rampId},</if>
</trim>
</insert>

Loading…
Cancel
Save