Compare commits
No commits in common. "0af7c7cf0b391275a1d897a92d2346b997c2ba99" and "98d25536815bd62157431bfe9460ac408e8a2ffc" have entirely different histories.
0af7c7cf0b
...
98d2553681
|
|
@ -82,7 +82,6 @@ public class RepairServiceImpl implements RepairService {
|
||||||
List<RepairPartDetails> partList = bean.getPartList();
|
List<RepairPartDetails> partList = bean.getPartList();
|
||||||
BigDecimal sfCosts = new BigDecimal("0");
|
BigDecimal sfCosts = new BigDecimal("0");
|
||||||
BigDecimal bsfCosts = new BigDecimal("0");
|
BigDecimal bsfCosts = new BigDecimal("0");
|
||||||
Integer partNum = 0;
|
|
||||||
String nbType = "1"; // 内部维修
|
String nbType = "1"; // 内部维修
|
||||||
String fcType = "2"; //返厂维修
|
String fcType = "2"; //返厂维修
|
||||||
String sfPart = "1"; //收费
|
String sfPart = "1"; //收费
|
||||||
|
|
@ -136,12 +135,11 @@ public class RepairServiceImpl implements RepairService {
|
||||||
partDetails.setCompanyId(bean.getCompanyId());
|
partDetails.setCompanyId(bean.getCompanyId());
|
||||||
mapper.addPart(partDetails);
|
mapper.addPart(partDetails);
|
||||||
bean.setPartPrice(partDetails.getPartCost());
|
bean.setPartPrice(partDetails.getPartCost());
|
||||||
partNum += partDetails.getPartNum();
|
bean.setPartNum(partDetails.getPartNum());
|
||||||
bean.setRepairContent(partDetails.getRepairContent());
|
bean.setRepairContent(partDetails.getRepairContent());
|
||||||
bean.setPartType(partDetails.getPartType());
|
bean.setPartType(partDetails.getPartType());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bean.setPartNum(partNum);
|
|
||||||
}
|
}
|
||||||
if (fcType.equals(bean.getRepairType())) {
|
if (fcType.equals(bean.getRepairType())) {
|
||||||
bean.setPartName(partList.get(0).getPartName());
|
bean.setPartName(partList.get(0).getPartName());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue