TVipAreaCardCustInfoDao.java
7.33 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
package com.zteits.bill.dao;
import com.github.pagehelper.PageInfo;
import com.zteits.bill.domain.TVipAreaCardCustInfo;
import com.zteits.bill.domain.TVipAreaCardCustInfoExample;
import com.zteits.bill.domain.TVipNoPushCardCustInfoDO;
import com.zteits.clouds.api.dto.bill.dto.TVipAreaCardCustInfoDTO;
import com.zteits.clouds.api.dto.bill.param.DeleteAreaCardByCustCardNoReq;
import com.zteits.clouds.api.dto.bill.param.TVipAreaCardCustInfoQueryRequest;
import com.zteits.clouds.api.dto.bill.param.TVipAreaCardCustInfoRequest;
import com.zteits.clouds.api.dto.bill.param.ValidVipAreaCardCustInfoRequest;
import com.zteits.clouds.api.dto.bill.vipcard.param.QueryIsBuyVipCardCustReq;
import com.zteits.clouds.api.dto.bill.vipcard.param.QueryVipCardOrderDetailTotalReq;
import com.zteits.clouds.api.dto.bill.vipcard.param.VipAreaCardExpireRequest;
import com.zteits.clouds.api.dto.bill.vipcard.param.VipCardInfoReq;
import com.zteits.clouds.api.dto.order.vipcardorder.dto.OrderVipAreacardDetailTotalDTO;
import com.zteits.clouds.api.dto.order.vipcardorder.dto.ParkVipAreaCardNumDTO;
import java.util.List;
public interface TVipAreaCardCustInfoDao {
/**
* 保存
* @param tVipAreaCardCustInfo
* @return
*/
int saveTVipAreaCardCustInfo(TVipAreaCardCustInfo tVipAreaCardCustInfo);
/**
* 动态更新
* @param record 需要更新的信息
* @param example 更新时的where条件
* @return
*/
int updateByExampleSelective(TVipAreaCardCustInfo record, TVipAreaCardCustInfoExample example);
/**
* 根据主键更新
* @param record
* @return
*/
int updateByPrimaryKeySelective(TVipAreaCardCustInfo record);
/**
* 动态查询
* @param example
* @return
*/
List<TVipAreaCardCustInfo> selectByExample(TVipAreaCardCustInfoExample example);
/**
* 根据主键查询
* @param id
* @return
*/
TVipAreaCardCustInfo queryByPrimaryKey(Long id);
/**
* 根据个人卡编码
* @Auther: wangfs
* @param
* @return
*/
TVipAreaCardCustInfo queryByPersonCardNO(String personCardNo);
/**
* 动态查询
* @param request
* @return
*/
List<TVipAreaCardCustInfo> queryTVipAreaCardCustInfo(TVipAreaCardCustInfoRequest request);
/**
* 逻辑批量删除
* @param ids
* @param opId
* @param opName
* @return
*/
int batchDeleteTVipAreaCardCustInfoByPrimaryKey(List<Long> ids, String opId, String opName);
/**
* 动态分页查询
* @param request
* @return
*/
PageInfo<TVipAreaCardCustInfoDTO> queryTVipAreaCardCustInfoForPage(TVipAreaCardCustInfoQueryRequest request);
/**
* 根据车牌号查询区域卡信息
* @param request
* @return
*/
List<TVipAreaCardCustInfoDTO> queryVipAreaCardInfoByCarNumbers(TVipAreaCardCustInfoQueryRequest request);
/**
* APP根据车牌号查询区域卡信息
* @param request
* @return
*/
List<TVipAreaCardCustInfoDTO> queryVipAreaCardInfoByCarNumbersForApp(TVipAreaCardCustInfoQueryRequest request);
/**
* 根据个人卡编码更新个人卡状态
*
* @param request
* @return
*/
Boolean updateByPersonCardNo(String personCardNo);
/**
* 查询未推送给第三发的会员卡
* @param currentDate yyyy-MM-dd HH:mm:ss
* @return
*/
List<TVipNoPushCardCustInfoDO> queryNoPustVipCardCustInfo(String currentDate, Long id);
/**
* 查询推送以及未推送的区域会员卡
* @param currentDate
* @param id
* @return
*/
List<TVipNoPushCardCustInfoDO> queryPustVipCardCustInfo(String currentDate, Long id);
/**
* 查询用户是否购买区域卡
* @param request
* @return
*/
Boolean queryIsBuyVipCardCust(QueryIsBuyVipCardCustReq request);
/**
* 按照终端来源、卡类型 查询会员卡汇总信息
* @param request
* @return
*/
List<OrderVipAreacardDetailTotalDTO> queryVipAreaCardStatisticTotal(QueryVipCardOrderDetailTotalReq request);
/**
* 根据车场编码查询购买的区域卡(非失效)数量(车场编号-卡数量)
* @param plNo
* @return
*/
ParkVipAreaCardNumDTO queryParkVipAreaCardNumByPlNo(String plNo,Long orgId);
/**
* 查询即将到期的区域卡
* @param
* @return
* @Author: xiejianpeng
* @Date: 2020/4/8 18:52
*
*/
List<TVipAreaCardCustInfo> queryExpireVipCardCustInfo(VipAreaCardExpireRequest vipPushRequest);
/***********************************************时域卡************************************/
/**
* 动态分页查询
* @param request
* @return
*/
PageInfo<TVipAreaCardCustInfoDTO> queryTVipTimeCardCustInfoForPage(TVipAreaCardCustInfoQueryRequest request);
/**
* 根据车牌号查询时域卡信息
* @param request
* @return
*/
List<TVipAreaCardCustInfoDTO> queryVipTimeCardInfoByCarNumbers(TVipAreaCardCustInfoQueryRequest request);
/**
* APP根据车牌号查询时域卡信息
* @param request
* @return
*/
List<TVipAreaCardCustInfoDTO> queryVipTimeCardInfoByCarNumbersForApp(TVipAreaCardCustInfoQueryRequest request);
/**
* 查询用户是否购买时域卡
* @param request
* @return
*/
Boolean queryIsBuyTimeVipCardCust(QueryIsBuyVipCardCustReq request);
/**
* 按照终端来源、卡类型 查询时域卡会员卡汇总信息
* @param request
* @return
*/
List<OrderVipAreacardDetailTotalDTO> queryVipTimeCardStatisticTotal(QueryVipCardOrderDetailTotalReq request);
/**
* 查询即将到期的时域卡
* @param
* @return
* @Author: xiejianpeng
* @Date: 2020/4/8 18:52
*
*/
List<TVipAreaCardCustInfo> queryExpireTimeVipCardCustInfo(VipAreaCardExpireRequest vipPushRequest);
/**
* 根据车牌号查询当月购买的时域卡总次数和总时长
* @param request
* @return
*/
TVipAreaCardCustInfo queryTimeCardBuyTimesByCarNumber(ValidVipAreaCardCustInfoRequest request);
/**
* 平台删除区域卡,将区域卡置为失效
* @param request
* @return
*/
int updateAreaCardInvalid(DeleteAreaCardByCustCardNoReq request);
/**
* 根据到期时间查询区域卡
* @param
* @return
* @Author: wangfs
* @Date: 2020/4/8 18:24
*
*/
List<TVipAreaCardCustInfo> queryVipCardCustInfoByExpDate(VipAreaCardExpireRequest vipPushRequest);
/**
* 查询全域卡的生效的购买记录
* @param
* @return
* @Author: xiejianpeng
* @Date: 2020/9/14 16:19
*/
List<TVipAreaCardCustInfo> queryTVipAreaCardCustInfoListByAreaCardType(TVipAreaCardCustInfoRequest request);
/**
* 根据停车场编号与车牌号码查询当前有效的会员车信息
* @param request
* @return
*/
TVipAreaCardCustInfo queryCardCustInfoByParkcodeAndCarnumber(VipCardInfoReq request);
/**
* 据停车场编号与车牌号码查询该车所有有效的会员卡记录,包括已过期数据
* @Author: zegnqc
* @return
*/
List<TVipAreaCardCustInfo> queryAllAreaVipCardByParkcodeAndCarnumber(VipCardInfoReq request);
List<TVipAreaCardCustInfo> queryAllActiveInfo(TVipAreaCardCustInfoRequest request);
}