维修管理优化--配件费用赋值

This commit is contained in:
syruan 2024-11-19 16:27:32 +08:00
parent 4cbede39d1
commit 44d3b24295
1 changed files with 2 additions and 2 deletions

View File

@ -530,8 +530,8 @@ public class RepairServiceImpl implements RepairService {
// 根据 partId 找配件单价
BigDecimal partPrice = repairMapper.selectPartPrice(partDetails.getPartId());
// 设置配件费用
partDetails.setPartCost(partPrice);
// 设置配件单价费用
partDetails.setPartPrice(partPrice);
// 添加维修配件明细表
repairMapper.addPart(partDetails);