feat workerActivity refs #6078
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
eaa366ff39
commit
59df0b3886
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue