|
@@ -40,6 +40,8 @@ public class RepairCustomerService {
|
|
|
@Autowired
|
|
|
IPriceListService priceListService;
|
|
|
@Autowired
|
|
|
+ IPriceListLogService priceListLogService;
|
|
|
+ @Autowired
|
|
|
RepairSupplyService repairSupplyService;
|
|
|
@Autowired
|
|
|
IPartLogService partLogService;
|
|
@@ -93,6 +95,7 @@ public class RepairCustomerService {
|
|
|
}
|
|
|
if(param.getConfirm() == 0){
|
|
|
priceListService.updateStatusByRepairId(repair.getRepairId());
|
|
|
+ priceListLogService.updateByRepairId(repair.getRepairId());
|
|
|
//无备件更换,不需要备料,应直接进入维修中
|
|
|
List<PriceList> partList = priceListService.getByRepairId(repair.getRepairId());
|
|
|
List<PriceList> collect = partList.stream().filter(entity -> entity.getType() == 0).collect(Collectors.toList());
|