PZEE#88127 Notificatie alleen voor meldingen uit meldinggroep Veiligheid (en op juiste behandelteam)
svn path=/Customer/trunk/; revision=69800
This commit is contained in:
@@ -1945,6 +1945,7 @@ AS
|
||||
ba.prs_bedrijfadres_key
|
||||
FROM mld_discipline bt,
|
||||
mld_melding m,
|
||||
mld_stdmelding sm,
|
||||
mld_statuses s,
|
||||
fac_tracking t,
|
||||
fac_srtnotificatie sn,
|
||||
@@ -1952,6 +1953,8 @@ AS
|
||||
prs_bedrijfadres ba
|
||||
WHERE bt.ins_discipline_key = m.mld_ins_discipline_key
|
||||
AND s.mld_statuses_key = m.mld_melding_status
|
||||
AND sm.mld_stdmelding_key = m.mld_stdmelding_key
|
||||
AND sm.sm.mld_stdmeldinggroep_key = 13 -- meldinggroep Veiligheid
|
||||
AND m.mld_ins_discipline_key IN (261, 702) -- melding staat op behandelteam Security of Security datalek
|
||||
AND t.fac_tracking_refkey = m.mld_melding_key
|
||||
AND t.fac_srtnotificatie_key = 47 -- MLDAFM melding is afgemeld
|
||||
|
||||
Reference in New Issue
Block a user