package com.dk.oauth.mapper.integral; import com.dk.oauth.model.pojo.integral.CouponReceive; import com.dk.common.mapper.BaseMapper; import com.dk.oauth.model.query.integral.CouponReceiveQuery; import com.dk.oauth.model.response.integral.CouponReceiveResponse; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * 优惠券获取 Mapper */ @Repository public interface CouponReceiveMapper extends BaseMapper{ /** * @desc : 根据id查询 * @date : 2024/7/24 9:23 * @author : 寇珊珊 */ CouponReceiveResponse selectById(@Param("id") String id); /** * @desc : 条件查询 * @date : 2024/7/24 9:22 * @author : 寇珊珊 */ List selectByCond(CouponReceiveQuery couponReceiveQuery); /** * @desc : 条件查询个数 * @date : 2024/7/24 9:22 * @author : 寇珊珊 */ Long countByCond(CouponReceiveQuery couponReceiveQuery); }