Revert "reorganize upload files and images"

This reverts commit c8275cb10b.
This commit is contained in:
2019-09-18 17:19:20 +02:00
parent c8275cb10b
commit 30518e9e88
524 changed files with 169 additions and 63657 deletions

View File

@@ -1,35 +0,0 @@
select max(nolig) from bddevfac.dem_lig
update bdmenuiz.dem_lig set nolig=nolig+525xxx order by nolig DESC
select max(compteur) from bddevfac.facture_reg
update bdmenuiz.facture_reg set compteur=compteur+28406 order by compteur DESC
supprimer temporairement le trigger `facture_reg_after_ins_tr`
select max(nolig) from bddevfac.ordres_lig
update bdmenuiz.ordres_lig set nolig=nolig+525xxx order by nolig DESC
select max(nolig) from bddevfac.rdvous_lig
update bdmenuiz.rdvous_lig set nolig=nolig+525xxx order by nolig DESC
======================================
CREATE
DEFINER=`root`@`localhost`
TRIGGER `bddevfac`.`facture_reg_after_ins_tr`
AFTER INSERT ON `bddevfac`.`facture_reg`
FOR EACH ROW
BEGIN
IF NEW.modereg < 7 THEN
UPDATE `liv_bnq`
SET montantdebit = (SELECT COALESCE(SUM(montant),0) FROM `facture_reg` WHERE cod_bnq=NEW.cod_bnq)
WHERE cod_bnq=NEW.cod_bnq;
END IF;
CALL spUPD_FACTURE_STATUT(NEW.nofact);
END$$
=========================================