瀏覽代碼

bug修复

dzx 2 月之前
父節點
當前提交
f1334a8bb4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/java/com/xjrsoft/module/databoard/controller/DatadetailController.java

+ 3 - 0
src/main/java/com/xjrsoft/module/databoard/controller/DatadetailController.java

@@ -571,6 +571,9 @@ public class DatadetailController {
                 new QueryWrapper<WfSubscription>().lambda()
                         .between((startTime != null && endTime != null), WfSubscription::getShenQingRiQi4752, startTime, endTime)
         );
+
+        result.setAllCount(list.size());
+
         double totalAmount = list.stream().filter(x -> x.getTotalAmount() != null && x.getStatus() == 1).mapToDouble(WfSubscription::getTotalAmount).sum();
         result.setTotalAmount(totalAmount);