| | |
| | | |
| | | List<DataResPo> cdList = getResCdList(type); |
| | | cdList.forEach(dataResPo -> { |
| | | if (dataResPo.getChildren() != null){ |
| | | if (dataResPo.getChildren() != null && dataResPo.getChildren().size()>0){ |
| | | BatchDataPo batchDataPo = new BatchDataPo(dataResPo, type); |
| | | nkyService.batchData(batchDataPo); |
| | | } |
| | |
| | | cdList = ztApiService.getResSy(); |
| | | } else if (type.equals("2")) { |
| | | //获取渗流测点 |
| | | return null; |
| | | cdList=ztApiService.getResSl(); |
| | | } else if (type.equals("3") || type.equals("4") || type.equals("5")) { |
| | | //获取位移测点 |
| | | cdList = ztApiService.getResWy(); |