| | |
| | | |
| | | //3.2电池告警历史记录查询 |
| | | @PostMapping("byInfo") |
| | | @ApiOperation(notes = "binf.stationName1&binf.stationName 模糊查询 { \"binf\": { \"stationName\": \"\", \"stationName1\": \"\", \"battGroupId\": 0 },\"mainf\": { \"num\": 0, \"battGroupId\": 0, \"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\": { \"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 = "电池告警历史记录查询") |
| | | @ApiOperation(notes = "stationName、stationName模糊查询条件 binf.stationName1&binf.stationName 模糊查询 { \"binf\": { \"stationName\": \"\", \"stationName1\": \"\", \"battGroupId\": 0 },\"mainf\": { \"num\": 0, \"battGroupId\": 0, \"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\": { \"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) { |
| | | // bmd = ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(result, Batt_Maint_Dealarm.class); |
| | | User_inf uinf = (User_inf) ActionUtil.getUser(); |
| | |
| | | |
| | | //0.5查询实时告警数 |
| | | @PostMapping("alm") |
| | | @ApiOperation(notes = "", value = "查询实时告警数") |
| | | public ServiceModel serchAlm(@ApiParam(value = "binf.stationName", required = true) @RequestParam String stationName) { |
| | | @ApiOperation(notes = "stationName 模糊查询", value = "查询实时告警数") |
| | | public ServiceModel serchAlm(@ApiParam(value = "地址 模糊查询条件", required = true) @RequestParam String stationName) { |
| | | Batt_Maint_Dealarm bmd = new Batt_Maint_Dealarm(); |
| | | User_inf uinf = (User_inf) ActionUtil.getUser(); |
| | | bmd.setUinf(uinf); |