hotFix_workerTimeControl_reUse_hasToRefill #2049
|
@ -164,7 +164,7 @@ module.exports = Self => {
|
|||
|
||||
const sql = ParameterizedSQL.join(stmts, ';');
|
||||
const days = await conn.executeStmt(sql, myOptions);
|
||||
console.log(days[index][0]);
|
||||
|
||||
let previousWorkerFk = days[index][0].workerFk;
|
||||
let previousReceiver = days[index][0].receiver;
|
||||
|
||||
|
@ -357,7 +357,7 @@ module.exports = Self => {
|
|||
previousReceiver = day.receiver;
|
||||
}
|
||||
|
||||
if (tx) await tx.rollback();
|
||||
if (tx) await tx.commit();
|
||||
} catch (e) {
|
||||
const stmts = [];
|
||||
let stmt;
|
||||
|
|
Loading…
Reference in New Issue