Browse Source

驾驶舱 地图项目数

tags/24080901
PoffyZhang 1 year ago
parent
commit
7a0a0a8ad7
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/dashboard/manage/DashboardProjectManage.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/dashboard/manage/DashboardProjectManage.java View File

@@ -381,7 +381,9 @@ public class DashboardProjectManage {
array.forEach(j -> { array.forEach(j -> {
JSONObject json = JSON.parseObject(JSON.toJSONString(j)); JSONObject json = JSON.parseObject(JSON.toJSONString(j));
Double safetyInputAmount = json.getDouble(DashboardConstant.Protrait.FEILD_SAFETYMONEY); Double safetyInputAmount = json.getDouble(DashboardConstant.Protrait.FEILD_SAFETYMONEY);
total[0] += safetyInputAmount;
if(Objects.nonNull(safetyInputAmount)){
total[0] += safetyInputAmount;
}
}); });
Double totalAmount = total[0]; Double totalAmount = total[0];
//申报金额 //申报金额


Loading…
Cancel
Save