| | |
| | | |
| | | //3.2电池告警查询(删除记录) |
| | | @DeleteMapping("/") |
| | | @ApiOperation(notes = "",value="电池告警查询(删除记录)") |
| | | @ApiOperation(notes = "[{ \"num\": 1816, \"stationname\": \"\", \"note\": \"\" }]",value="电池告警查询(删除记录)") |
| | | public ServiceModel delete(@RequestBody List<Battalarm_data_history> list) { |
| | | // List<Battalarm_data_history> list=getGson().fromJson(json, new TypeToken<List<Battalarm_data_history>>(){}.getType()); |
| | | ServiceModel model=service.delete(list); |
| | | ServiceModel model = service.delete(list); |
| | | return model; |
| | | } |
| | | |
| | | //3.2电池告警历史记录查询 |
| | | @GetMapping("byInfo") |
| | | @ApiOperation(notes = "",value="电池告警历史记录查询") |
| | | @PostMapping("byInfo") |
| | | @ApiOperation(notes = "binf.stationName1&binf.stationName 模糊查询 { \"binf\": { \"stationName\": \"\", \"stationName1\": \"\", \"battGroupId\": 0 },\"mainf\": { \"num\": 0, \"battGroupId\": 0, \"uname\": \"\", \"fault_level\": 0, \"fault_type_id\": 0, \"record_uid\": 0, \"maint_type_id\": 0, \"maint_done\": 0, \"maint_close\": 0, \"master_audit\": 0, \"appoint_uid\": 0 },\"pageBean\": { \"pageSize\": 10, \"pageNum\": 0 },\"adata_H\": { \"alm_id\": 0, \"alm_signal_id\": 0, \"alm_start_time\": \"2021-01-29 09:40:11\", \"alm_start_time1\": \"2021-01-29 09:40:11\" } }",value="电池告警历史记录查询") |
| | | public ServiceModel serchByInfo(@RequestBody Batt_Maint_Dealarm bmd){ |
| | | // Batt_Maint_Dealarm bmd = ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Batt_Maint_Dealarm.class); |
| | | User_inf uinf=(User_inf) ActionUtil.getUser(); |
| | | bmd.setUinf(uinf); |
| | | ServiceModel model=service.serchByInfo(bmd); |