From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +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