Skip to content

Commit

Permalink
* Исправление ошибки в таблице аудита - не отображалась шапка
Browse files Browse the repository at this point in the history
  • Loading branch information
leraRadicovich committed Nov 3, 2024
1 parent 97b83e8 commit 4267ccd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
19 changes: 15 additions & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion SEQUENCE/Functions/FunctionalProcedures.puml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
!$eventId = "aud" + $auditId
!$key = "start" + $event
!$startEvent = %get_variable_value($key)
!$eventValue = "| " + $auditId + " | " + $event + " | " + $startEvent + " | " + $id + " | " + $status + " | " + $auditDescription + " |"
!$eventValue = %newline() + "| " + $auditId + " | " + $event + " | " + $startEvent + " | " + $id + " | " + $status + " | " + $auditDescription + " |"
%set_variable_value($eventId,$eventValue)
!if $status == "FAILURE"
hnote over $source #orange/red: <color:red><&media-stop> <color:black>$event
Expand Down
3 changes: 1 addition & 2 deletions SEQUENCE/Functions/ServiceProcedures.puml
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,9 @@
!unquoted procedure auditTableBuilder()
!$i = 0
!$r = ""
!$auditTable = ""
!while $i < $auditId || $i == $auditId
!$r = "aud" + $i
!$auditTable = $auditTable + %newline() + %get_variable_value($r)
!$auditTable = $auditTable + %get_variable_value($r)
!$i = $i + 1
!endwhile
!endprocedure
Expand Down
5 changes: 2 additions & 3 deletions SEQUENCE/LibraryDocumentation/fullLib.puml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
!$eventId = "aud" + $auditId
!$key = "start" + $event
!$startEvent = %get_variable_value($key)
!$eventValue = "| " + $auditId + " | " + $event + " | " + $startEvent + " | " + $id + " | " + $status + " | " + $auditDescription + " |"
!$eventValue = %newline() + "| " + $auditId + " | " + $event + " | " + $startEvent + " | " + $id + " | " + $status + " | " + $auditDescription + " |"
%set_variable_value($eventId,$eventValue)
!if $status == "FAILURE"
hnote over $source #orange/red: <color:red><&media-stop> <color:black>$event
Expand Down Expand Up @@ -316,10 +316,9 @@ end legend
!unquoted procedure auditTableBuilder()
!$i = 0
!$r = ""
!$auditTable = ""
!while $i < $auditId || $i == $auditId
!$r = "aud" + $i
!$auditTable = $auditTable + %newline() + %get_variable_value($r)
!$auditTable = $auditTable + %get_variable_value($r)
!$i = $i + 1
!endwhile
!endprocedure
Expand Down

0 comments on commit 4267ccd

Please sign in to comment.