7152-devToTest_2414 #2228

Merged
alexm merged 636 commits from 7152-devToTest_2414 into test 2024-03-28 08:26:34 +00:00
2 changed files with 41 additions and 1 deletions
Showing only changes of commit 893320b114 - Show all commits

View File

@ -37,6 +37,11 @@ module.exports = Self => {
} }
}] }]
}, myOptions); }, myOptions);
const lastUpdatedTicket = await models.ticketLog.findById(id, {
include: [{
}]
});
const now = Date.vnNew(); const now = Date.vnNew();
const maxDate = new Date(ticket.updated); const maxDate = new Date(ticket.updated);

View File

@ -5,5 +5,40 @@
"mysql": { "mysql": {
"table": "ticketLog" "table": "ticketLog"
} }
},
"properties": {
"id": {
"type": "string"
},
"originFk": {
"type": "number"
},
"userFk": {
"type":"number"
},
"action": {
"type": "string"
},
"creationDate": {
"type": "date"
},
"description": {
"type": "string"
},
"changeModel": {
"type": "string"
},
"oldInstance": {
"type": "string"
},
"newInstance": {
"type": "string"
},
"changedModelId": {
"type": "number"
},
"changedModelValue": {
"type": "string"
}
} }
} }