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; /** *

* 优惠券 Mapper 接口 *

* * @author jqs * @since 2023-06-29 */ public interface CouponMapper extends BaseMapper { Map queryConponRuleOfJson(@Param("id") Integer id); List> 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> 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> page, @Param("cityCode") String cityCode, @Param("storeId") Integer storeId ); List> queryCouponExamineList(@Param("name") String name, @Param("type") Integer type, @Param("userPopulation") Integer userPopulation, @Param("distributionMethod") Integer distributionMethod, @Param("auditStatus") Integer auditStatus, @Param("page") Page> page); List> listRecord(@Param("objectPage") Page objectPage, @Param("id") Integer id, @Param("ids") List ids, @Param("type") Integer type); void updateType(@Param("id") Long id); }