From 7ec17b93b34a060233e5f193fa47fa243f7efafc Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 28 八月 2025 01:07:52 +0800
Subject: [PATCH] 导出以及页面

---
 framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeDrawServiceImpl.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeDrawServiceImpl.java b/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeDrawServiceImpl.java
index dc2d489..365366d 100644
--- a/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeDrawServiceImpl.java
+++ b/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeDrawServiceImpl.java
@@ -132,10 +132,10 @@
         IPage<PrizeDrawVO> page = PageUtil.getPage(query, PrizeDrawVO.class);
         baseMapper.getPage(page, query);
         for (PrizeDrawVO vo : page.getRecords()) {
-            if (vo.getPrizeCover() != null && StringUtils.isNotBlank(vo.getPrizeCover())){
+            if (StringUtils.isNotBlank(vo.getPrizeCover())){
                 vo.setPrizeCoverUrl(cOSUtil.getPreviewUrl(vo.getPrizeCover()));
             }
-            if (vo.getPrizeImg() != null && StringUtils.isNotBlank(vo.getPrizeImg())){
+            if (StringUtils.isNotBlank(vo.getPrizeImg())){
                 vo.setPrizeImgUrl(cOSUtil.getPreviewUrl(vo.getPrizeImg()));
             }
         }
@@ -166,4 +166,9 @@
                 .collect(Collectors.toList());
         return Result.ok().data(vos);
     }
+
+    @Override
+    public Result grantRecord(String prizeActivityId) {
+        return Result.ok().data(baseMapper.grantRecord(prizeActivityId));
+    }
 }

--
Gitblit v1.8.0