check log

This commit is contained in:
2025-01-15 11:39:28 +07:00
parent d18b91edda
commit b4d700e27d
@@ -634,10 +634,10 @@ const updateReservationAndLoadingBalance = async (
})
.then((history) => {
winston.logger.debug(
`${JSON.parse(history)} history t_d_load_balance_history_detail`
`${JSON.stringify(history)} history t_d_load_balance_history_detail`
);
winston.logger.debug(
`${JSON.parse(
`${JSON.stringify(
history[0]
)} id t_d_load_balance_history_detail before parseint`
);
@@ -667,7 +667,9 @@ const updateReservationAndLoadingBalance = async (
});
winston.logger.debug(
`${reservationNumber} proses insert t_d_load_balance_history_detail updateReservationAndLoadingBalance: ${loadDetail}`
`${reservationNumber} proses insert t_d_load_balance_history_detail updateReservationAndLoadingBalance: ${JSON.stringify(
loadDetail
)}`
);
// insert detail load balance
return knex('trx.t_d_load_balance_history_detail')