|
@@ -200,10 +200,10 @@ public class RepairSaleService {
|
|
LaborCost laborCost = laborMap.get(priceList.getLaborId());
|
|
LaborCost laborCost = laborMap.get(priceList.getLaborId());
|
|
priceList.setPrice(laborCost.getPrice());
|
|
priceList.setPrice(laborCost.getPrice());
|
|
priceList.setName(laborCost.getName());
|
|
priceList.setName(laborCost.getName());
|
|
|
|
+ priceList.setPriceListId(null);
|
|
}
|
|
}
|
|
- priceList.setPriceListId(null);
|
|
|
|
priceList.setRepairId(param.getRepairId());
|
|
priceList.setRepairId(param.getRepairId());
|
|
- priceListService.save(priceList);
|
|
|
|
|
|
+ priceListService.saveOrUpdate(priceList);
|
|
|
|
|
|
}
|
|
}
|
|
repairLogService.saveBySysUser(userId,param.getRepairId(),RepairStatusEnum.TO_BE_CONFIRMED.status(),"维修报价");
|
|
repairLogService.saveBySysUser(userId,param.getRepairId(),RepairStatusEnum.TO_BE_CONFIRMED.status(),"维修报价");
|