Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
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 66c844ac
authored
Apr 25, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能数据服务 需求V1.0.0功能--think.wang
1 parent
b031d102
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
src/main/java/com/glsx/smart/pojo/response/RemoteDeviceResp.java
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
src/main/java/com/glsx/smart/pojo/response/RemoteDeviceResp.java
View file @
66c844a
...
@@ -23,4 +23,6 @@ public class RemoteDeviceResp {
...
@@ -23,4 +23,6 @@ public class RemoteDeviceResp {
private
boolean
flag
;
//是否万能遥控器 true是 false否
private
boolean
flag
;
//是否万能遥控器 true是 false否
private
Byte
channel
;
//设备来源 1涂鸦 2绿米
}
}
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
View file @
66c844a
...
@@ -233,6 +233,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
...
@@ -233,6 +233,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
resp
.
setUuid
(
index
.
getDeviceId
());
resp
.
setUuid
(
index
.
getDeviceId
());
resp
.
setProductName
(
index
.
getDeviceName
());
resp
.
setProductName
(
index
.
getDeviceName
());
resp
.
setIconUrl
(
product
.
getIconUrl
());
resp
.
setIconUrl
(
product
.
getIconUrl
());
resp
.
setChannel
(
index
.
getChannel
());
//判断设备是否为万能遥控器
//判断设备是否为万能遥控器
boolean
flag
=
productType
.
getTypeName
().
contains
(
Constants
.
DEFAULT_DEVICE
)
?
true
:
false
;
boolean
flag
=
productType
.
getTypeName
().
contains
(
Constants
.
DEFAULT_DEVICE
)
?
true
:
false
;
resp
.
setFlag
(
flag
);
resp
.
setFlag
(
flag
);
...
...
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