fix: 修复未设置填充顺序导致的偶发性用户查询报错

This commit is contained in:
2024-05-19 13:36:26 +08:00
parent b13d0e9ee5
commit 0b76d5ca33
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ import java.util.Objects;
@Data
@ExcelIgnoreUnannotated
@Schema(description = "用户详情信息")
@Assemble(key = "id", prop = ":roleIds", container = ContainerConstants.USER_ROLE_ID_LIST)
@Assemble(key = "id", prop = ":roleIds", sort = 0, container = ContainerConstants.USER_ROLE_ID_LIST)
public class UserDetailResp extends BaseDetailResp {
@Serial

View File

@@ -44,7 +44,7 @@ import java.util.Objects;
*/
@Data
@Schema(description = "用户信息")
@Assemble(key = "id", prop = ":roleIds", container = ContainerConstants.USER_ROLE_ID_LIST)
@Assemble(key = "id", prop = ":roleIds", sort = 0, container = ContainerConstants.USER_ROLE_ID_LIST)
public class UserResp extends BaseDetailResp {
@Serial