update query export surat

This commit is contained in:
KhatamNugraha
2024-03-18 15:49:06 +07:00
parent 93b30c6692
commit 35729dd584
5 changed files with 52 additions and 77 deletions

View File

@ -111,6 +111,7 @@ class Account extends Model
->select('ARRANGEMENT_ID','PRODUCT_LINE','CO_CODE','START_DATE','CURRENCY','PRODUCT','LINKED_APPL_ID')
// ->join('STG_DB.ACCOUNT AS AC', 'AA.LINKED_APPL_ID', '=', 'AC.ACCOUNT_NUMBER')
->where('CUSTOMER',$cus_no)
// ->whereIn(DB::raw("LINKED_APPL_ID"),$arr)
->where('ARR_STATUS' , 'CURRENT')
// ->orderBy('TERM','DESC');
->where('BATCH_DATE', $dateCore)
@ -207,4 +208,4 @@ class Account extends Model
}
}