mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 21:26:28 +00:00
update
This commit is contained in:
@@ -2172,17 +2172,17 @@ const updateReservationAndLoadingBalance = async (
|
||||
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} DDDDDDDDDDDDDDDDDDDDDDDDDDDDDD ${JSON.stringify(
|
||||
`${uniqueCode} detail load balance with reservation no : ${JSON.stringify(
|
||||
reservationNumber
|
||||
)}`
|
||||
);
|
||||
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} updating reservation and insert new load balance transaction...`
|
||||
);
|
||||
|
||||
if (detailLoadBalance.length > 0) {
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} updating reservation and insert new load balance transaction...`
|
||||
);
|
||||
|
||||
// update reservation and load balance transaction
|
||||
let insert = await model.updateReservationAndInsertLoadingBalance(
|
||||
reservationNumber,
|
||||
@@ -2192,6 +2192,11 @@ const updateReservationAndLoadingBalance = async (
|
||||
flag
|
||||
);
|
||||
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} CCCCCCCCCCCCCCCCCCCCCCCCC ${JSON.stringify(insert)}`
|
||||
);
|
||||
|
||||
if (insert > 0) {
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
|
||||
Reference in New Issue
Block a user