Commit 5149aa56 by 杨林龙

黑区报警增加POI类型字段

1 parent 1a5cad16
...@@ -70,6 +70,12 @@ public class AlarmTrackStujudge extends BaseEntity { ...@@ -70,6 +70,12 @@ public class AlarmTrackStujudge extends BaseEntity {
private Integer alarmNo; private Integer alarmNo;
/** /**
* Poi类型
*/
@Column(name = "poi_type")
private String poiType;
/**
* 车辆、设备关系id * 车辆、设备关系id
*/ */
@Column(name = "vd_id") @Column(name = "vd_id")
...@@ -79,4 +85,6 @@ public class AlarmTrackStujudge extends BaseEntity { ...@@ -79,4 +85,6 @@ public class AlarmTrackStujudge extends BaseEntity {
* 是否删除 0=正常,未恢复 -1=删除,已恢复 * 是否删除 0=正常,未恢复 -1=删除,已恢复
*/ */
// private Integer delFlag; // private Integer delFlag;
} }
\ No newline at end of file \ No newline at end of file
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<result column="last_lng" jdbcType="VARCHAR" property="lastLng"/> <result column="last_lng" jdbcType="VARCHAR" property="lastLng"/>
<result column="last_lat" jdbcType="VARCHAR" property="lastLat"/> <result column="last_lat" jdbcType="VARCHAR" property="lastLat"/>
<result column="alarm_no" jdbcType="INTEGER" property="alarmNo"/> <result column="alarm_no" jdbcType="INTEGER" property="alarmNo"/>
<result column="poi_type" jdbcType="VARCHAR" property="poiType"/>
<result column="vd_id" jdbcType="INTEGER" property="vdId"/> <result column="vd_id" jdbcType="INTEGER" property="vdId"/>
<result column="del_flag" jdbcType="TINYINT" property="delFlag"/> <result column="del_flag" jdbcType="TINYINT" property="delFlag"/>
<result column="created_date" jdbcType="TIMESTAMP" property="createdDate"/> <result column="created_date" jdbcType="TIMESTAMP" property="createdDate"/>
...@@ -28,7 +29,7 @@ ...@@ -28,7 +29,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
--> -->
id, geo_code, sn, begin_time, alarm_type, alarm_address, last_time, last_lng, last_lat, id, geo_code, sn, begin_time, alarm_type, alarm_address, last_time, last_lng, last_lat,
alarm_no, vd_id, del_flag, created_date, created_by, updated_date, updated_by alarm_no, poi_type, vd_id, del_flag, created_date, created_by, updated_date, updated_by
</sql> </sql>
<select id="findAlarmBySnAndType" resultMap="BaseResultMap"> <select id="findAlarmBySnAndType" resultMap="BaseResultMap">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!