Commit 1cf257af by 李小龙

fixbug:28975 平台端=人员管理:创建人员后,无法登录,看接口时没有返回租户数据

parent b5d8c95f
...@@ -324,6 +324,11 @@ public class PlatUserServiceImpl extends ServiceImpl<PlatUserMapper, PlatUser> ...@@ -324,6 +324,11 @@ public class PlatUserServiceImpl extends ServiceImpl<PlatUserMapper, PlatUser>
throw new BusinessException(CodeMessageEnum.SYSTEM_ERROR_TENANT_NOT_EXIST); throw new BusinessException(CodeMessageEnum.SYSTEM_ERROR_TENANT_NOT_EXIST);
} }
}else {
PlatTenant platTenant = platTenantService.getById(tntUserLoginVO.getTenantId());
PlatTenantVO vo = BeanDtoVoUtils.convert(platTenant, PlatTenantVO.class);
//没有值的情况:登陆后无法跳转
tntUserLoginVO.setTenantList(Arrays.asList(vo));
} }
} }
......
...@@ -48,6 +48,7 @@ public class PlatAlarmRecordVO extends BaseTenantDTO { ...@@ -48,6 +48,7 @@ public class PlatAlarmRecordVO extends BaseTenantDTO {
private String dealUser; private String dealUser;
@ApiModelProperty(value = "处理时间") @ApiModelProperty(value = "处理时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime dealDate; private LocalDateTime dealDate;
@ApiModelProperty(value = "所属组织id") @ApiModelProperty(value = "所属组织id")
......
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 sign in to comment