nickchange
2023-11-29 d4fbea2ac7f7c98ffd83480f8f2535ca92f3baea
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
package com.dsh.activity.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dsh.activity.entity.Coupon;
import com.dsh.activity.feignclient.model.CouponListOfSearch;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 优惠券 Mapper 接口
 * </p>
 *
 * @author jqs
 * @since 2023-06-29
 */
public interface CouponMapper extends BaseMapper<Coupon> {
 
    Map<String, Object> queryConponRuleOfJson(@Param("id") Integer id);
 
 
    List<Map<String, Object>> queryCouponListOfSearch(@Param("name") String name,
                                                      @Param("type") Integer type,
                                                      @Param("distributionMethod") Integer distributionMethod,
                                                      @Param("userPopulation") Integer userPopulation,
                                                      @Param("status") Integer status,
                                                      @Param("state") Integer state,
                                                      @Param("cityCode") String cityCode,
                                                      @Param("storeId") Integer storeId,
                                                      @Param("operatorId") Integer operatorId,
                                                      @Param("objType") Integer objType);
 
    List<Map<String, Object>> queryCouponListOfSearch1(@Param("name") String name,
                                                       @Param("type") Integer type,
                                                       @Param("distributionMethod") Integer distributionMethod,
                                                       @Param("userPopulation") Integer userPopulation,
                                                       @Param("status") Integer status,
                                                       @Param("state") Integer state,
                                                       @Param("page") Page<Map<String, Object>> page,
                                                       @Param("cityCode") String cityCode,
                                                       @Param("storeId") Integer storeId
 
    );
 
    List<Map<String, Object>> queryCouponExamineList(@Param("name") String name,
                                                     @Param("type") Integer type,
                                                     @Param("userPopulation") Integer userPopulation,
                                                     @Param("distributionMethod") Integer distributionMethod,
                                                     @Param("auditStatus") Integer auditStatus,
                                                     @Param("page") Page<Map<String, Object>> page);
 
 
    List<Map<String, Object>> listRecord(@Param("objectPage") Page<Object> objectPage, @Param("id") Integer id, @Param("ids") List<Integer> ids, @Param("type") Integer type);
 
 
    void updateType(@Param("id") Long id);
}