| | |
| | | } |
| | | //4.1提交,复查作业 |
| | | @PutMapping("/") |
| | | @ApiOperation(notes = "",value="提交,复查作业") |
| | | @ApiOperation(notes = "num 为update条件",value="提交,复查作业") |
| | | public ServiceModel update(@RequestBody User_task_batt_check utbc) { |
| | | ServiceModel model=service.update(utbc); |
| | | |
| | |
| | | } |
| | | |
| | | @DeleteMapping("/") |
| | | @ApiOperation(notes = "",value="删除") |
| | | public ServiceModel delete(@RequestBody User_task_batt_check utbc) { |
| | | ServiceModel model=service.delete(utbc); |
| | | |
| | | @ApiOperation(notes = "", value = "删除") |
| | | public ServiceModel delete(@RequestParam Integer num) { |
| | | User_task_batt_check utbc = new User_task_batt_check(); |
| | | utbc.setNum(num); |
| | | ServiceModel model = service.delete(utbc); |
| | | |
| | | return model; |
| | | } |
| | | |
| | | @GetMapping("byCondition") |
| | | @PostMapping("byCondition") |
| | | @ApiOperation(notes = "",value="task_id查询user_task_batt_check信息") |
| | | public ServiceModel serchByCondition(@RequestBody User_task_batt_check utbc){ |
| | | public ServiceModel serchByCondition(@RequestParam Integer task_id) { |
| | | User_task_batt_check utbc = new User_task_batt_check(); |
| | | utbc.setTask_id(task_id); |
| | | ServiceModel model=service.serchByCondition(utbc); |
| | | |
| | | return model; |