|
@@ -92,7 +92,7 @@ public class RepairSupplyService {
|
|
partLogs.forEach(entity -> map.put(entity.getPriceListId(),entity));
|
|
partLogs.forEach(entity -> map.put(entity.getPriceListId(),entity));
|
|
|
|
|
|
for (PriceList priceList : list) {
|
|
for (PriceList priceList : list) {
|
|
- if(type == 1 && map.get(priceList.getPriceListId()) == null){
|
|
|
|
|
|
+ if(type != 2 && map.get(priceList.getPriceListId()) == null){
|
|
returnList.add(priceList);
|
|
returnList.add(priceList);
|
|
}
|
|
}
|
|
if(type == 2 && map.get(priceList.getPriceListId()) != null){
|
|
if(type == 2 && map.get(priceList.getPriceListId()) != null){
|