Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileAuthCardMapper.java

91 lines
2.1 KiB
Java
Raw Normal View History

2023-03-16 13:19:27 +08:00
package com.jsowell.pile.mapper;
import java.util.List;
import com.jsowell.pile.domain.PileAuthCard;
2023-03-24 13:15:52 +08:00
import com.jsowell.pile.dto.PileAuthCardDTO;
2023-03-23 10:09:22 +08:00
import com.jsowell.pile.vo.web.PileAuthCardVO;
2023-03-16 13:19:27 +08:00
import org.springframework.stereotype.Repository;
/**
* 充电站鉴权卡Mapper接口
*
* @author jsowell
* @date 2023-03-16
*/
@Repository
public interface PileAuthCardMapper {
/**
* 查询充电站鉴权卡
*
* @param id 充电站鉴权卡主键
* @return 充电站鉴权卡
*/
2023-03-24 13:15:52 +08:00
// public PileAuthCard selectPileAuthCardById(Long id);
2023-03-16 13:19:27 +08:00
2023-03-24 13:15:52 +08:00
PileAuthCardVO getCardInfoById(Long id);
/**
* 查询充电站鉴权卡信息
* @param pileAuthCard
* @return
*/
PileAuthCard selectPileAuthCardInfo (PileAuthCard pileAuthCard);
2023-03-16 13:19:27 +08:00
/**
* 查询充电站鉴权卡列表
*
* @param pileAuthCard 充电站鉴权卡
* @return 充电站鉴权卡集合
*/
public List<PileAuthCard> selectPileAuthCardList(PileAuthCard pileAuthCard);
2023-03-23 10:09:22 +08:00
/**
* 查询充电站鉴权卡列表
*
2023-03-24 13:15:52 +08:00
* @param dto 充电站鉴权卡
2023-03-23 10:09:22 +08:00
* @return 充电站鉴权卡集合
*/
2023-03-24 13:15:52 +08:00
public List<PileAuthCardVO> getPileAuthCardInfoList(PileAuthCardDTO dto);
2023-03-23 10:09:22 +08:00
2023-03-16 13:19:27 +08:00
/**
* 新增充电站鉴权卡
*
* @param pileAuthCard 充电站鉴权卡
* @return 结果
*/
public int insertPileAuthCard(PileAuthCard pileAuthCard);
/**
* 修改充电站鉴权卡
*
* @param pileAuthCard 充电站鉴权卡
* @return 结果
*/
public int updatePileAuthCard(PileAuthCard pileAuthCard);
/**
* 删除充电站鉴权卡
*
* @param id 充电站鉴权卡主键
* @return 结果
*/
public int deletePileAuthCardById(Long id);
2023-03-28 14:31:31 +08:00
/**
* 停用某张卡
* @param id
* @return
*/
int deactivateCard(Long id);
2023-03-16 13:19:27 +08:00
/**
* 批量删除充电站鉴权卡
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deletePileAuthCardByIds(Long[] ids);
2023-03-20 17:02:30 +08:00
int unBindingCard(PileAuthCard pileAuthCard);
2023-03-16 13:19:27 +08:00
}