From 26079aa3c34f47e952a9538a93d6f8a3bab9a0fc Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 23 八月 2024 09:12:44 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/IgoTravel into 2.0

---
 ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TSubsidyController.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TSubsidyController.java b/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TSubsidyController.java
index 2680120..2a82173 100644
--- a/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TSubsidyController.java
+++ b/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TSubsidyController.java
@@ -1147,6 +1147,10 @@
             if (tUser!=null){
                 grantVO.setName(tUser.getNickName());
             }
+            if (userRedPacketRecord.getRedPacketActivityId() == null){
+                // 后台发放的红包
+                grantVO.setRemark("后台指定派发");
+            }
             UserActivityRedenvelope userActivityRedenvelope =
                     userActivityRedenvelopeService.selectById(userRedPacketRecord.getRedPacketActivityId());
             if (userActivityRedenvelope!=null){
@@ -1320,6 +1324,7 @@
             ;
             // 红包领取记录wrapper
             between3 = new EntityWrapper<UserRedPacketRecord>()
+                    .ne("state",0)
             ;
             // 司机奖励
             between4 = new EntityWrapper<DriverActivityHistory>()
@@ -1343,6 +1348,7 @@
                     .between("insertTime", start, end);
             // 红包领取记录wrapper
             between3 = new EntityWrapper<UserRedPacketRecord>()
+                    .ne("state",0)
                     .between("insertTime", start, end);
             // 司机奖励
             between4 = new EntityWrapper<DriverActivityHistory>()

--
Gitblit v1.7.1