| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.Statistic.BattTinfStic; |
| | | import com.whyc.dto.Statistic.DeviceStateStic; |
| | | import com.whyc.dto.Statistic.MonStic; |
| | | import com.whyc.dto.Statistic.StationStic; |
| | | import com.whyc.dto.Statistic.*; |
| | | import com.whyc.pojo.db_user.User; |
| | | import com.whyc.service.*; |
| | | import com.whyc.util.ActionUtil; |
| | |
| | | stic.setUid(uinf.getId()); |
| | | return battTinfService.getBattTinfStatistic(stic); |
| | | } |
| | | @ApiOperation(value = "蓄电池组对比分析界面(同一品牌同一时间)(1.2.15)") |
| | | @PostMapping("getBattCompare15Statistic") |
| | | public Response getBattCompare15Statistic(@RequestBody BattCompareStic stic){ |
| | | User uinf= ActionUtil.getUser(); |
| | | stic.setUid(uinf.getId()); |
| | | return battTinfService.getBattCompare15Statistic(stic); |
| | | } |
| | | |
| | | @ApiOperation(value = "设备工作状态统计(1.2.21)") |
| | | @PostMapping("getDeviceStateStatistic") |
| | |
| | | stic.setUid(uinf.getId()); |
| | | return deviceStateService.getDeviceStateStatistic(stic); |
| | | } |
| | | |
| | | |
| | | } |