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 451a757c
authored
May 09, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化警情消费逻辑
1 parent
5dec0efb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
17 deletions
src/main/java/cn/com/glsx/stdinterface/modules/entity/AlarmTrackRec.java
src/main/resources/mapper/AlarmTrackRecMapper.xml
src/test/java/cn/com/glsx/stdinterface/modules/service/AlarmTrackRecServiceTest.java
src/main/java/cn/com/glsx/stdinterface/modules/entity/AlarmTrackRec.java
View file @
451a757
...
@@ -66,18 +66,6 @@ public class AlarmTrackRec extends BaseEntity {
...
@@ -66,18 +66,6 @@ public class AlarmTrackRec extends BaseEntity {
private
Date
lastTime
;
private
Date
lastTime
;
/**
/**
* 最后经度
*/
@Column
(
name
=
"last_lng"
)
private
String
lastLng
;
/**
* 最后纬度
*/
@Column
(
name
=
"last_lat"
)
private
String
lastLat
;
/**
* 报警次数
* 报警次数
*/
*/
@Column
(
name
=
"alarm_no"
)
@Column
(
name
=
"alarm_no"
)
...
...
src/main/resources/mapper/AlarmTrackRecMapper.xml
View file @
451a757
...
@@ -15,8 +15,6 @@
...
@@ -15,8 +15,6 @@
<result
column=
"alarm_type"
jdbcType=
"INTEGER"
property=
"alarmType"
/>
<result
column=
"alarm_type"
jdbcType=
"INTEGER"
property=
"alarmType"
/>
<result
column=
"city_name"
jdbcType=
"VARCHAR"
property=
"cityName"
/>
<result
column=
"city_name"
jdbcType=
"VARCHAR"
property=
"cityName"
/>
<result
column=
"last_time"
jdbcType=
"TIMESTAMP"
property=
"lastTime"
/>
<result
column=
"last_time"
jdbcType=
"TIMESTAMP"
property=
"lastTime"
/>
<result
column=
"last_lng"
jdbcType=
"VARCHAR"
property=
"lastLng"
/>
<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=
"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"
/>
...
@@ -30,7 +28,7 @@
...
@@ -30,7 +28,7 @@
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
id, sn, begin_time, lng, lat, speed, direction, alarm_type, city_name, last_time,
id, sn, begin_time, lng, lat, speed, direction, alarm_type, city_name, last_time,
last_lng, last_lat,
alarm_no, vd_id, del_flag, created_date, created_by, updated_date,
alarm_no, vd_id, del_flag, created_date, created_by, updated_date,
updated_by
updated_by
</sql>
</sql>
...
...
src/test/java/cn/com/glsx/stdinterface/modules/service/AlarmTrackRecServiceTest.java
View file @
451a757
...
@@ -34,8 +34,6 @@ public class AlarmTrackRecServiceTest {
...
@@ -34,8 +34,6 @@ public class AlarmTrackRecServiceTest {
alarmTrackRecDto
.
setAlarmType
(
1
);
alarmTrackRecDto
.
setAlarmType
(
1
);
alarmTrackRecDto
.
setCityName
(
"深圳市"
);
alarmTrackRecDto
.
setCityName
(
"深圳市"
);
alarmTrackRecDto
.
setLastTime
(
new
Date
());
alarmTrackRecDto
.
setLastTime
(
new
Date
());
alarmTrackRecDto
.
setLastLng
(
"108.404167"
);
alarmTrackRecDto
.
setLastLat
(
"22.835201"
);
alarmTrackRecDto
.
setAlarmNo
(
65
);
alarmTrackRecDto
.
setAlarmNo
(
65
);
alarmTrackRecDto
.
setVdId
(
51207L
);
alarmTrackRecDto
.
setVdId
(
51207L
);
alarmTrackRecDto
.
setDelFlag
(
2
);
alarmTrackRecDto
.
setDelFlag
(
2
);
...
...
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