package com.dk.oauth.mapper.integral; import com.dk.oauth.model.pojo.integral.CouponUse; import com.dk.common.mapper.BaseMapper; import com.dk.oauth.model.query.integral.CouponUseQuery; import com.dk.oauth.model.response.integral.CouponUseResponse; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * 优惠券使用 Mapper */ @Repository public interface CouponUseMapper extends BaseMapper{ /** * @desc : 根据id查询 * @date : 2024/7/24 9:02 * @author : 寇珊珊 */ CouponUseResponse selectById(@Param("id") String id); /** * @desc : 条件查询 * @date : 2024/7/24 9:02 * @author : 寇珊珊 */ List selectByCond(CouponUseQuery couponUseQuery); /** * @desc : 条件查询个数 * @date : 2024/7/24 9:02 * @author : 寇珊珊 */ Long countByCond(CouponUseQuery couponUseQuery); }