TdCCouponRuleSMapper.java
2.31 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
package com.zteits.pay.mapper.smapper;
import java.util.List;
import com.zteits.clouds.api.dto.pay.TdCCouponRuleDTO;
import com.zteits.clouds.api.dto.pay.param.QueryCouponRuleReq;
import com.zteits.clouds.api.dto.pay.param.QueryHotCouponRequest;
import com.zteits.clouds.api.dto.pay.param.TdCCouponPersonRequest;
import com.zteits.clouds.api.dto.pay.param.TdCCouponRuleRequest;
import com.zteits.pay.domain.TdCCouponRule;
import org.apache.ibatis.annotations.Param;
/**
* Copyright: Copyright (c) 2017 zteits
*
* @Description:
* @version: v1.0.0
* @author: langlw
* @date: 2017/12/27 14
* Modification History:
* Date Author Version Description
* ---------------------------------------------------------*
* 2017/12/27 langlw v1.0.0 创建
*/
public interface TdCCouponRuleSMapper {
/**
* 根据卡类型查询优惠券规则表
* query the coupon rule table based on the card type
* langlw 2017-12-27
* @param request
* @return
*/
List<TdCCouponRuleDTO> queryCouponRuleList(TdCCouponRuleRequest request);
/**
* 查询所有上架卡券
* @param tdCCouponRule
* @return
* 2017年12月27日 wangfei
*/
List<TdCCouponRuleDTO> queryAllSellingCoupons(TdCCouponPersonRequest request);
/**
* 查询热门优惠券
* query hot coupon
* langlw 2017-12-28
* @param request
* @return
*/
List<TdCCouponRuleDTO> queryHotCouponRuleForList(QueryHotCouponRequest request);
/**
* 查询冷门优惠券
* query cold coupon
* langlw 2017-12-28
* @param request
* @return
*/
List<TdCCouponRuleDTO> queryColdCouponRuleForList(QueryHotCouponRequest request);
/**
* 查询卡券详情
* @param request
* @return
* 2017年12月28日 xiejp
*/
List<TdCCouponRuleDTO> queryCouponRuleParkMsg(TdCCouponRuleRequest request);
TdCCouponRule selectByCardNo(String cardNo);
/**
* 查询是否存在重复的卡券编码
* @param
* @return
* @Author: xiejianpeng
* @Date: 2019/3/21 15:00
*
*/
List<String> queryCouponRuleByCardNoList(@Param("cardNos") List<String> cardNos);
/**
* 批量保存优惠券卡规则
* @param
* @return
* @Author: xiejianpeng
* @Date: 2019/3/21 15:30
*
*/
Integer saveCouponRuleList(@Param("tdCCouponRuleList") List<TdCCouponRule> tdCCouponRuleList);
}