检测工人
This commit is contained in:
parent
8a75e00e26
commit
0e6aa49c68
@ -162,13 +162,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();
|
||||
@ -271,6 +271,7 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl<PartnerCustomerI
|
||||
} else {
|
||||
// 保存新用户车辆信息
|
||||
userCarService.save(userCar);
|
||||
userCarService.save(userCar);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user