feat workerActivity refs #6078
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2024-07-30 17:46:21 +02:00
parent eaa366ff39
commit 59df0b3886
2 changed files with 0 additions and 8 deletions

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]);
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);
const wac = await models.WorkerActivity.find(
{'wokerFk': 1106}
);
console.log('----' + JSON.stringify(wac, null, 2));
await tx.rollback();
} catch (e) {