Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 09860598
authored
Apr 07, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
清理废弃代码
1 parent
cb000d7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
src/main/java/cn/com/glsx/stdinterface/api/VehicleDeviceClient.java
src/main/java/cn/com/glsx/stdinterface/fallback/VehicleDeviceFallbackImpl.java
src/main/java/cn/com/glsx/stdinterface/api/VehicleDeviceClient.java
View file @
0986059
...
@@ -31,24 +31,7 @@ public interface VehicleDeviceClient {
...
@@ -31,24 +31,7 @@ public interface VehicleDeviceClient {
@GetMapping
(
value
=
"/getVehicleDeviceBySn"
)
@GetMapping
(
value
=
"/getVehicleDeviceBySn"
)
R
<
VehicleDeviceDto
>
getVehicleDeviceBySn
(
@RequestParam
String
sn
);
R
<
VehicleDeviceDto
>
getVehicleDeviceBySn
(
@RequestParam
String
sn
);
@PostMapping
(
value
=
"/pushSXJData"
)
R
<
Boolean
>
pushSXJData
(
@RequestParam
String
date
);
/**
* 推送思享驾围栏报警数据
* @param date
* @return
*/
@GetMapping
(
value
=
"/pushSXJAlarmElectricFence"
)
R
<
Boolean
>
pushSXJAlarmElectricFence
(
@RequestParam
(
required
=
false
)
String
date
);
/**
* 推送思享驾设备分离报警数据
* @param date
* @return
*/
@GetMapping
(
value
=
"/pushSXJDeviceSeparationAlarmData"
)
R
<
Boolean
>
pushSXJDeviceSeparationAlarmData
(
@RequestParam
(
required
=
false
)
String
date
);
@GetMapping
(
value
=
"/getSXJCreatedIds"
)
@GetMapping
(
value
=
"/getSXJCreatedIds"
)
@ResponseBody
@ResponseBody
...
@@ -82,7 +65,4 @@ public interface VehicleDeviceClient {
...
@@ -82,7 +65,4 @@ public interface VehicleDeviceClient {
@GetMapping
(
value
=
"/listSXJSnList"
)
@GetMapping
(
value
=
"/listSXJSnList"
)
@ResponseBody
@ResponseBody
R
<
PageInfo
<
VehicleDto
>>
listSXJSnList
(
@RequestBody
SxjSearchDTO
param
);
R
<
PageInfo
<
VehicleDto
>>
listSXJSnList
(
@RequestBody
SxjSearchDTO
param
);
@PostMapping
(
value
=
"/pushSXJOfflineAlarmData"
)
R
<
Boolean
>
pushSXJOfflineAlarmData
(
@RequestParam
(
required
=
false
)
String
date
);
}
}
src/main/java/cn/com/glsx/stdinterface/fallback/VehicleDeviceFallbackImpl.java
View file @
0986059
...
@@ -27,23 +27,7 @@ public class VehicleDeviceFallbackImpl implements VehicleDeviceClient {
...
@@ -27,23 +27,7 @@ public class VehicleDeviceFallbackImpl implements VehicleDeviceClient {
log
.
warn
(
"getVehicleDeviceBySn 熔断啦 {}"
,
cause
.
getMessage
());
log
.
warn
(
"getVehicleDeviceBySn 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
return
R
.
ok
(
"服务异常"
);
}
}
@Override
public
R
<
Boolean
>
pushSXJData
(
String
date
)
{
log
.
warn
(
"pushSXJData 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
}
@Override
public
R
<
Boolean
>
pushSXJAlarmElectricFence
(
String
date
)
{
log
.
warn
(
"pushSXJAlarmElectricFence 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
}
@Override
public
R
<
Boolean
>
pushSXJDeviceSeparationAlarmData
(
String
date
)
{
log
.
warn
(
"pushSXJDeviceSeparationAlarmData 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
}
@Override
@Override
public
R
<
List
<
Integer
>>
getSXJCreatedIds
()
{
public
R
<
List
<
Integer
>>
getSXJCreatedIds
()
{
...
@@ -74,10 +58,4 @@ public class VehicleDeviceFallbackImpl implements VehicleDeviceClient {
...
@@ -74,10 +58,4 @@ public class VehicleDeviceFallbackImpl implements VehicleDeviceClient {
log
.
warn
(
"listSXJSnList 熔断啦 {}"
,
cause
.
getMessage
());
log
.
warn
(
"listSXJSnList 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
return
R
.
ok
(
"服务异常"
);
}
}
@Override
public
R
<
Boolean
>
pushSXJOfflineAlarmData
(
String
date
)
{
log
.
warn
(
"pushSXJOfflineAlarmData 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
}
}
}
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