mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-26 22:15:06 +08:00
update
This commit is contained in:
@@ -0,0 +1,151 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.PileAuthCard;
|
||||
import com.jsowell.pile.dto.PileAuthCardDTO;
|
||||
import com.jsowell.pile.vo.uniapp.AuthCardVO;
|
||||
import com.jsowell.pile.vo.web.PileAuthCardVO;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface PileAuthCardService{
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(PileAuthCard record);
|
||||
|
||||
int insertOrUpdate(PileAuthCard record);
|
||||
|
||||
int insertOrUpdateSelective(PileAuthCard record);
|
||||
|
||||
int insertSelective(PileAuthCard record);
|
||||
|
||||
PileAuthCard selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(PileAuthCard record);
|
||||
|
||||
int updateByPrimaryKey(PileAuthCard record);
|
||||
|
||||
int updateBatch(List<PileAuthCard> list);
|
||||
|
||||
int batchInsert(List<PileAuthCard> list);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡
|
||||
*
|
||||
* @param id 充电站鉴权卡主键
|
||||
* @return 充电站鉴权卡
|
||||
*/
|
||||
// public PileAuthCard selectPileAuthCardById(Long id);
|
||||
|
||||
PileAuthCardVO getCardInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡信息
|
||||
* @param pileAuthCard
|
||||
* @return
|
||||
*/
|
||||
PileAuthCard selectPileAuthCardInfo(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
*
|
||||
* @param pileAuthCard 充电站鉴权卡
|
||||
* @return 充电站鉴权卡集合
|
||||
*/
|
||||
public List<PileAuthCard> selectPileAuthCardList(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
*
|
||||
* @param dto 充电站鉴权卡
|
||||
* @return 充电站鉴权卡集合
|
||||
*/
|
||||
public List<PileAuthCardVO> getPileAuthCardInfoList(PileAuthCardDTO dto);
|
||||
|
||||
/**
|
||||
* 新增充电站鉴权卡
|
||||
*
|
||||
* @param pileAuthCard 充电站鉴权卡
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPileAuthCard(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 新增充电站鉴权卡
|
||||
*
|
||||
* @param dto 充电站鉴权卡
|
||||
* @return 结果
|
||||
*/
|
||||
int addAuthCard(PileAuthCardDTO dto);
|
||||
|
||||
/**
|
||||
* 修改充电站鉴权卡
|
||||
*
|
||||
* @param pileAuthCard 充电站鉴权卡
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePileAuthCard(PileAuthCard pileAuthCard);
|
||||
|
||||
public int updateCardInfo(PileAuthCardDTO dto);
|
||||
|
||||
/**
|
||||
* 批量删除充电站鉴权卡
|
||||
*
|
||||
* @param ids 需要删除的充电站鉴权卡主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileAuthCardByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除充电站鉴权卡信息
|
||||
*
|
||||
* @param id 充电站鉴权卡主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileAuthCardById(Long id);
|
||||
|
||||
/**
|
||||
* 停用某张卡
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
int deactivateCard(Long id);
|
||||
|
||||
int unBindingCard(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 根据逻辑卡号查询某状态的鉴权卡信息
|
||||
* @param status
|
||||
* @param logicCard
|
||||
* @return
|
||||
*/
|
||||
PileAuthCard selectSomeStatusCardInfo(String status, String logicCard);
|
||||
|
||||
/**
|
||||
* 通过逻辑卡号查询卡信息
|
||||
* @param logicCard
|
||||
* @return
|
||||
*/
|
||||
PileAuthCard selectCardInfoByLogicCard(String logicCard);
|
||||
|
||||
/**
|
||||
* 通过memberId查询鉴权卡列表 (小程序用)
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
List<AuthCardVO> getAuthCardListByMemberId(String memberId);
|
||||
|
||||
/**
|
||||
* 用户绑定鉴权卡 (小程序用)
|
||||
* @param dto
|
||||
*/
|
||||
int bindAuthCard(PileAuthCardDTO dto);
|
||||
|
||||
/**
|
||||
* 用户解绑鉴权卡 (小程序用)
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
int unbindAuthCard(PileAuthCardDTO dto);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user