2023-07-05 13:20:51 +00:00
|
|
|
UPDATE `vn`.`ticket` t
|
|
|
|
JOIN `vn`.`ticketObservation` o ON o.ticketFk = t.id
|
2023-04-26 11:49:08 +00:00
|
|
|
SET t.weight = cast(REPLACE(o.description, ',', '.') as decimal(10,2))
|
|
|
|
WHERE o.observationTypeFk = 6;
|
|
|
|
|
2023-07-05 13:20:51 +00:00
|
|
|
DELETE FROM `vn`.`ticketObservation` WHERE observationTypeFk = 6;
|
|
|
|
DELETE FROM `vn`.`observationType` WHERE id = 6;
|