root 5 년 전
부모
커밋
e9c4533d8d
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5
    1
      app/Jobs/StoreCompoundEPBT.php

+ 5
- 1
app/Jobs/StoreCompoundEPBT.php 파일 보기

@@ -58,7 +58,11 @@ class StoreCompoundEPBT implements ShouldQueue
// $compound = Compound::with('Department','DeedLaw','Faulty')->where('kpd', 'KP43932')->first();

$now = Carbon::now()->toDateTimeString();
$coordinate = explode(" , ",$compound->latlong);
$coordinate = [];
if (!empty($compound->latlong)) {
$coordinate = explode(",",$compound->latlong);
}

//get ePBT MBIP faulty lists
$client = new \GuzzleHttp\Client();

Loading…
취소
저장