From c2d2d5d3a840bf50968b3f95e304929bc62a7b70 Mon Sep 17 00:00:00 2001
From: leonard Wu <364452445@qq.com>
Date: 星期五, 03 八月 2018 21:02:26 +0800
Subject: [PATCH] 更新代码

---
 System/Vip/VipInvest/VipInvestModel.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/System/Vip/VipInvest/VipInvestModel.cs b/System/Vip/VipInvest/VipInvestModel.cs
index 65b691b..592cf46 100644
--- a/System/Vip/VipInvest/VipInvestModel.cs
+++ b/System/Vip/VipInvest/VipInvestModel.cs
@@ -414,6 +414,20 @@
                     return;
                 }
             }
+            if (JumpIndex == 0)
+            {
+                for (int j = 0; j < configlist.Count; j++)
+                {
+                    InvestConfig config = configlist[j];
+                    RewardRecordState recordState = GetRecordByIndex((int)InvestType.Vip, config.needDay);
+                    if (recordState == RewardRecordState.NoShow)
+                    {
+                        JumpIndex = j;
+                        return;
+                    }
+                }
+
+            }
         }
 
         private void RedPointSate()//Vip鎶曡祫绾㈢偣鍓嶄笁澶�

--
Gitblit v1.8.0