Commit 540ea40b authored by chenzhao's avatar chenzhao

使用登记表 管道设备数量修改为管道长度单位

parent c01bf641
...@@ -2323,7 +2323,7 @@ public class CommonServiceImpl implements ICommonService { ...@@ -2323,7 +2323,7 @@ public class CommonServiceImpl implements ICommonService {
.filter(map -> map.containsKey("pipeLength") && map.get("pipeLength") instanceof Number) .filter(map -> map.containsKey("pipeLength") && map.get("pipeLength") instanceof Number)
.mapToDouble(map -> ((Number) map.get("pipeLength")).doubleValue()) .mapToDouble(map -> ((Number) map.get("pipeLength")).doubleValue())
.sum(); .sum();
formData.put("equNum",String.valueOf(pipeLength)+"m"); formData.put("equNum",String.valueOf(pipeLength)+"");
}else { }else {
//设备数量 //设备数量
formData.put("equNum",equipmentLists.size()); formData.put("equNum",equipmentLists.size());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment