Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
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 47c08e8e
authored
Sep 19, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设置默认响应状态
1 parent
7fdeeb9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
src/main/java/cn/com/glsx/admin/common/constants/Constants.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
src/main/java/cn/com/glsx/admin/common/constants/Constants.java
View file @
47c08e8
...
@@ -144,4 +144,18 @@ public final class Constants {
...
@@ -144,4 +144,18 @@ public final class Constants {
public
static
final
String
EMPTY_CONTENT_EXCEL
=
"--"
;
public
static
final
String
EMPTY_CONTENT_EXCEL
=
"--"
;
//--------------- 调频响应状态----------------
/**
* 响应状态已响应
*/
public
static
final
int
STATUS_RESPONSE
=
2
;
/**
* 发送中
*/
public
static
final
int
STATUS_RESPONSE_SENDING
=
1
;
}
}
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
View file @
47c08e8
...
@@ -1792,6 +1792,7 @@ public class VehicleService extends AbstractCommonService {
...
@@ -1792,6 +1792,7 @@ public class VehicleService extends AbstractCommonService {
//设置操作渠道 4 新E盾系统
//设置操作渠道 4 新E盾系统
df
.
setChannel
(
4
);
df
.
setChannel
(
4
);
df
.
setDuration
(
Optional
.
ofNullable
(
model
.
getDuration
()).
orElse
(-
1
));
df
.
setDuration
(
Optional
.
ofNullable
(
model
.
getDuration
()).
orElse
(-
1
));
df
.
setResponseStatus
(
Constants
.
STATUS_RESPONSE_SENDING
);
deviceFreqMapper
.
insert
(
df
);
deviceFreqMapper
.
insert
(
df
);
String
url
=
PropertiesUtils
.
getProperty
(
"bsj.adjFreq.location"
);
String
url
=
PropertiesUtils
.
getProperty
(
"bsj.adjFreq.location"
);
Map
<
String
,
String
>
params
=
new
HashMap
<>();
Map
<
String
,
String
>
params
=
new
HashMap
<>();
...
...
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