| | |
| | | //4.4 作业模板管理(删除) |
| | | @DeleteMapping("/") |
| | | @ApiOperation(notes = "",value="作业模板管理(删除)") |
| | | public ServiceModel delete(@RequestBody User_task_batt_template utbt){ |
| | | public ServiceModel delete(@RequestParam Integer template_id){ |
| | | User_task_batt_template utbt = new User_task_batt_template(); |
| | | utbt.setTemplate_id(template_id); |
| | | ServiceModel model=service.delete(utbt); |
| | | |
| | | return model; |
| | |
| | | //4.4根据模板id查询模板的信息 |
| | | @PostMapping("byCondition") |
| | | @ApiOperation(notes = "",value="模板id查询模板的信息") |
| | | public ServiceModel serchByCondition(@RequestBody User_task_batt_template utbt){ |
| | | public ServiceModel serchByCondition(@RequestParam Integer template_id){ |
| | | User_task_batt_template utbt = new User_task_batt_template(); |
| | | utbt.setTemplate_id(template_id); |
| | | ServiceModel model=service.serchByCondition(utbt); |
| | | |
| | | return model; |