|
@@ -58,6 +58,9 @@ public class RepairInfoService {
|
|
RepairTestVo repairTestVo = repairTestService.getPassVoByRepairId(repairId);
|
|
RepairTestVo repairTestVo = repairTestService.getPassVoByRepairId(repairId);
|
|
RepairComment comment = repairCommentService.getByRepairId(repairId);
|
|
RepairComment comment = repairCommentService.getByRepairId(repairId);
|
|
List<Fault> faultList = faultService.getByRepairId(repairId);
|
|
List<Fault> faultList = faultService.getByRepairId(repairId);
|
|
|
|
+ List<Repair> repairList = repairService.getBySnCode(repair.getCameraSnCode());
|
|
|
|
+ String lastRepairId = repairService.getLastRepairId(repair.getCameraSnCode(),repair.getRepairId());
|
|
|
|
+
|
|
|
|
|
|
detailVo.setCustomer(customer);
|
|
detailVo.setCustomer(customer);
|
|
detailVo.setCustomerAddress(customerAddress);
|
|
detailVo.setCustomerAddress(customerAddress);
|
|
@@ -69,6 +72,7 @@ public class RepairInfoService {
|
|
detailVo.setRepairTestVo(repairTestVo);
|
|
detailVo.setRepairTestVo(repairTestVo);
|
|
detailVo.setRepairComment(comment);
|
|
detailVo.setRepairComment(comment);
|
|
detailVo.setFaultList(faultList);
|
|
detailVo.setFaultList(faultList);
|
|
|
|
+ detailVo.setLastRepairId(lastRepairId);
|
|
|
|
|
|
return detailVo;
|
|
return detailVo;
|
|
}
|
|
}
|