From 25987034e126972944d5e22803664cc353d0aa5e Mon Sep 17 00:00:00 2001 From: 13405411873 <1994398261@qq.com> Date: Mon, 11 Nov 2024 10:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E5=B7=A5=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 0e6aa49c68a3127dda660a990de62816144d5f58) --- .../impl/PartnerCustomerInfoServiceImpl.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/partner/service/impl/PartnerCustomerInfoServiceImpl.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/partner/service/impl/PartnerCustomerInfoServiceImpl.java index 834a7a1b..d46b8020 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/partner/service/impl/PartnerCustomerInfoServiceImpl.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/partner/service/impl/PartnerCustomerInfoServiceImpl.java @@ -161,13 +161,13 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl ids = new HashSet<>(); - ids.add(sysRole.getId()); - permissionService.assignUserRole(user.getId(), ids); - } +// // 角色分配 +// if (!StringUtils.isEmpty(partnerCustomerInfo.getRoleCode())) { +// RoleDO sysRole = roleService.queryRole(partnerCustomerInfo.getRoleCode()); +// Set ids = new HashSet<>(); +// ids.add(sysRole.getId()); +// permissionService.assignUserRole(user.getId(), ids); +// } // 车辆信息处理 List userCarList = partnerCustomerInfo.getUserCarList(); @@ -270,6 +270,7 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl