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);
|
|
|
}
|