package com.dy.pipIrrGlobal.daoSe;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoSe.SeVirtualCard;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2024-04-22 9:38
|
* @LastEditTime 2024-04-22 9:38
|
* @Description
|
*/
|
|
@Mapper
|
public interface SeVirtualCardMapper extends BaseMapper<SeVirtualCard> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(SeVirtualCard record);
|
|
int insertSelective(SeVirtualCard record);
|
|
SeVirtualCard selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(SeVirtualCard record);
|
|
int updateByPrimaryKey(SeVirtualCard record);
|
|
/**
|
* 验证农户是否拥有指定名称的虚拟卡
|
* @param clientId 农户编号
|
* @param vcName 虚拟卡名称
|
* @return 符合条件记录数
|
*/
|
int getRecordCountByName(@Param("clientId") Long clientId, @Param("vcName") String vcName);
|
}
|