| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | 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.vos.community.ComActActEvaluateExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComActActRegistExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComActActRegistVO; |
| | | import com.panzhihua.service_community.model.dos.ComActActRegistDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * title: ComActActRegistDAO 社区》活动》活动签到表mapper类 |
| | |
| | | @Mapper |
| | | public interface ComActActRegistDAO extends BaseMapper<ComActActRegistDO> { |
| | | |
| | | |
| | | IPage<ComActActRegistVO> pageActivityRegists(Page page, @Param("comActActRegistVO") ComActActRegistVO comActActRegistVO); |
| | | |
| | | List<ComActActRegistExcelVO> getRegistLists(@Param("comActActRegistVO") ComActActRegistVO comActActRegistVO); |
| | | |
| | | List<ComActActRegistExcelVO> getNoRegistLists(@Param("comActActRegistVO") ComActActRegistVO comActActRegistVO); |
| | | |
| | | /** |
| | | * 活动签到记录 |
| | | * @param id 活动主键 |
| | | * @param userId 用户id |
| | | * @return |
| | | */ |
| | | List<ComActActRegistVO> listRegistRecord(@Param("id") Long id, @Param("userId") Long userId); |
| | | |
| | | /** |
| | | * 获取总积分奖励 |
| | | * @param activityId |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | Integer selectTotalAwardWithRegist(@Param("activityId") Long activityId, @Param("userId") Long userId); |
| | | } |