|
|
@@ -445,8 +445,8 @@ public class CustomerInfoServiceImpl extends ServiceImpl<CustomerInfoMapper, Cus
|
|
|
}
|
|
|
|
|
|
// === 远程调用获取名称 ===
|
|
|
- Map<Long, String> comStaffMap = staffIds.isEmpty() ? Collections.emptyMap() : remoteComStaffService.selectStaffNameByIds(comStaffIds);
|
|
|
- Map<Long, String> comDeptMap = deptIds.isEmpty() ? Collections.emptyMap() : remoteDeptService.selectDeptNameByIds(comDeptIds);
|
|
|
+ Map<Long, String> comStaffMap = comStaffIds.isEmpty() ? Collections.emptyMap() : remoteComStaffService.selectStaffNameByIds(comStaffIds);
|
|
|
+ Map<Long, String> comDeptMap = comDeptIds.isEmpty() ? Collections.emptyMap() : remoteDeptService.selectDeptNameByIds(comDeptIds);
|
|
|
records.forEach(v -> {
|
|
|
v.setSalesPersonName(comStaffMap.get(v.getSalesPersonId()));
|
|
|
v.setServiceStaffName(comStaffMap.get(v.getServiceStaffId()));
|