Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5149aa56
authored
Nov 09, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
黑区报警增加POI类型字段
1 parent
1a5cad16
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
src/main/java/cn/com/glsx/stdinterface/modules/entity/AlarmTrackStujudge.java
src/main/resources/mapper/AlarmTrackStujudgeMapper.xml
src/main/java/cn/com/glsx/stdinterface/modules/entity/AlarmTrackStujudge.java
View file @
5149aa5
...
@@ -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
src/main/resources/mapper/AlarmTrackStujudgeMapper.xml
View file @
5149aa5
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment