Sfoglia il codice sorgente

调整保存数据源

DuGuYang 2 anni fa
parent
commit
67c064a90c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      AppStart/Helper/SIMPosMerchantTradeService.cs

+ 1 - 1
AppStart/Helper/SIMPosMerchantTradeService.cs

@@ -143,7 +143,7 @@ namespace MySystem
                                         SuccessCount += 1;
                                         SuccessCount += 1;
                                     }
                                     }
                                     DoCount += Size;
                                     DoCount += Size;
-                                    db.SaveChanges();
+                                    spdb.SaveChanges();
                                     tran.Commit();
                                     tran.Commit();
                                     if (DoCount >= list.Rows.Count)
                                     if (DoCount >= list.Rows.Count)
                                     {
                                     {