| | |
| | | //4.5作业变更查询(删除记录) |
| | | @DeleteMapping("/") |
| | | @ApiOperation(notes = "",value="作业变更查询(删除记录)") |
| | | public ServiceModel delete(@RequestBody User_task_change utc) { |
| | | public ServiceModel delete(@RequestParam Integer num) { |
| | | User_task_change utc = new User_task_change(); |
| | | utc.setNum(num); |
| | | ServiceModel model=service.delete(utc); |
| | | |
| | | return model; |
| | |
| | | |
| | | //4.5作业变更查询 |
| | | @PostMapping("byCondition") |
| | | @ApiOperation(notes = "",value="作业变更查询") |
| | | @ApiOperation(notes = "{ \"binf\": { \"stationName\": \"湖北省-武汉市-东西湖区-61850机房-2G-2G-2\", \"stationName1\": \"湖北省\", \"battGroupId\": 0, \"battGroupName\": \"tt\", \"battGroupName1\": \"t\", \"monCapStd\": 150, \"monVolStd\": 2, \"battProducer\": \"理士\" },\"uchange\": { \"usr_id\": 0, \"change_type_id\": 0, \"task_type_id\": 0, \"task_change_approve_res\": 0, \"change_ask_time\": \"2001-01-23 08:14:23\", \"change_ask_time1\": \"2021-01-23 08:14:23\" },\"pageBean\": { \"pageSize\": 11, \"pageNum\": 0 } }",value="作业变更查询") |
| | | public ServiceModel serchByCondition(@RequestBody Task_Batt_Test tbt){ |
| | | ServiceModel model=service.serchByCondition(tbt); |
| | | |
| | |
| | | |
| | | //查询所有 |
| | | @GetMapping("all") |
| | | @ApiOperation(notes = "",value="查询所有") |
| | | @ApiOperation(notes = "未实现",value="查询所有") |
| | | public ServiceModel searchAll(){ |
| | | ServiceModel model=service.searchAll(); |
| | | // ServiceModel model=service.searchAll(); |
| | | |
| | | return model; |
| | | return new ServiceModel(); |
| | | } |
| | | |
| | | } |