Browse Source

更新商城购券打大盟主标记逻辑

lcl 1 year ago
parent
commit
6dde33e2f2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      AppStart/Helper/PosCouponPrize/PosCouponPrizeService.cs

+ 2 - 2
AppStart/Helper/PosCouponPrize/PosCouponPrizeService.cs

@@ -790,12 +790,12 @@ namespace MySystem
                                 if(ReserveRecord2.ChangeAmt - ReserveRecord2.UsedReserve >= CheckReserve - OtherLeaderReserve)
                                 {
                                     LeaderReserve = CheckReserve - OtherLeaderReserve;
-                                    ReserveRecord.UsedReserve += CheckReserve - OtherLeaderReserve;
+                                    ReserveRecord2.UsedReserve += CheckReserve - OtherLeaderReserve;
                                 }
                                 else
                                 {
                                     OtherLeaderReserve = ReserveRecord2.ChangeAmt - ReserveRecord2.UsedReserve;
-                                    ReserveRecord.UsedReserve += OtherLeaderReserve;
+                                    ReserveRecord2.UsedReserve += OtherLeaderReserve;
                                 }
                             }
                         }