| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package com.dk.oauth.mapper.integral;
- import com.dk.oauth.model.pojo.integral.CouponSend;
- import com.dk.common.mapper.BaseMapper;
- import com.dk.oauth.model.query.integral.CouponSendQuery;
- import com.dk.oauth.model.query.integral.IntegralItemQuery;
- import com.dk.oauth.model.response.integral.CouponSendResponse;
- import com.dk.oauth.model.response.integral.IntegralItemResponse;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * 优惠券发出 Mapper
- */
- @Repository
- public interface CouponSendMapper extends BaseMapper<CouponSend>{
- /**
- * @desc : 根据id查询
- * @date : 2024/7/24 9:23
- * @author : 寇珊珊
- */
- CouponSendResponse selectById(@Param("id") String id);
- /**
- * @desc : 条件查询
- * @date : 2024/7/24 9:22
- * @author : 寇珊珊
- */
- List<CouponSendResponse> selectByCond(CouponSendQuery couponSendQuery);
- /**
- * @desc : 条件查询个数
- * @date : 2024/7/24 9:22
- * @author : 寇珊珊
- */
- Long countByCond(CouponSendQuery couponSendQuery);
- /**
- * @desc : 根据公司id和优惠券id查询截止时间
- * @date : 2024/7/25 13:13
- * @author : 寇珊珊
- */
- CouponSendResponse selectEndTime(CouponSendQuery couponSendQuery);
-
- }
|