mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
update
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.pile.domain.PileAuthCard;
|
||||
import com.jsowell.pile.dto.PileAuthCardDTO;
|
||||
import com.jsowell.pile.vo.uniapp.AuthCardVO;
|
||||
@@ -9,14 +7,66 @@ import com.jsowell.pile.vo.web.PileAuthCardVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 充电站鉴权卡Mapper接口
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-03-16
|
||||
*/
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
public interface PileAuthCardMapper {
|
||||
/**
|
||||
* delete by primary key
|
||||
*
|
||||
* @param id primaryKey
|
||||
* @return deleteCount
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* insert record to table
|
||||
*
|
||||
* @param record the record
|
||||
* @return insert count
|
||||
*/
|
||||
int insert(PileAuthCard record);
|
||||
|
||||
int insertOrUpdate(PileAuthCard record);
|
||||
|
||||
int insertOrUpdateSelective(PileAuthCard record);
|
||||
|
||||
/**
|
||||
* insert record to table selective
|
||||
*
|
||||
* @param record the record
|
||||
* @return insert count
|
||||
*/
|
||||
int insertSelective(PileAuthCard record);
|
||||
|
||||
/**
|
||||
* select by primary key
|
||||
*
|
||||
* @param id primary key
|
||||
* @return object by primary key
|
||||
*/
|
||||
PileAuthCard selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* update record selective
|
||||
*
|
||||
* @param record the updated record
|
||||
* @return update count
|
||||
*/
|
||||
int updateByPrimaryKeySelective(PileAuthCard record);
|
||||
|
||||
/**
|
||||
* update record
|
||||
*
|
||||
* @param record the updated record
|
||||
* @return update count
|
||||
*/
|
||||
int updateByPrimaryKey(PileAuthCard record);
|
||||
|
||||
int updateBatch(List<PileAuthCard> list);
|
||||
|
||||
int batchInsert(@Param("list") List<PileAuthCard> list);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡
|
||||
*
|
||||
@@ -26,12 +76,14 @@ public interface PileAuthCardMapper {
|
||||
// public PileAuthCard selectPileAuthCardById(Long id);
|
||||
|
||||
PileAuthCardVO getCardInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡信息
|
||||
*
|
||||
* @param pileAuthCard
|
||||
* @return
|
||||
*/
|
||||
PileAuthCard selectPileAuthCardInfo (PileAuthCard pileAuthCard);
|
||||
PileAuthCard selectPileAuthCardInfo(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
@@ -39,7 +91,7 @@ public interface PileAuthCardMapper {
|
||||
* @param pileAuthCard 充电站鉴权卡
|
||||
* @return 充电站鉴权卡集合
|
||||
*/
|
||||
public List<PileAuthCard> selectPileAuthCardList(PileAuthCard pileAuthCard);
|
||||
List<PileAuthCard> selectPileAuthCardList(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
@@ -47,7 +99,7 @@ public interface PileAuthCardMapper {
|
||||
* @param dto 充电站鉴权卡
|
||||
* @return 充电站鉴权卡集合
|
||||
*/
|
||||
public List<PileAuthCardVO> getPileAuthCardInfoList(PileAuthCardDTO dto);
|
||||
List<PileAuthCardVO> getPileAuthCardInfoList(PileAuthCardDTO dto);
|
||||
|
||||
/**
|
||||
* 新增充电站鉴权卡
|
||||
@@ -55,7 +107,7 @@ public interface PileAuthCardMapper {
|
||||
* @param pileAuthCard 充电站鉴权卡
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPileAuthCard(PileAuthCard pileAuthCard);
|
||||
int insertPileAuthCard(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 修改充电站鉴权卡
|
||||
@@ -63,7 +115,7 @@ public interface PileAuthCardMapper {
|
||||
* @param pileAuthCard 充电站鉴权卡
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePileAuthCard(PileAuthCard pileAuthCard);
|
||||
int updatePileAuthCard(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 删除充电站鉴权卡
|
||||
@@ -71,10 +123,11 @@ public interface PileAuthCardMapper {
|
||||
* @param id 充电站鉴权卡主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileAuthCardById(Long id);
|
||||
int deletePileAuthCardById(Long id);
|
||||
|
||||
/**
|
||||
* 停用某张卡
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@@ -86,12 +139,13 @@ public interface PileAuthCardMapper {
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileAuthCardByIds(Long[] ids);
|
||||
int deletePileAuthCardByIds(Long[] ids);
|
||||
|
||||
int unBindingCard(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 根据逻辑卡号查询某状态的鉴权卡信息
|
||||
*
|
||||
* @param status
|
||||
* @param logicCard
|
||||
* @return
|
||||
@@ -100,8 +154,9 @@ public interface PileAuthCardMapper {
|
||||
|
||||
/**
|
||||
* 通过memberId查询鉴权卡列表 (小程序用)
|
||||
*
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
List<AuthCardVO> getAuthCardListByMemberId(@Param("memberId") String memberId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user