| | |
| | | public Response getMonVolStd(){ |
| | | return service.getMonVolStd(); |
| | | } |
| | | |
| | | @ApiOperation("按照筛选条件查询数据库信息") |
| | | @GetMapping("getDataByCondition") |
| | | public Response getDataByCondition(@RequestParam(required = false ,defaultValue = "1982-01-01 00:00:00") String startTime |
| | |
| | | return service.getDataByCondition(testTime1,testTime2,battVol); |
| | | } |
| | | |
| | | @ApiOperation("分级评价-查询系数/阈值") |
| | | @ApiOperation("分级评价-系数及阈值查询") |
| | | @GetMapping("factorsAndThreshold") |
| | | public Response getFactorsAndThreshold(@RequestParam int fieldId){ |
| | | FileParam param = service.getFactorsAndThreshold(fieldId); |
| | | public Response getFactorsAndThreshold(@RequestParam String fileId){ |
| | | FileParam param = service.getFactorsAndThreshold(fileId); |
| | | return new Response().set(1,param); |
| | | } |
| | | |
| | | @ApiOperation("分级评价-更新系数/阈值") |
| | | @ApiOperation("分级评价-系数及阈值更新及禁用启用") |
| | | @PutMapping("factorsAndThreshold") |
| | | public Response updateFactorsAndThreshold(@RequestBody FileParam param){ |
| | | service.updateFactorsAndThreshold(param); |