bug修复
This commit is contained in:
parent
219db99369
commit
c26ae71d3e
|
|
@ -174,7 +174,7 @@ public class RepairAuditDetailsServiceImpl implements IRepairAuditDetailsService
|
|||
if (CollectionUtils.isNotEmpty(partDetailsList)) {
|
||||
info.setRepairPartList(partDetailsList);
|
||||
}
|
||||
} else {
|
||||
} else if ("2".equals(info.getRepairType())){
|
||||
RepairRecord repairRecord = new RepairRecord();
|
||||
repairRecord.setPartName(info.getPartTotalName());
|
||||
repairRecord.setPartNum(info.getPartTotalNum());
|
||||
|
|
@ -196,7 +196,7 @@ public class RepairAuditDetailsServiceImpl implements IRepairAuditDetailsService
|
|||
List<RepairPart> repartList = repairAuditDetailsMapper.getRepartList(bean);
|
||||
if (CollectionUtils.isNotEmpty(repartList)) {
|
||||
String repairType = repartList.get(0).getRepairType();
|
||||
if ("2".equals(repairType) || "3".equals(repairType)) {
|
||||
if ("2".equals(repairType)) {
|
||||
return repartList;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue