| | |
| | | import java.util.List; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageJoinGameListDTO; |
| | | import com.panzhihua.common.model.vos.community.microCommercialStreet.GameStatisticsVO; |
| | | import com.panzhihua.common.model.vos.community.microCommercialStreet.McsCouponVO; |
| | | import com.panzhihua.common.model.vos.community.microCommercialStreet.MyCouponVO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.panzhihua.service_community.entity.McsCoupon; |
| | |
| | | */ |
| | | int insertOrUpdateBatch(@Param("entities") List<McsCoupon> entities); |
| | | |
| | | /** |
| | | * 获取我的戳戳卷统计数据 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | MyCouponVO getMyCouponData(@Param("userId") Long userId); |
| | | |
| | | /** |
| | | * 获取用户戳戳卷列表 |
| | | * @param type |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<McsCouponVO> getCouponList(@Param("type") Integer type, @Param("userId") Long userId); |
| | | |
| | | /** |
| | | * 我的评价-参与游戏列表 |
| | | * @param page |
| | | * @param pageJoinGameListDTO |
| | | * @return |
| | | */ |
| | | IPage<McsCouponVO> pageJoinGameList(@Param("page") Page page, @Param("pageJoinGameListDTO") PageJoinGameListDTO pageJoinGameListDTO); |
| | | |
| | | /** |
| | | * 游戏统计 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | GameStatisticsVO getMcsGameStatistics(@Param("userId") Long userId); |
| | | } |