haozi 4 лет назад
Родитель
Сommit
acf982f0ed
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/Services/StoreService.php

+ 3 - 3
app/Services/StoreService.php

@@ -86,7 +86,7 @@ class StoreService
         $oracleDocAsnHerderService = app(OracleDocAsnHerderService::class);
         $last_time = $this->getAsnLastSyncAt($updated_at, 'update');
         app('LogService')
-            ->log(__METHOD__, __FUNCTION__, '获取上次更新时间:' . $last_time );
+            ->log(__METHOD__, __FUNCTION__, '11 获取上次更新时间:' . $last_time );
         $asnHerders = $oracleDocAsnHerderService->getWmsAsnOnStartDateEdit($last_time);
         if (count($asnHerders)<1) return;
         $last_time = $asnHerders->first()['edittime'];
@@ -138,7 +138,7 @@ class StoreService
         $rejectedBillService->syncLoadedStatusByAsnHerder($asnHerders);
         if (!$isUpdate)$this->pushJob($asnHerders);
         app('LogService')
-            ->log(__METHOD__, __FUNCTION__, '11 更新中创建createStore:' . $asnHerders );
+            ->log(__METHOD__, __FUNCTION__, '11 更新中创建createStore:'.$isUpdate . $asnHerders );
         unset($asnHerders, $owners_code_map, $warehouses_code_map);
     }
 
@@ -431,7 +431,7 @@ class StoreService
         }
         if (count($insert_param)>0) StoreRejected::query()->insert($insert_param);
         app('LogService')
-            ->log(__METHOD__, __FUNCTION__, '11 createStoreRejected:'.$insert_param  );
+            ->log(__METHOD__, __FUNCTION__, '11 createStoreRejected:'.json_encode($insert_param));
     }
 
     /**