cqp 2 viikkoa sitten
vanhempi
sitoutus
35e167012e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Service/U8ThirtyPartyDatabaseServerService.php

+ 1 - 1
app/Service/U8ThirtyPartyDatabaseServerService.php

@@ -134,7 +134,7 @@ class U8ThirtyPartyDatabaseServerService extends Service
     public function updateSaleOrderDetails($data)
     {
         // 2. 开启事务执行更新
-        $db = DB::connection($this->connName);
+        $db = DB::connection($this->connectionName);
         $db->beginTransaction();
 
         try {