|
|
@ -935,7 +935,8 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo |
|
|
|
IPage<AftersalesWorkOrderEntity> iPage = baseMapper.pageListOwn(page, workOrderEntity); |
|
|
|
IPage<AftersalesWorkOrderEntity> iPage = baseMapper.pageListOwn(page, workOrderEntity); |
|
|
|
if (iPage.getRecords().isEmpty()) { |
|
|
|
if (iPage.getRecords().isEmpty()) { |
|
|
|
log.error(">>>>>>>>>>>>>>>>>>查询工单列表为空"); |
|
|
|
log.error(">>>>>>>>>>>>>>>>>>查询工单列表为空"); |
|
|
|
return null; |
|
|
|
IPage<AftersalesWorkOrderVO> data = AftersalesWorkOrderWrapper.build().pageVO(iPage); |
|
|
|
|
|
|
|
return data; |
|
|
|
} |
|
|
|
} |
|
|
|
// 获取售后工单的ID 集合
|
|
|
|
// 获取售后工单的ID 集合
|
|
|
|
List<Long> workOrderIds = iPage.getRecords().stream().map(AftersalesWorkOrderEntity::getId).collect(Collectors.toList()); |
|
|
|
List<Long> workOrderIds = iPage.getRecords().stream().map(AftersalesWorkOrderEntity::getId).collect(Collectors.toList()); |
|
|
|