Administrator
2023-12-07 633254dd9b9d56ac0241abb3b962b7de86a3adb3
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.dy.pipIrrGlobal.daoSe;
 
import com.dy.pipIrrGlobal.pojoSe.SeActiveCard;
import com.dy.pipIrrGlobal.pojoSe.VoActiveCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author ZhuBaoMin
 * @date 2023/12/5 17:39
 * @LastEditTime 2023/12/5 17:39
 * @Description
 */
 
@Mapper
public interface SeActiveCardMapper {
    int deleteByPrimaryKey(Long id);
 
    int insert(SeActiveCard record);
 
    int insertSelective(SeActiveCard record);
 
    SeActiveCard selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(SeActiveCard record);
 
    int updateByPrimaryKey(SeActiveCard record);
 
    /**
     * 根据指定的条件获取开卡记录数
     * @param params
     * @return
     */
    Long getRecordCount(Map<?, ?> params);
 
    /**
     * 根据指定的条件获取开卡记录
     * @param params
     * @return
     */
    List<VoActiveCard> getActiveCards(Map<?, ?> params);
 
    /**
     * 根据水卡编号和操作类型删除某卡补卡记录
     * @param cardId
     * @param operateType
     * @return
     */
    Integer deleteByIdAndOperateType(@Param("cardId") Long cardId, @Param("operateType") Byte operateType);
}