TVipAreaCardCustInfoMapper.java
1.93 KB
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
54
55
56
57
58
package com.zteits.bill.mapper;
import com.zteits.bill.domain.TVipAreaCardCustInfo;
import com.zteits.bill.domain.TVipAreaCardCustInfoExample;
import java.util.Date;
import java.util.List;
import com.zteits.clouds.api.dto.bill.vipcard.param.VipAreaCardExpireRequest;
import com.zteits.clouds.api.dto.bill.vipcard.param.VipCardInfoReq;
import org.apache.ibatis.annotations.Param;
public interface TVipAreaCardCustInfoMapper {
long countByExample(TVipAreaCardCustInfoExample example);
int deleteByExample(TVipAreaCardCustInfoExample example);
int deleteByPrimaryKey(Long id);
int insert(TVipAreaCardCustInfo record);
int insertSelective(TVipAreaCardCustInfo record);
List<TVipAreaCardCustInfo> selectByExample(TVipAreaCardCustInfoExample example);
TVipAreaCardCustInfo selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") TVipAreaCardCustInfo record, @Param("example") TVipAreaCardCustInfoExample example);
int updateByExample(@Param("record") TVipAreaCardCustInfo record, @Param("example") TVipAreaCardCustInfoExample example);
int updateByPrimaryKeySelective(TVipAreaCardCustInfo record);
int updateByPrimaryKey(TVipAreaCardCustInfo record);
/**
* 根据停车场编号与车牌号码查询当前有效的会员车信息
* @param request
* @author: zengqc
* @return
*/
TVipAreaCardCustInfo queryCardCustInfoByParkcodeAndCarnumber(VipCardInfoReq request);
/**
* 到期即将到期会员卡信息查询
* @param beginTime
* @param endTime
* @return
*/
List<TVipAreaCardCustInfo> queryVipCardCustInfoByExpDate(@Param("beginTime") Date beginTime ,@Param("endTime") Date endTime);
/**
* 据停车场编号与车牌号码查询该车所有有效的会员卡记录,包括已过期数据
*
* @Author: zegnqc
*/
List<TVipAreaCardCustInfo> queryAllAreaVipCardByParkcodeAndCarnumber(VipCardInfoReq request);
}