|
|
@ -542,7 +542,7 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl<BaseTDx |
|
|
|
currentTax = currentTax.subtract(pageList.get(i).getTaxAmount()); |
|
|
|
currentTax = currentTax.subtract(pageList.get(i).getTaxAmount()); |
|
|
|
hjje = hjje.subtract(pageList.get(i).getInvoiceAmount()); |
|
|
|
hjje = hjje.subtract(pageList.get(i).getInvoiceAmount()); |
|
|
|
|
|
|
|
|
|
|
|
List<BaseTDxRecordInvoice> collect = pageList.stream().skip(i + 1).sorted((e1, e2) -> e2.getTaxAmount().compareTo(e1.getTaxAmount())).collect(Collectors.toList()); |
|
|
|
List<BaseTDxRecordInvoice> collect = pageList.stream().skip(i + 1).sorted((e1, e2) -> e1.getTaxAmount().compareTo(e2.getTaxAmount())).collect(Collectors.toList()); |
|
|
|
if (collect != null && collect.size() > 0){ |
|
|
|
if (collect != null && collect.size() > 0){ |
|
|
|
log.info("从小到大排序在进行添加"); |
|
|
|
log.info("从小到大排序在进行添加"); |
|
|
|
for (int j = 0; j < collect.size(); j++) { |
|
|
|
for (int j = 0; j < collect.size(); j++) { |
|
|
|