refs #6078 - workerAct #2814
|
@ -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
|
||||
console.log('*******');
|
||||
console.log('*******' + userId);
|
||||
console.log('*******' + code);
|
||||
console.log('*******' + model);
|
||||
|
||||
return result;
|
||||
};
|
||||
|
|
|
@ -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
alexm
commented
await await
|
||||
const wac = await models.WorkerActivity.find(
|
||||
{'wokerFk': 1106}
|
||||
);
|
||||
console.log('----' + JSON.stringify(wac, null, 2));
|
||||
|
||||
await tx.rollback();
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue
, myOptions);