diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataDriverArteryController.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataDriverArteryController.java index cf0fbbb15..c77079d52 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataDriverArteryController.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataDriverArteryController.java @@ -129,7 +129,8 @@ public class BasicdataDriverArteryController extends BladeController { return R.fail("绑定的用户已存在!不要重复绑定!!!"); } - R userR = userClient.userInfoByPhone(AuthUtil.getUser().getTenantId(), basicdataDriverArtery.getPhone()); + String phone = basicdataDriverArtery.getPhone(); + R userR = userClient.userInfoByPhone(AuthUtil.getUser().getTenantId(), phone); if (Func.isNotEmpty(userR.getData())){ User user = userR.getData(); basicdataDriverArtery.setUserId(user.getId());