瀏覽代碼

采购优化123

master
PoffyZhang 1 年之前
父節點
當前提交
bb019c164f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

@@ -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)) {


Loading…
取消
儲存