package com.hxzk.gps.controller.HistoryPower; import cn.dev33.satoken.annotation.SaCheckLogin; import com.hxzk.gps.controller.HistoryPower.dto.TableSearchResult.TableSearchResult; import com.hxzk.gps.result.ResultTable; import com.hxzk.gps.service.Anchor.TbAchorService; import com.hxzk.gps.service.HistoryPower.TbAcHistoryPowerService; import com.hxzk.gps.service.HistoryPower.TbHistoryPowerService; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RestController; /** *

* 前端控制器 * 设备历史电量 *

* * @author YuZhiTong * @since 2025-05-27 */ @RestController @RequestMapping("/TagHistoryPower") public class TbHistoryPowerController { @Autowired private TbHistoryPowerService historyPowerService; @SaCheckLogin @ApiOperation(value = "平台基站电量列表接口", notes = "该接口提供了平台基站电量列表查询功能") @PostMapping("FindTagHistoryPowerInfo") public ResultTable FindTagHistoryPowerInfo(@RequestBody TableSearchResult TableSearchResult){ return historyPowerService.FindTagHistoryPowerInfo(TableSearchResult); } }