Format code
parent
88fb1894ac
commit
3d65ceb117
13
32_7.sql
13
32_7.sql
|
@ -1,4 +1,4 @@
|
|||
execute block (
|
||||
execute block (
|
||||
IN_ID_APP_EVENT D_BIGINT = :IN_ID_APP_EVENT)
|
||||
returns (
|
||||
output D_SMALLINT)
|
||||
|
@ -75,7 +75,8 @@ begin
|
|||
|
||||
if (:F_APP_EVENT_VID = 8795 /*Создание уведомления*/ ) then
|
||||
F_OPER = 1;
|
||||
else begin
|
||||
else
|
||||
begin
|
||||
output = -2;/*Неизвестная операция*/
|
||||
suspend;
|
||||
exit;
|
||||
|
@ -126,9 +127,11 @@ begin
|
|||
end
|
||||
|
||||
update or insert into APP_NOTE (ID_APP_NOTE, APP_NOTE_ID_SOTR, APP_NOTE_ID_APP_TASK, APP_NOTE_STATUS, APP_NOTE_TIP,
|
||||
APP_NOTE_TEXT, APP_NOTE_DEL, APP_NOTE_CR, APP_NOTE_WCR, APP_NOTE_CH, APP_NOTE_WCH)
|
||||
APP_NOTE_TEXT, APP_NOTE_DEL, APP_NOTE_CR, APP_NOTE_WCR, APP_NOTE_CH, APP_NOTE_WCH)
|
||||
values (:NEW_ID_APP_NOTE, :NEW_APP_NOTE_ID_SOTR, :NEW_APP_NOTE_ID_APP_TASK, :NEW_APP_NOTE_STATUS, :NEW_APP_NOTE_TIP,
|
||||
:NEW_APP_NOTE_TEXT, :NEW_APP_NOTE_DEL, :NEW_APP_NOTE_CR, :NEW_APP_NOTE_WCR, :NEW_APP_NOTE_CH, :NEW_APP_NOTE_WCH)
|
||||
:NEW_APP_NOTE_TEXT, :NEW_APP_NOTE_DEL, :NEW_APP_NOTE_CR, :NEW_APP_NOTE_WCR, :NEW_APP_NOTE_CH,
|
||||
:NEW_APP_NOTE_WCH)
|
||||
matching (ID_APP_NOTE);
|
||||
|
||||
end
|
||||
suspend;
|
||||
end
|
Loading…
Reference in New Issue