Commit 878bb044 by guojuxing

联合商户,资源组授权列表标志是否已经授权

parent 87d6f60e
......@@ -198,8 +198,12 @@ public class ResourceGroupApiServiceImpl implements ResourceGroupApiService{
if (record == null) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "资源组不存在");
}
return ServiceResponse.success(EntityUtil.changeEntityNew(ResourceGroupDTO.class,
record));
ResourceGroupDTO result = EntityUtil.changeEntityNew(ResourceGroupDTO.class,
record);
if (StringUtils.isNotBlank(result.getCustomUserData())) {
result.setCustomUserList(JSON.parseArray(result.getCustomUserData(), ResourceGroupCustomUserDTO.class));
}
return ServiceResponse.success(result);
}
@Override
......
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