|
@@ -1085,14 +1085,14 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
resultMap.put("costList", retList);
|
|
|
resultMap.put("totalMoneyCost", totalMoneyCost);
|
|
|
if(functionCostList.size()==0){
|
|
|
- resultMap.put("totalCostMoney",null);
|
|
|
+ resultMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
list.forEach(li->{
|
|
|
- li.put("costMoney",null);
|
|
|
+ li.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
}
|
|
|
if(functionTimeList.size()==0){
|
|
|
retList.forEach(li->{
|
|
|
- li.put("cost",null);
|
|
|
+ li.put("cost",0.0);
|
|
|
});
|
|
|
}
|
|
|
httpRespMsg.data = resultMap;
|
|
@@ -1114,14 +1114,14 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
resultMap.put("costList", list);
|
|
|
resultMap.put("totalMoneyCost", totalMoneyCost);
|
|
|
if(functionCostList.size()==0){
|
|
|
- resultMap.put("totalCostMoney",null);
|
|
|
+ resultMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
list.forEach(li->{
|
|
|
- li.put("costMoney",null);
|
|
|
+ li.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
}
|
|
|
if(functionTimeList.size()==0){
|
|
|
list.forEach(li->{
|
|
|
- li.put("cost",null);
|
|
|
+ li.put("cost",0.0);
|
|
|
});
|
|
|
}
|
|
|
httpRespMsg.data = resultMap;
|
|
@@ -4760,14 +4760,14 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
resultMap.put("costList", retList);
|
|
|
resultMap.put("totalMoneyCost", totalMoneyCost);
|
|
|
if(functionCostList.size()==0){
|
|
|
- resultMap.put("totalCostMoney",null);
|
|
|
+ resultMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
retList.forEach(li->{
|
|
|
- li.put("costMoney",null);
|
|
|
+ li.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
}
|
|
|
if(functionTimeList.size()==0){
|
|
|
retList.forEach(li->{
|
|
|
- li.put("cost",null);
|
|
|
+ li.put("cost",0.0);
|
|
|
});
|
|
|
}
|
|
|
httpRespMsg.data = resultMap;
|
|
@@ -4789,14 +4789,14 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
resultMap.put("costList", list);
|
|
|
resultMap.put("totalMoneyCost", totalMoneyCost);
|
|
|
if(functionCostList.size()==0){
|
|
|
- resultMap.put("totalCostMoney",null);
|
|
|
+ resultMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
list.forEach(li->{
|
|
|
- li.put("costMoney",null);
|
|
|
+ li.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
}
|
|
|
if(functionTimeList.size()==0){
|
|
|
list.forEach(li->{
|
|
|
- li.put("cost",null);
|
|
|
+ li.put("cost",0.0);
|
|
|
});
|
|
|
}
|
|
|
httpRespMsg.data = resultMap;
|
|
@@ -5558,14 +5558,14 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
resultMap.put("costList", retList);
|
|
|
resultMap.put("totalMoneyCost", totalMoneyCost);
|
|
|
if(functionCostList.size()==0){
|
|
|
- resultMap.put("totalCostMoney",null);
|
|
|
+ resultMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
list.forEach(li->{
|
|
|
- li.put("costMoney",null);
|
|
|
+ li.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
}
|
|
|
if(functionTimeList.size()==0){
|
|
|
retList.forEach(li->{
|
|
|
- li.put("cost",null);
|
|
|
+ li.put("cost",0.0);
|
|
|
});
|
|
|
}
|
|
|
httpRespMsg.data = resultMap;
|
|
@@ -5587,14 +5587,14 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
resultMap.put("costList", list);
|
|
|
resultMap.put("totalMoneyCost", totalMoneyCost);
|
|
|
if(functionCostList.size()==0){
|
|
|
- resultMap.put("totalCostMoney",null);
|
|
|
+ resultMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
list.forEach(li->{
|
|
|
- li.put("costMoney",null);
|
|
|
+ li.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
}
|
|
|
if(functionTimeList.size()==0){
|
|
|
list.forEach(li->{
|
|
|
- li.put("cost",null);
|
|
|
+ li.put("cost",0.0);
|
|
|
});
|
|
|
}
|
|
|
httpRespMsg.data = resultMap;
|
|
@@ -5891,11 +5891,11 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
finalMap.put("totalCostMoney", totalCostMoney);
|
|
|
finalMap.put("list", list);
|
|
|
if(functionCostList.size()==0){
|
|
|
- finalMap.put("totalCostMoney",null);
|
|
|
+ finalMap.put("totalCostMoney",new BigDecimal(0));
|
|
|
list.forEach(li->{
|
|
|
List<Map<String,Object>> mapList= (List<Map<String, Object>>) li.get("name");
|
|
|
mapList.forEach(ml->{
|
|
|
- ml.put("costMoney",null);
|
|
|
+ ml.put("costMoney",new BigDecimal(0));
|
|
|
});
|
|
|
});
|
|
|
}
|
|
@@ -5903,7 +5903,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
list.forEach(li->{
|
|
|
List<Map<String,Object>> mapList= (List<Map<String, Object>>) li.get("name");
|
|
|
mapList.forEach(ml->{
|
|
|
- ml.put("cost",null);
|
|
|
+ ml.put("cost",0.0);
|
|
|
});
|
|
|
});
|
|
|
}
|