| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.Ld9Setparam; |
| | | import com.whyc.service.Ld9SetparamService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | public Response serchbyDev_id(@RequestParam int num,@RequestParam int devId){ |
| | | return service.serchbyDev_id(num,devId); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取LD9放电参数",notes = "LD9_setparamAction_ld9action_serchByCondition") |
| | | @GetMapping("serchByCondition") |
| | | public Response serchByCondition(@RequestParam int num,@RequestParam int devId,@RequestParam int battGroupid){ |
| | | return service.serchByCondition(num,devId,battGroupid); |
| | | } |
| | | |
| | | @ApiOperation(value = "设置LD9放电参数",notes = "LD9_setparamAction_ld9action_update") |
| | | @PostMapping("update") |
| | | public Response update(@RequestBody Ld9Setparam ld9Setparam){ |
| | | return service.update(ld9Setparam); |
| | | } |
| | | } |