Browse Source

新增字段 交通拥堵表 endStakeMark结束桩号

develop
王兴琳 9 months ago
parent
commit
5a26540ba6
  1. 1
      zc-business/src/main/java/com/zc/business/domain/DcEvent.java
  2. 2
      zc-business/src/main/java/com/zc/business/domain/DcEventTrafficCongestion.java
  3. 7
      zc-business/src/main/resources/mapper/business/DcEventTrafficCongestionMapper.xml

1
zc-business/src/main/java/com/zc/business/domain/DcEvent.java

@ -235,7 +235,6 @@ public class DcEvent extends BaseEntity {
* 2014/2/21新增
*/
/**
*
*/

2
zc-business/src/main/java/com/zc/business/domain/DcEventTrafficCongestion.java

@ -82,6 +82,8 @@ public class DcEventTrafficCongestion extends BaseEntity
private Integer locationType;
@ApiModelProperty("地点描述")
private String locationDescription;
@ApiModelProperty("终止桩号")
private String endStakeMark;
@ApiModelProperty("事件信息实体")

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

@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="locationDescription" column="location_description" />
<result property="locationType" column="location_type" />
<result property="detailedReasons" column="detailed_reasons" />
<result property="endStakeMark" column="end_stake_mark" />
<result property="dcFacility.facilityName" column="facility_name" />
<result property="dcFacility.facilityType" column="facility_type" />
@ -26,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectDcEventTrafficCongestionVo">
select location_type,location_description,detailed_reasons,id, congestion_mileage, congestion_cause, facility_id, ramp_id, location,max_congestion_mileage from dc_event_traffic_congestion
select end_stake_mark,location_type,location_description,detailed_reasons,id, congestion_mileage, congestion_cause, facility_id, ramp_id, location,max_congestion_mileage from dc_event_traffic_congestion
</sql>
<!-- -->
<sql id="selectDcEventTrafficCongestionVoById">
@ -41,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dc_event_traffic_congestion.location_type as location_type,
dc_event_traffic_congestion.location_description as location_description,
dc_event_traffic_congestion.detailed_reasons as detailed_reasons,
dc_event_traffic_congestion.end_stake_mark as end_stake_mark,
dc_facility.other_config as other_config,
dc_facility.remark as remark,
@ -81,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="locationDescription != null">location_description,</if>
<if test="locationType != null">location_type,</if>
<if test="detailedReasons != null">detailed_reasons,</if>
<if test="endStakeMark != null">end_stake_mark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@ -93,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="locationDescription != null">#{locationDescription},</if>
<if test="locationType != null">#{locationType},</if>
<if test="detailedReasons != null">#{detailedReasons},</if>
<if test="endStakeMark != null">#{end_stake_mark},</if>
</trim>
</insert>
@ -108,6 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="locationDescription != null">location_description = #{locationDescription},</if>
<if test="locationType != null">location_type = #{locationType},</if>
<if test="detailedReasons != null">detailed_reasons = #{detailedReasons},</if>
<if test="endStakeMark != null">end_stake_mark = #{endStakeMark},</if>
</trim>
where id = #{id}
</update>

Loading…
Cancel
Save