Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart-office-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart-office-platform
Commits
4f6433b2
Commit
4f6433b2
authored
May 30, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改同步用户
parent
c0ff0907
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
smart-office-manager/src/main/java/com/mortals/xhx/module/room/web/RoomController.java
.../java/com/mortals/xhx/module/room/web/RoomController.java
+1
-1
smart-office-manager/src/test/java/com/mortals/httpclient/room/RoomController.http
...test/java/com/mortals/httpclient/room/RoomController.http
+2
-2
No files found.
smart-office-manager/src/main/java/com/mortals/xhx/module/room/web/RoomController.java
View file @
4f6433b2
...
...
@@ -83,7 +83,7 @@ public class RoomController extends BaseCRUDJsonBodyMappingController<RoomServic
RoomDeviceEntity
roomEntity
=
roomDeviceService
.
selectOne
(
new
RoomDeviceQuery
().
deviceCode
(
query
.
getDeviceCode
()));
// RoomEntity roomEntity = this.service.selectOne(new RoomQuery().deviceCode(query.getDeviceCode()));
if
(!
ObjectUtils
.
isEmpty
(
roomEntity
))
{
query
.
setId
(
roomEntity
.
getId
());
query
.
setId
(
roomEntity
.
get
Room
Id
());
}
else
{
query
.
setId
(-
1L
);
}
...
...
smart-office-manager/src/test/java/com/mortals/httpclient/room/RoomController.http
View file @
4f6433b2
...
...
@@ -15,12 +15,12 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
###房间管理列表
POST {{baseUrl}}/room/list
Authorization: {{authToken}}
Content-Type: application/json
{
"page":1,
"size":10
"size":1,
"deviceCode":"a0-9f-10-5a-e0-10"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment