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 63906f31
authored
Sep 27, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
如果没有生效的调频 返回一条初始化调频记录
1 parent
3807fb34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
View file @
63906f3
...
@@ -1945,8 +1945,12 @@ public class VehicleService extends AbstractCommonService {
...
@@ -1945,8 +1945,12 @@ public class VehicleService extends AbstractCommonService {
public
FreqInfoVO
getEffectFreqInfo
(
String
sn
)
{
public
FreqInfoVO
getEffectFreqInfo
(
String
sn
)
{
DeviceFreq
deviceFreq
=
deviceFreqMapper
.
selectEffectFreqBySn
(
sn
);
DeviceFreq
deviceFreq
=
deviceFreqMapper
.
selectEffectFreqBySn
(
sn
);
//如果没有生效的调频 返回一条初始化调频记录
if
(
Objects
.
isNull
(
deviceFreq
))
{
if
(
Objects
.
isNull
(
deviceFreq
))
{
return
null
;
FreqInfoVO
result
=
new
FreqInfoVO
();
result
.
setSn
(
sn
);
result
.
setFreqType
(
TypeConverseEnum
.
FreqTypeEnum
.
INITIALIZATION_MODE
.
getFreqType
());
return
result
;
}
}
return
FreqConverter
.
INSTANCE
.
convert
(
deviceFreq
);
return
FreqConverter
.
INSTANCE
.
convert
(
deviceFreq
);
}
}
...
...
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