维修管理优化 完善费用记录字段
This commit is contained in:
parent
44d3b24295
commit
9b2e7d3897
|
|
@ -376,7 +376,7 @@ public class RepairServiceImpl implements RepairService {
|
|||
// 数量管理--外部返厂维修 -- 记录表插入数据
|
||||
RepairApplyRecord repairApplyRecord = new RepairApplyRecord();
|
||||
for (RepairPartDetails repairPartDetails : partList) {
|
||||
repairApplyRecord.setTaskId(bean.getTaskId()).setMaId(bean.getMaId()).setTypeId(bean.getTypeId())
|
||||
repairApplyRecord.setId(bean.getId()).setTaskId(bean.getTaskId()).setMaId(bean.getMaId()).setTypeId(bean.getTypeId())
|
||||
.setRepairType(outRepairType).setRepairNum(repairPartDetails.getRepairNum()).setScrapNum(0)
|
||||
.setPartName(repairPartDetails.getPartName()).setPartType(repairPartDetails.getPartType())
|
||||
.setRepairContent(repairPartDetails.getRepairContent()).setSupplierId(repairPartDetails.getSupplierId())
|
||||
|
|
@ -536,7 +536,7 @@ public class RepairServiceImpl implements RepairService {
|
|||
repairMapper.addPart(partDetails);
|
||||
|
||||
// 设置维修记录的配件费用
|
||||
repairApplyRecord.setPartPrice(partDetails.getPartCost())
|
||||
repairApplyRecord.setId(bean.getId()).setPartPrice(partDetails.getPartCost())
|
||||
.setPartNum(partDetails.getPartNum())
|
||||
.setRepairContent(partDetails.getRepairContent())
|
||||
.setPartType(partDetails.getPartType())
|
||||
|
|
@ -569,7 +569,7 @@ public class RepairServiceImpl implements RepairService {
|
|||
repairMapper.updateRepairedNumTwo(bean.getId(), repairNum, loginUser.getUserid());
|
||||
|
||||
// 编码管理--外部返厂维修
|
||||
RepairApplyRecord repairApplyRecord = new RepairApplyRecord().setTaskId(bean.getTaskId()).setMaId(bean.getMaId())
|
||||
RepairApplyRecord repairApplyRecord = new RepairApplyRecord().setId(bean.getId()).setTaskId(bean.getTaskId()).setMaId(bean.getMaId())
|
||||
.setTypeId(bean.getTypeId()).setRepairType(outRepairType)
|
||||
.setPartName(partList.get(0).getPartName())
|
||||
.setPartType(partList.get(0).getPartType())
|
||||
|
|
|
|||
Loading…
Reference in New Issue