New file |
| | |
| | | package com.ruoyi.chargingPile.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.chargingPile.api.dto.PartnerListDTO; |
| | | import com.ruoyi.chargingPile.api.model.Partner; |
| | | import com.ruoyi.chargingPile.api.query.GetPartnerList; |
| | | import com.ruoyi.chargingPile.dto.ResetPassword; |
| | | 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; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2024/8/7 13:48 |
| | | */ |
| | | public interface IPartnerService extends IService<Partner> { |
| | | |
| | | |
| | | /** |
| | | * 获取合作商列表数据 |
| | | * @param partnerList |
| | | * @return |
| | | */ |
| | | PageInfo<PartnerListDTO> getPartnerList(GetPartnerList partnerList); |
| | | |
| | | |
| | | /** |
| | | * 添加合作商 |
| | | * @param partner |
| | | * @return |
| | | */ |
| | | AjaxResult addPartner(Partner partner); |
| | | |
| | | |
| | | /** |
| | | * 获取合作商详情 |
| | | * @param id 合作商id |
| | | * @return |
| | | */ |
| | | Partner getPartner(Integer id); |
| | | |
| | | /** |
| | | * 编辑合作商数据 |
| | | * @param partner |
| | | * @return |
| | | */ |
| | | AjaxResult editPartner(Partner partner); |
| | | |
| | | /** |
| | | * 删除合作商 |
| | | * @param id |
| | | */ |
| | | AjaxResult delPartner(Integer id); |
| | | |
| | | /** |
| | | * 重置密码 |
| | | * @param resetPassword |
| | | */ |
| | | AjaxResult resetPassword(ResetPassword resetPassword); |
| | | } |