From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 13 三月 2025 19:58:45 +0800 Subject: [PATCH] 党员、诉求评论基础代码 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActRaffleRecordDao.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActRaffleRecordDao.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActRaffleRecordDao.java index fafc8c3..65cc047 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActRaffleRecordDao.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActRaffleRecordDao.java @@ -4,11 +4,14 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.panzhihua.common.model.dtos.property.CommonPage; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordExcelVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; import org.apache.ibatis.annotations.Mapper; import com.panzhihua.service_community.entity.ComActRaffleRecord; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestParam; + +import java.util.List; /** * 抽奖活动中奖记录表(ComActRaffleRecord)表数据库访问层 @@ -35,4 +38,27 @@ * @return */ IPage<ComActRaffleRecordVO> pageList(Page page, @Param("commonPage")CommonPage commonPage); + + /** + * 导出 + * @param commonPage + * @return + */ + List<ComActRaffleRecordExcelVO> export(@Param("commonPage")CommonPage commonPage); + + + /** + * 根据id查询 + * @param id + * @return + */ + ComActRaffleRecordVO selectOneById(Long id); + + + /** + * 抽奖活动失效设置 + * @param id + * @return + */ + Integer updateStatusByRaffleId(Long id); } -- Gitblit v1.7.1