Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
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 32a67afa
authored
Jul 18, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化调频类型返回
1 parent
507301c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
src/main/java/cn/com/glsx/app/modules/model/view/DeviceFreqVO.java
src/main/java/cn/com/glsx/app/modules/service/DeviceFreqService.java
src/main/java/cn/com/glsx/app/modules/model/view/DeviceFreqVO.java
View file @
32a67af
...
@@ -68,6 +68,12 @@ public class DeviceFreqVO {
...
@@ -68,6 +68,12 @@ public class DeviceFreqVO {
* 调频渠道: 1 APP端 2 网页端 3 旧E盾 4 新E盾 5 小程序
* 调频渠道: 1 APP端 2 网页端 3 旧E盾 4 新E盾 5 小程序
*/
*/
@ApiModelProperty
(
"调频渠道: 1 APP端 2 网页端 3 旧E盾 4 新E盾 5 小程序"
)
@ApiModelProperty
(
"调频渠道: 1 APP端 2 网页端 3 旧E盾 4 新E盾 5 小程序"
)
private
Integer
channelInt
;
/**
* 调频渠道: 1 APP端 2 网页端 3 旧E盾 4 新E盾 5 小程序
*/
@ApiModelProperty
(
"调频渠道: 1 APP端 2 网页端 3 旧E盾 4 新E盾 5 小程序"
)
private
String
channelStr
;
private
String
channelStr
;
/**
/**
...
...
src/main/java/cn/com/glsx/app/modules/service/DeviceFreqService.java
View file @
32a67af
...
@@ -294,6 +294,7 @@ public class DeviceFreqService {
...
@@ -294,6 +294,7 @@ public class DeviceFreqService {
deviceFreqVO
.
setFrequency
(
deviceFreq
.
getTimer
()
+
"/天"
);
deviceFreqVO
.
setFrequency
(
deviceFreq
.
getTimer
()
+
"/天"
);
deviceFreqVO
.
setFreTotal
(
getDiffDays
(
deviceFreq
));
deviceFreqVO
.
setFreTotal
(
getDiffDays
(
deviceFreq
));
}
}
deviceFreqVO
.
setChannelInt
(
deviceFreq
.
getChannel
());
deviceFreqVO
.
setChannelStr
(
ChannelEnum
.
getStrByChannelInt
(
deviceFreq
.
getChannel
()));
deviceFreqVO
.
setChannelStr
(
ChannelEnum
.
getStrByChannelInt
(
deviceFreq
.
getChannel
()));
deviceFreqVO
.
setFreqTypeStr
(
TypeConverseEnum
.
FreqTypeEnum
.
getStrByFreqType
(
deviceFreq
.
getFreqType
()));
deviceFreqVO
.
setFreqTypeStr
(
TypeConverseEnum
.
FreqTypeEnum
.
getStrByFreqType
(
deviceFreq
.
getFreqType
()));
// 设置操作人
// 设置操作人
...
...
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