44323
2023-11-27 e9085eb620dcae1ceae24bc8b70e1a6bca228b15
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
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.PointsMerchandise;
import com.dsh.activity.model.CoachChangeStateVO;
import com.dsh.activity.model.request.IntegralGoodsOfSearch;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 积分商品 Mapper 接口
 * </p>
 *
 * @author jqs
 * @since 2023-07-04
 */
public interface PointsMerchandiseMapper extends BaseMapper<PointsMerchandise> {
 
    List<Map<String, Object>> queryGoodsListOfSearch(@Param("name") String name,
                                                     @Param("type") Integer type,
                                                     @Param("redemptionMethod") Integer redemptionMethod,
                                                     @Param("userPopulation") Integer userPopulation,
                                                     @Param("activeStatus") Integer activeStatus,
                                                     @Param("state") Integer state,
                                                     @Param("page") Page<Map<String, Object>> page);
 
    List<Map<String, Object>> queryGoodsListOfSearchAudit(@Param("name") String name,
                                                          @Param("type") Integer type,
                                                          @Param("redemptionMethod") Integer redemptionMethod,
                                                          @Param("userPopulation") Integer userPopulation,
                                                          @Param("activeStatus") Integer activeStatus,
                                                          @Param("state") Integer state,
                                                          @Param("page") Page<Map<String, Object>> page);
 
    List<Map<String, Object>> ticketList(@Param("query") IntegralGoodsOfSearch ofSearch);
 
    void changeState(@Param("ids") List<Integer> ids, @Param("state") Integer state);
 
    void saveCity(@Param("id") Integer id, @Param("province") String province, @Param("provinceCode") String provinceCode, @Param("city") String city, @Param("cityCode") String cityCode);
 
 
}