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 d957588b
authored
Apr 15, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]产品名称修改
1 parent
38236882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
View file @
d957588
...
@@ -210,7 +210,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
...
@@ -210,7 +210,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
RemoteDeviceResp
resp
=
new
RemoteDeviceResp
();
RemoteDeviceResp
resp
=
new
RemoteDeviceResp
();
resp
.
setProductId
(
productId
);
resp
.
setProductId
(
productId
);
resp
.
setUuid
(
object
.
getString
(
"id"
));
resp
.
setUuid
(
object
.
getString
(
"id"
));
resp
.
setProductName
(
product
.
getProductName
()
);
resp
.
setProductName
(
object
.
get
(
"name"
)+
""
);
resp
.
setIconUrl
(
product
.
getIconUrl
());
resp
.
setIconUrl
(
product
.
getIconUrl
());
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
);
...
@@ -220,6 +220,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
...
@@ -220,6 +220,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
return
deviceRespList
.
stream
().
sorted
(
Comparator
.
comparing
(
RemoteDeviceResp:
:
getProductId
).
reversed
()).
collect
(
Collectors
.
toList
());
return
deviceRespList
.
stream
().
sorted
(
Comparator
.
comparing
(
RemoteDeviceResp:
:
getProductId
).
reversed
()).
collect
(
Collectors
.
toList
());
}
}
/**
/**
* 比较获取产品
* 比较获取产品
* @param list
* @param list
...
@@ -236,5 +237,4 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
...
@@ -236,5 +237,4 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
}
}
return
null
;
return
null
;
}
}
}
}
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