Explorar el Código

绑定队列解绑判断增加wifi品牌

lcl hace 1 año
padre
commit
316f4aa707
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs

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

@@ -40,7 +40,7 @@ namespace MySystem
                         var tran = db.Database.BeginTransaction();
                         var tran = db.Database.BeginTransaction();
                         try
                         try
                         {
                         {
-                            if(Bind.Field1 == "解绑" && Bind.ProductType == "1")
+                            if(Bind.Field1 == "解绑" && (Bind.ProductType == "1" || Bind.ProductType == "23"))
                             {
                             {
                                 // 删除对应商户,激活机具除外
                                 // 删除对应商户,激活机具除外
                                 PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == Bind.MerSnNo) ?? new PxcModels.PosMachinesTwo();
                                 PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == Bind.MerSnNo) ?? new PxcModels.PosMachinesTwo();