refs #6755 fix restore add fixtures

This commit is contained in:
Carlos Satorres 2024-03-06 14:41:58 +01:00
parent 1b3a8ddbdd
commit a14ab90d5a
2 changed files with 8 additions and 0 deletions

View File

@ -3069,3 +3069,10 @@ INSERT INTO `vn`.`cmr` (id,truckPlate,observations,senderInstruccions,paymentIns
UPDATE vn.department UPDATE vn.department
SET workerFk = null; SET workerFk = null;
INSERT INTO vn.ticketLog (originFk,userFk,`action`,creationDate,changedModel,newInstance,changedModelId,changedModelValue)
VALUES (9,9,'insert','2000-01-01 11:01:00.000','Ticket','{"isDeleted":true}',45,'Super Man');
UPDATE vn.ticket
SET isDeleted=1
WHERE id=9;

View File

@ -181,6 +181,7 @@ class Controller extends Section {
return this.$http.get(`TicketLogs`).then(res => { return this.$http.get(`TicketLogs`).then(res => {
if (res && res.data.length) if (res && res.data.length)
console.log(res.data); console.log(res.data);
console.log(res);
return true; return true;
}); });
} }