refactor(webstatement): remove _parameter folder skipping logic from processing jobs
- Menghapus logika pengecekan dan pengabaian folder `_parameter` di seluruh job pemrosesan data berikut: - `ProcessAccountDataJob` - `ProcessAtmTransactionJob` - `ProcessBillDetailDataJob` - `ProcessCategoryDataJob` - `ProcessCompanyDataJob` - `ProcessCustomerDataJob` - `ProcessDataCaptureDataJob` - `ProcessFundsTransferDataJob` - `ProcessStmtEntryDataJob` - `ProcessTellerDataJob` - Menghapus konstanta `PARAMETER_FOLDER` yang terkait dengan folder `_parameter` pada beberapa job. - Membersihkan code redundancy yang tidak relevan untuk meningkatkan keterbacaan dan efisiensi. - Logika ini dianggap tidak diperlukan lagi dalam proses pemrosesan data. Signed-off-by: Daeng Deni Mardaeni <ddeni05@gmail.com>
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
private const PARAMETER_FOLDER = '_parameter';
|
||||
|
||||
// Konstanta untuk nilai-nilai statis
|
||||
private const FILE_EXTENSION = '.ST.TELLER.csv';
|
||||
private const CSV_DELIMITER = '~';
|
||||
@@ -153,12 +151,6 @@
|
||||
return;
|
||||
}
|
||||
|
||||
// Skip the parameter folder
|
||||
if ($this->period === self::PARAMETER_FOLDER) {
|
||||
Log::info("Skipping " . self::PARAMETER_FOLDER . " folder");
|
||||
return;
|
||||
}
|
||||
|
||||
$stats = $this->processPeriodFile();
|
||||
|
||||
Log::info("ProcessTellerDataJob completed. Total processed: {$stats['processed']}, Total errors: {$stats['errors']}");
|
||||
|
||||
Reference in New Issue
Block a user