diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/SysCustomerServiceQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/SysCustomerServiceQryExe.java index cb654eb9..363bc386 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/SysCustomerServiceQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/SysCustomerServiceQryExe.java @@ -35,6 +35,6 @@ public class SysCustomerServiceQryExe { .getByTimeSlot(cmd.getReqSysOrigin().getOrigin(), regionId)) .map(config -> userProfileGateway.getByUserId(config.getUserId())) .map(userProfileAppConvertor::toUserProfileDTO) - .orElse(new UserProfileDTO()); + .orElse(null); } }