feat: add sync script for appro tables including commande_fou, cdefou_ligne, commande_auto_qtepropo, and plan_reappro

This commit is contained in:
Michael committed 2026-03-30 18:34:24 +02:00
1 parent e629a1c699
commit d885f51bdb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -413,7 +413,7 @@ CREATE TABLE IF NOT EXISTS cdefou_ligne (
qteann NUMERIC(12,3),
qteatt NUMERIC(12,3),
qterel NUMERIC(12,3),
colisage NUMERIC(10,3),
colisage TEXT,
suividatecreation TIMESTAMP,
suividatemodif TIMESTAMP
);
+1 -1
View File
@@ -94,7 +94,7 @@ async function syncAppro(force) {
qteann: r.QTEANN ?? null,
qteatt: r.QTEATT ?? null,
qterel: r.QTEREL ?? null,
colisage: r.COLISAGE ?? null,
colisage: safeStr(r.COLISAGE),
suividatecreation: r.SUIVIDATECREATION,
suividatemodif: r.SUIVIDATEMODIF,
}));