|
|
@ -261,10 +261,10 @@ public class SupplierinvoiceRequestMainServiceImpl implements SupplierinvoiceReq |
|
|
|
Set<String> verify = new HashSet<>(); |
|
|
|
Set<String> subList1 = new HashSet<>(); |
|
|
|
for (ReceiptOrReturnRespVO li : receiptOrReturnRespVOList) { |
|
|
|
verify.add(li.getItemCode() + "#" + li.getPoLine() + "#" + li.getPoNumber()); |
|
|
|
verify.add(li.getItemCode() + "#"+li.getRecvBillNum() + "#" + li.getPoLine() + "#" + li.getPoNumber()); |
|
|
|
} |
|
|
|
for (SupplierinvoiceRequestDetailCreateReqVO detail : subList) { |
|
|
|
subList1.add(detail.getItemCode() + "#" + detail.getPoLine() + "#" + detail.getPoNumber()); |
|
|
|
subList1.add(detail.getItemCode() +"#"+detail.getRecvBillNum()+ "#" + detail.getPoLine() + "#" + detail.getPoNumber()); |
|
|
|
} |
|
|
|
boolean b = subList1.containsAll(verify); |
|
|
|
if(!b){ |
|
|
|