Эх сурвалжийг харах

修复机具表BindMerchantId未保存的bug

lichunlei 3 жил өмнө
parent
commit
df2af82d4e

+ 1 - 0
AppStart/Helper/SycnSpServer/SycnSpMerchantService.cs

@@ -80,6 +80,7 @@ namespace MySystem
                                 add.MerchantMobile = Mer.MerMobile;
                                 add.MerchantName = Mer.MerName;
                                 pos.BindMerchantId = add.Id;
+                                db.SaveChanges();
                                 Merchants edit = spdb.Merchants.FirstOrDefault(m => m.Id == Mer.Id);
                                 if (edit != null)
                                 {