parent
29939dc277
commit
25987034e1
@ -161,13 +161,13 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl<PartnerCustomerI
|
||||
}
|
||||
}
|
||||
|
||||
// 角色分配
|
||||
if (!StringUtils.isEmpty(partnerCustomerInfo.getRoleCode())) {
|
||||
RoleDO sysRole = roleService.queryRole(partnerCustomerInfo.getRoleCode());
|
||||
Set<Long> ids = new HashSet<>();
|
||||
ids.add(sysRole.getId());
|
||||
permissionService.assignUserRole(user.getId(), ids);
|
||||
}
|
||||
// // 角色分配
|
||||
// if (!StringUtils.isEmpty(partnerCustomerInfo.getRoleCode())) {
|
||||
// RoleDO sysRole = roleService.queryRole(partnerCustomerInfo.getRoleCode());
|
||||
// Set<Long> ids = new HashSet<>();
|
||||
// ids.add(sysRole.getId());
|
||||
// permissionService.assignUserRole(user.getId(), ids);
|
||||
// }
|
||||
|
||||
// 车辆信息处理
|
||||
List<ShopUserCar> userCarList = partnerCustomerInfo.getUserCarList();
|
||||
@ -270,6 +270,7 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl<PartnerCustomerI
|
||||
} else {
|
||||
// 保存新用户车辆信息
|
||||
userCarService.save(userCar);
|
||||
userCarService.save(userCar);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user