Browse Source

吱客宝绑定入库逻辑问题修复

lcl 1 year ago
parent
commit
9d0827e971
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/SycnSpServer/SycnSpBindZkbService.cs

+ 1 - 1
AppStart/Helper/SycnSpServer/SycnSpBindZkbService.cs

@@ -63,7 +63,7 @@ namespace MySystem
                             }
                             }
 
 
                             PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.KqSnNo == Bind.MerSnNo);
                             PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.KqSnNo == Bind.MerSnNo);
-                            if (pos == null)
+                            if (merchant == null)
                             {
                             {
                                 merchant = db.PosMerchantInfo.Add(new PxcModels.PosMerchantInfo()
                                 merchant = db.PosMerchantInfo.Add(new PxcModels.PosMerchantInfo()
                                 {
                                 {