Browse Source

1.修改查询的字段

training
pref_mail@163.com 1 year ago
parent
commit
17e3a218a5
  1. 3
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataDriverArteryController.java

3
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<User> userR = userClient.userInfoByPhone(AuthUtil.getUser().getTenantId(), basicdataDriverArtery.getPhone());
String phone = basicdataDriverArtery.getPhone();
R<User> userR = userClient.userInfoByPhone(AuthUtil.getUser().getTenantId(), phone);
if (Func.isNotEmpty(userR.getData())){
User user = userR.getData();
basicdataDriverArtery.setUserId(user.getId());

Loading…
Cancel
Save