cloudroam
3 天以前 3a819e4f668c15e8b77b188b322470da12bb7a43
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
package com.mzl.flower.service.coupon;
 
import com.mzl.flower.entity.coupon.CouponTemplateCustomerDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mzl.flower.entity.customer.Customer;
 
import java.util.List;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author @TaoJie
 * @since 2024-08-24
 */
public interface CouponTemplateCustomerService extends IService<CouponTemplateCustomerDO> {
 
    /**
     * 根据优惠券的id查找关联关系
     * @param couponTemplateId
     * @return
     */
    List<CouponTemplateCustomerDO> getPointCustomReList(String couponTemplateId);
 
    /**
     * 根据优惠券的模版id删除关联关系
     * @param couponTemplateId
     * @return
     */
    boolean deleteByCouponTemplateId(String couponTemplateId);
 
    /**
     * 根据优惠券的模版ID查找用户列表
     * @param id
     * @return
     */
    List<Customer> getPointCustomerList(String id);
 
}