src/main/java/com/whyc/webSocket/RealTimeSocket.java
@@ -241,7 +241,7 @@ topDto.setCaptestTimelong(deviceState.getDevCaptestTimelong()); topDto.setCaptestCap(deviceState.getDevCaptestCap()); //剩余容量和剩余时间计算 Float restCap = batttestdataInfService.getLastTestDataRestCap(realDto.getBattgroupId()); Float restCap = batttestdataInfService.getLastTestDataRestCap(binf.getMoncapstd(),realDto.getBattgroupId()); topDto.setRestCap(restCap); //实时组端电流,剩余容量,标称容量 if(battRtstate!=null){