| | |
| | | import com.whyc.dto.paramter.GroupTestCapPar; |
| | | import com.whyc.pojo.Battinf; |
| | | import com.whyc.service.BatttestdataInfService; |
| | | import com.whyc.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @PostMapping("/searchBattLastHrDataById") |
| | | @ApiOperation(value = "最后一次核容放电数据") |
| | | public Response searchBattLastHrDataById(@RequestParam int battGroupId, @RequestParam int devId) { |
| | | return service.searchBattLastHrDataById(battGroupId, devId); |
| | | String lang = ActionUtil.getLang(); |
| | | return service.searchBattLastHrDataById(battGroupId, devId, lang); |
| | | } |
| | | |
| | | @PostMapping("/searchBattLife") |