link c:\devfac14 <-> \\srvtse\devfac14

This commit is contained in:
2019-03-26 06:38:28 +01:00
parent e408fcc9b0
commit 5dde12849f
2 changed files with 5 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ def get_docs_attaches(request, nodossier, norapport, filename):
nochantier = int(nodossier[3:])
if filename == '':
query = "SELECT * FROM dossier_attaches WHERE nomrep = 'DOCS_ATTACHES' AND societe = :societe AND nochantier = :nochantier ORDER BY cree_le;"
query = "SELECT * FROM dossier_attaches WHERE nomrep = 'DOCS_ATTACHES' AND societe = :societe AND nochantier = :nochantier AND nodossier=0 ORDER BY cree_le;"
else:
query = """SELECT * FROM dossier_attaches WHERE nomrep = 'DOCS_ATTACHES' AND societe = :societe AND nochantier = :nochantier
AND nodossier = :norapport AND nomfichier = :filename ORDER BY cree_le;"""

View File

@@ -1,5 +1,7 @@
-- Windows 10, lecteur local
mklink /J DEVFAC C:\DEVFAC14
-- Windows server, lecteur r<>seau
mklink /D DEVFAC \\SRVTSE\DEVFAC14
-- Windows server, lecteur r<>seau
dans le dossier static : mklink /D DEVFAC \\SRVTSE\DEVFAC14
dans le dossier c:\ : mklink /D DEVFAC14 \\SRVTSE\DEVFAC14