소스 검색

取消发放激活奖判断商户号是否为空

lcl 2 년 전
부모
커밋
b8528e644e
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      AppStart/Helper/StatService.cs

+ 6 - 6
AppStart/Helper/StatService.cs

@@ -788,12 +788,12 @@ namespace MySystem
             if(GetUserId < 1) return;
             string MerNo = merchant.KqMerNo;
             //判断商户号是否为空,避免下次再有空商户的情况,导致奖励不发放
-            if(string.IsNullOrEmpty(MerNo) && (pos.BrandId < 23 || pos.BrandId > 26))
-            {
-                // MerNo = "n" + DateTime.Now.ToString("yyyyMMddHHmmssfff");
-                RedisDbconn.Instance.AddList("ActiveRewardFailQueue", "{\"PosId\":\"" + pos.Id + "\",\"UserId\":\"" + GetUserId + "\",\"ActPrize\":\"" + ActPrize + "\",\"ChangeType\":\"" + ChangeType + "\",\"ActType\":\"" + ActType + "\"}");
-                return;
-            }
+            // if(string.IsNullOrEmpty(MerNo) && (pos.BrandId < 23 || pos.BrandId > 26))
+            // {
+            //     // MerNo = "n" + DateTime.Now.ToString("yyyyMMddHHmmssfff");
+            //     RedisDbconn.Instance.AddList("ActiveRewardFailQueue", "{\"PosId\":\"" + pos.Id + "\",\"UserId\":\"" + GetUserId + "\",\"ActPrize\":\"" + ActPrize + "\",\"ChangeType\":\"" + ChangeType + "\",\"ActType\":\"" + ActType + "\"}");
+            //     return;
+            // }
             List<int> BrandIds = new List<int>();
             BrandIds.Add(18);
             BrandIds.Add(19);