| | |
| | | public Map<String, Object> getDevTinfByWeek(@RequestParam Integer uid){ |
| | | return service.getDevTinfByWeek(uid); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取设备的充放电记录") |
| | | @GetMapping("getTinfById") |
| | | public Response getTinfById(@RequestParam Integer devId){ |
| | |
| | | @GetMapping("exportData") |
| | | public void exportData(@RequestParam Integer devId, @RequestParam Integer testRecordCount |
| | | , HttpServletResponse resp){ |
| | | exportService.exportExcel(devId,testRecordCount,resp); |
| | | if(devId/100000000==1){ |
| | | exportService.exportExcelA200(devId,testRecordCount,resp); |
| | | }else{ |
| | | exportService.exportExcelActm(devId,testRecordCount,resp); |
| | | } |
| | | |
| | | } |
| | | } |