Browse Source

修改施工建设

develop
王兴琳 6 months ago
parent
commit
016ac3b470
  1. 7
      zc-business/src/main/resources/mapper/business/DcEventConstructionMapper.xml

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

@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="endStakeMark" column="end_stake_mark" /> <result property="endStakeMark" column="end_stake_mark" />
<result property="localRoadName" column="local_road_name" /> <result property="localRoadName" column="local_road_name" />
<result property="location" column="location" /> <result property="location" column="location" />
<result property="constructionMethod" column="construction_method" />
<result property="dcFacility.facilityName" column="facility_name" /> <result property="dcFacility.facilityName" column="facility_name" />
<result property="dcFacility.facilityType" column="facility_type" /> <result property="dcFacility.facilityType" column="facility_type" />
@ -29,11 +30,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDcEventConstructionVo"> <sql id="selectDcEventConstructionVo">
select 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 from dc_event_construction
</sql> </sql>
<sql id="selectDcEventConstructionVoById"> <sql id="selectDcEventConstructionVoById">
SELECT SELECT
dc_event_construction.id as id, dc_event_construction.id as id,
dc_event_construction.construction_method as construction_method,
dc_event_construction.control_mode as control_mode, dc_event_construction.control_mode as control_mode,
dc_event_construction.location_type as location_type, dc_event_construction.location_type as location_type,
dc_event_construction.special_place_description as special_place_description, dc_event_construction.special_place_description as special_place_description,
@ -95,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endStakeMark != null">end_stake_mark,</if> <if test="endStakeMark != null">end_stake_mark,</if>
<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>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if> <if test="id != null">#{id},</if>
@ -111,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endStakeMark != null">#{endStakeMark},</if> <if test="endStakeMark != null">#{endStakeMark},</if>
<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>
</trim> </trim>
</insert> </insert>
@ -130,6 +134,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endStakeMark != null">end_stake_mark = #{endStakeMark},</if> <if test="endStakeMark != null">end_stake_mark = #{endStakeMark},</if>
<if test="localRoadName != null">local_road_name = #{localRoadName},</if> <if test="localRoadName != null">local_road_name = #{localRoadName},</if>
<if test="location != null">location = #{location},</if> <if test="location != null">location = #{location},</if>
<if test="constructionMethod != null">construction_method = #{constructionMethod},</if>
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>

Loading…
Cancel
Save