Pārlūkot izejas kodu

采购优化123

tags/24080901
PoffyZhang pirms 1 gada
vecāks
revīzija
bb019c164f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/PurchaseManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/PurchaseManage.java Parādīt failu

@@ -209,7 +209,7 @@ public class PurchaseManage {
// 获取总的成交时间及金额
LocalDateTime lastTransactionTime = null;
BigDecimal transactionAmountTotal = BigDecimal.ZERO;
for (Purchase purchase : purchases) {
for (Purchase purchase : purchaseEntities) {
if (lastTransactionTime == null) {
lastTransactionTime = purchase.getTransactionTime();
} else if (purchase.getTransactionTime().isAfter(lastTransactionTime)) {


Notiek ielāde…
Atcelt
Saglabāt