Browse Source

解绑删除绑定状态和时间

lcl 2 years ago
parent
commit
67ad3baab8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs

+ 2 - 0
AppStart/Helper/SycnSpServer/SycnSpBindService.cs

@@ -101,6 +101,8 @@ namespace MySystem
                                 if(merchant != null)
                                 if(merchant != null)
                                 {
                                 {
                                     pos.BindMerchantId = 0;
                                     pos.BindMerchantId = 0;
+                                    pos.BindingState = 0;
+                                    pos.BindingTime = null;
                                     db.PosMerchantInfo.Remove(merchant);
                                     db.PosMerchantInfo.Remove(merchant);
                                     db.SaveChanges();
                                     db.SaveChanges();
                                 }
                                 }