Compare commits
No commits in common. "345aaa77af2ce4c23d8da6e57e78cd4ca8784b88" and "2114d2a0cfefab9153d148ea60bf6871239115f0" have entirely different histories.
345aaa77af
...
2114d2a0cf
@ -274,7 +274,6 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
|||||||
List<RepairProject> repairProjects = projectService.listByIds(ids);
|
List<RepairProject> repairProjects = projectService.listByIds(ids);
|
||||||
items.forEach(item -> repairProjects.stream().filter(i -> i.getId().equals(item.getProjectId())).findFirst().ifPresent(item::setProject));
|
items.forEach(item -> repairProjects.stream().filter(i -> i.getId().equals(item.getProjectId())).findFirst().ifPresent(item::setProject));
|
||||||
}
|
}
|
||||||
result.setProjects(projects);
|
|
||||||
|
|
||||||
// 取配件
|
// 取配件
|
||||||
List<DlRepairTitemReqVO> wares = items.stream().filter(item -> item.getItemType().equals("02")).collect(Collectors.toList());
|
List<DlRepairTitemReqVO> wares = items.stream().filter(item -> item.getItemType().equals("02")).collect(Collectors.toList());
|
||||||
@ -283,7 +282,6 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
|||||||
List<RepairWares> repairWares = waresService.listByIds(ids);
|
List<RepairWares> repairWares = waresService.listByIds(ids);
|
||||||
items.forEach(item -> repairWares.stream().filter(i -> i.getId().equals(item.getPartId())).findFirst().ifPresent(item::setWare));
|
items.forEach(item -> repairWares.stream().filter(i -> i.getId().equals(item.getPartId())).findFirst().ifPresent(item::setWare));
|
||||||
}
|
}
|
||||||
result.setWares(wares);
|
|
||||||
// 取附加
|
// 取附加
|
||||||
List<DlRepairTitemReqVO> others = items.stream().filter(item -> item.getItemType().equals("03")).collect(Collectors.toList());
|
List<DlRepairTitemReqVO> others = items.stream().filter(item -> item.getItemType().equals("03")).collect(Collectors.toList());
|
||||||
if (CollectionUtil.isNotEmpty(others)) {
|
if (CollectionUtil.isNotEmpty(others)) {
|
||||||
|
@ -45,7 +45,4 @@ public class DlRepairTicketsRespVO extends DlRepairTickets {
|
|||||||
private CustomerMain customerInfo;
|
private CustomerMain customerInfo;
|
||||||
/** 车辆信息 */
|
/** 车辆信息 */
|
||||||
private CarMainRespVO carInfo;
|
private CarMainRespVO carInfo;
|
||||||
List<DlRepairTitemReqVO> wares;
|
|
||||||
List<DlRepairTitemReqVO> projects;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user