From 17e3a218a5d41d01c63220f97b3262fb2375f547 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Sun, 15 Oct 2023 17:48:32 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basicdata/controller/BasicdataDriverArteryController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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());