Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeoFlyApi
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GeoFly
GeoFlyApi
Commits
0796fb37
Commit
0796fb37
authored
May 10, 2025
by
gdj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表返回表id。
parent
159ce6cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
sample/src/main/java/com/dji/sample/manage/model/dto/UserListDTO.java
+2
-0
sample/src/main/java/com/dji/sample/manage/service/impl/UserServiceImpl.java
+1
-0
No files found.
sample/src/main/java/com/dji/sample/manage/model/dto/UserListDTO.java
View file @
0796fb37
...
...
@@ -18,6 +18,8 @@ import java.time.LocalDateTime;
@NoArgsConstructor
public
class
UserListDTO
{
private
Integer
id
;
private
String
userId
;
private
String
username
;
...
...
sample/src/main/java/com/dji/sample/manage/service/impl/UserServiceImpl.java
View file @
0796fb37
...
...
@@ -234,6 +234,7 @@ public class UserServiceImpl implements IUserService {
UserListDTO
.
UserListDTOBuilder
builder
=
UserListDTO
.
builder
();
if
(
entity
!=
null
)
{
builder
.
userId
(
entity
.
getUserId
())
.
id
(
entity
.
getId
())
.
username
(
entity
.
getUsername
())
.
mqttUsername
(
entity
.
getMqttUsername
())
.
mqttPassword
(
entity
.
getMqttPassword
())
...
...
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