feat: add stops-import.txt

This commit is contained in:
dancingCycle 2022-11-28 14:51:57 +01:00
parent 3b365f58f2
commit 1f8dda2f1a
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
@startuml
start
:check user authorization;
if (Authorized?) then (yes)
:check number of imports;
if (number?) equals (2) then
:check stops in storage;
if (Stop storage available?) then (yes)
:check stops from import;
if (Is stop import empty?) then (yes)
end
else
:check zones from import;
if (Is zone import empty?) then (yes)
end
else
:process zones from import;
:process stops from import;
:delete obsolete records in storage;
:return all records from storage;
endif
endif
else
end
endif
else
end
endif
else (no)
end
endif
end
@enduml