| | |
| | | public Response getDischr6Statistic(@RequestBody DisChargeStic stic){ |
| | | User uinf= ActionUtil.getUser(); |
| | | stic.setUid(uinf.getId()); |
| | | if(stic.getTypeList()==null||stic.getTypeList().size()==0){ |
| | | /*if(stic.getTypeList()==null||stic.getTypeList().size()==0){ |
| | | stic.setStopReasonType(0); |
| | | }else{ |
| | | stic.setStopReasonType(1); |
| | | } |
| | | }*/ |
| | | return battTinfService.getDischr6Statistic(stic); |
| | | } |
| | | @ApiOperation(value = "优良电源数量统计(1.2.7)") |
| | | @PostMapping("getPwr7Statistic") |
| | | public Response getPwr7Statistic(@RequestBody Pwr7Stic stic){ |
| | | public Response getPwr7Statistic(@RequestBody Pwr7Stic stic) throws NoSuchFieldException, IllegalAccessException { |
| | | User uinf= ActionUtil.getUser(); |
| | | stic.setUid(uinf.getId()); |
| | | return battTinfService.getPwr7Statistic(stic); |
| | | } |
| | | @ApiOperation(value = "电池组电池性能统计(未放电,优秀,劣化,损坏)统计(1.2.8/9/10)") |
| | | @ApiOperation(value = "电池组电池性能统计(优秀,劣化,损坏<按照容量统计>)统计(1.2.8/9/10)") |
| | | @PostMapping("getPerformanceStatistic") |
| | | public Response getPerformanceStatistic(@RequestBody PerformanceStic stic){ |
| | | User uinf= ActionUtil.getUser(); |
| | |
| | | return battTinfService.getPerformanceStatistic(stic); |
| | | } |
| | | |
| | | @ApiOperation(value = "电池组电池性能统计(劣化<按照单体电压+内阻统计>)统计(1.2.9)") |
| | | @PostMapping("getPerVolAndRes9Statistic") |
| | | public Response getPerVolAndRes9Statistic(@RequestBody PerformanceStic stic){ |
| | | User uinf= ActionUtil.getUser(); |
| | | stic.setUid(uinf.getId()); |
| | | return battTinfService.getPerVolAndRes9Statistic(stic); |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "站点信息统计(1.2.11)") |
| | | @PostMapping("getStationStatistic") |