| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.BattRtSetDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevBattRtStateSet; |
| | | import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevRtSet; |
| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | @RestController |
| | | @Api(tags = "蓄电池组组端以及主控信息实时状态设置表") |
| | | @Api(tags = "电池单体和组端信息状态设置表") |
| | | @RequestMapping("ckPowerDevBattRtStateSet") |
| | | public class CKPowerDevBattRtStateSetController { |
| | | |
| | |
| | | |
| | | @ApiOperation("设置") |
| | | @PostMapping("update") |
| | | public Response update(@RequestBody CKPowerDevBattRtStateSet set){ |
| | | public Response update(@RequestBody BattRtSetDto set){ |
| | | return service.update(set); |
| | | } |
| | | |