| | |
| | | package com.ruoyi.chargingPile.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.chargingPile.api.dto.PageChargingPileListDTO; |
| | | import com.ruoyi.chargingPile.api.model.TChargingPile; |
| | | import com.ruoyi.chargingPile.api.query.BatchSetAccountingStrategy; |
| | | import com.ruoyi.chargingPile.api.query.PageChargingPileList; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2024-08-06 |
| | | */ |
| | | public interface TChargingPileService extends IService<TChargingPile> { |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取充电桩列表 |
| | | * @param page |
| | | * @return |
| | | */ |
| | | PageInfo<PageChargingPileListDTO> pageChargingPileList(PageChargingPileList page); |
| | | |
| | | |
| | | /** |
| | | * 添加充电桩 |
| | | * @param chargingPile |
| | | * @return |
| | | */ |
| | | AjaxResult addChargingPile(TChargingPile chargingPile); |
| | | |
| | | |
| | | /** |
| | | * 获取充电桩详情 |
| | | * @param id 充电桩id |
| | | * @return |
| | | */ |
| | | TChargingPile getChargingPile(Integer id); |
| | | |
| | | |
| | | /** |
| | | * 编辑充电桩 |
| | | * @param chargingPile |
| | | * @return |
| | | */ |
| | | AjaxResult editChargingPile(TChargingPile chargingPile); |
| | | |
| | | |
| | | /** |
| | | * 删除充电桩 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | AjaxResult delChargingPile(Integer id); |
| | | |
| | | |
| | | /** |
| | | * 批量设置计费策略 |
| | | * @param setAccountingStrategy |
| | | */ |
| | | void batchSetAccountingStrategy(BatchSetAccountingStrategy setAccountingStrategy); |
| | | } |