移动端接口bug

This commit is contained in:
zy 2026-05-08 18:31:02 +08:00
parent ee9af0baf3
commit 9e403c1f98
1 changed files with 11 additions and 11 deletions

View File

@ -317,16 +317,16 @@ public class SurvStationInfoController {
finalDataCounts=finalDataCounts+dataCounts; finalDataCounts=finalDataCounts+dataCounts;
} }
// //畜禽 // //畜禽
// if(!liveList.isEmpty()) { if(!liveList.isEmpty()) {
// SurvTransdataLivestockwaterVo survTransdataLivestockwaterVo = livestockwaterService.getNewestDataWithStation(liveList); SurvTransdataLivestockwaterVo survTransdataLivestockwaterVo = livestockwaterService.getNewestDataWithStation(liveList);
// ConstructLive constructLive = new ConstructLive(); ConstructLive constructLive = new ConstructLive();
// constructLive.setDeploy(deployMap.get(survTransdataLivestockwaterVo.getDeployCode())); constructLive.setDeploy(deployMap.get(survTransdataLivestockwaterVo.getDeployCode()));
// constructLive.setTransdataLivestockwaterVo(survTransdataLivestockwaterVo); constructLive.setTransdataLivestockwaterVo(survTransdataLivestockwaterVo);
// LiveData.addAll(zhAdminFeignClient.constructLive(constructLive)); LiveData.addAll(zhAdminFeignClient.constructLive(constructLive));
// //计算历史数据量 //计算历史数据量
// Integer dataCounts = hisdataLivestockwaterService.getHisDataCount(liveList); Integer dataCounts = hisdataLivestockwaterService.getHisDataCount(liveList);
// finalDataCounts=finalDataCounts+dataCounts; finalDataCounts=finalDataCounts+dataCounts;
// } }
// //气实时 // //气实时
// if(!airList.isEmpty()) { // if(!airList.isEmpty()) {
// SurvTransdataAirVo survTransdataAirVo=transdataAirService.getNewestDataWithStation(airList); // SurvTransdataAirVo survTransdataAirVo=transdataAirService.getNewestDataWithStation(airList);
@ -405,7 +405,7 @@ public class SurvStationInfoController {
jsonObject.put("soilSurvData",soilData);//土壤 jsonObject.put("soilSurvData",soilData);//土壤
jsonObject.put("waterSurvData",waterData);//水五常 jsonObject.put("waterSurvData",waterData);//水五常
jsonObject.put("orientSurvData",orientData);//面源 jsonObject.put("orientSurvData",orientData);//面源
jsonObject.put("liveSurvData",liveList);//畜禽 jsonObject.put("liveSurvData",LiveData);//畜禽
jsonObject.put("stinkSurvData",stinkData);//恶臭 jsonObject.put("stinkSurvData",stinkData);//恶臭
//历史数据 //历史数据
JSONArray hisjsonArray = new JSONArray(); JSONArray hisjsonArray = new JSONArray();