| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- package com.dk.oauth.mapper.integral;
- import com.dk.oauth.model.pojo.integral.IntegralShare;
- import com.dk.common.mapper.BaseMapper;
- import com.dk.oauth.model.query.integral.IntegralItemQuery;
- import com.dk.oauth.model.query.integral.IntegralShareQuery;
- import com.dk.oauth.model.response.integral.CouponSendResponse;
- import com.dk.oauth.model.response.integral.IntegralItemResponse;
- import com.dk.oauth.model.response.integral.IntegralShareResponse;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- import java.util.Map;
- /**
- * 积分分享 Mapper
- */
- @Repository
- public interface IntegralShareMapper extends BaseMapper<IntegralShare>{
- /**
- * @desc : 根据id查询
- * @date : 2024/7/24 9:23
- * @author : 寇珊珊
- */
- IntegralShareResponse selectById(@Param("id") Integer id);
- /**
- * @desc : 条件查询
- * @date : 2024/7/24 9:22
- * @author : 寇珊珊
- */
- List<IntegralShareResponse> selectByCond(IntegralShareQuery integralShareQuery);
- /**
- * @desc : 条件查询个数
- * @date : 2024/7/24 9:22
- * @author : 寇珊珊
- */
- Long countByCond(IntegralShareQuery integralShareQuery);
- /**
- * @desc : 查询历史记录
- * @date : 2024/7/30 15:58
- * @author : 寇珊珊
- */
- List<IntegralShareResponse> selectHistoryRecordByCond(IntegralShareQuery integralShareQuery);
- /**
- * @desc : 当日积分分享数
- * @date : 2024/8/1 10:13
- * @author : 刘尧
- */
- Long selectShareNumber(IntegralShareQuery integralShareQuery);
- /**
- * @desc : 当日积分邀请明细
- * @date : 2024/8/1 10:36
- * @author : 刘尧
- */
- Map<String, Object> selectShareItem(IntegralShareQuery integralShareQuery);
- /**
- * @desc : 历史记录
- * @date : 2024/8/1 10:36
- * @author : 刘尧
- */
- List<Map<String, Object>> selectByCondHistory(IntegralShareQuery integralShareQuery);
- }
|