浏览代码

解绑删除绑定状态和时间

lcl 2 年之前
父节点
当前提交
67ad3baab8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs

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

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