wuzeyu
2024-05-21 50bbf2b935f7587510e4286b3f30e7a705361c51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
}