refs #6078 - workerAct #2814

Merged
sergiodt merged 7 commits from 6078_workerAct into dev 2024-08-08 08:26:13 +00:00
2 changed files with 0 additions and 8 deletions
Showing only changes of commit 59df0b3886 - Show all commits

View File

@ -45,10 +45,6 @@ module.exports = Self => {
OR sub.code <> ?
OR TIMESTAMPDIFF(SECOND, sub.created, util.VN_NOW()) > wtcp.dayBreak;`
, [userId, code, model, userId, code]);
sergiodt marked this conversation as resolved Outdated
Outdated
Review

, myOptions);

, myOptions);
console.log('*******');
console.log('*******' + userId);
console.log('*******' + code);
console.log('*******' + model);
return result;
};

View File

@ -22,10 +22,6 @@ describe('workerActivity insert()', () => {
ctx.req.accessToken.userId = 1106;
models.WorkerActivity.add(ctx, 'STOP', 'APP', options);
sergiodt marked this conversation as resolved
Review

await

await
const wac = await models.WorkerActivity.find(
{'wokerFk': 1106}
);
console.log('----' + JSON.stringify(wac, null, 2));
await tx.rollback();
} catch (e) {