Commit 0796fb37 by gdj

用户列表返回表id。

parent 159ce6cc
......@@ -18,6 +18,8 @@ import java.time.LocalDateTime;
@NoArgsConstructor
public class UserListDTO {
private Integer id;
private String userId;
private String username;
......
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment