|
|
|
@ -75,6 +75,52 @@ CREATE TABLE md_system_message (
|
|
|
|
|
momento varchar NULL |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
INSERT INTO |
|
|
|
|
md_system_message (data_reg, texto, ordem, momento) |
|
|
|
|
VALUES |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'Olá @cliente_name tudo certo?', |
|
|
|
|
0, |
|
|
|
|
'SAUDACAO' |
|
|
|
|
), |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'@cliente_name escolha uma das opções abaixo para iniciar o atendimento', |
|
|
|
|
0, |
|
|
|
|
'SAUDACAO' |
|
|
|
|
), |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'Cancelado o atendimento!', |
|
|
|
|
0, |
|
|
|
|
'CANCELAR_FILA' |
|
|
|
|
), |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'Atendimento iniciado!', |
|
|
|
|
0, |
|
|
|
|
'INICIAR_ATENDIMENTO' |
|
|
|
|
), |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'Atendimento finalizado!', |
|
|
|
|
0, |
|
|
|
|
'FINALIZAR_ATENDIMENTO' |
|
|
|
|
), |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'Não temos nenhum atendente disponível no momento, iremos lhe atender assim que um atendente estiver disponível!', |
|
|
|
|
0, |
|
|
|
|
'ENTRAR_FILA_SEM' |
|
|
|
|
), |
|
|
|
|
( |
|
|
|
|
now(), |
|
|
|
|
'Nossos atendentes estão ocupados, por favor aguarde que iremos lhe atender!', |
|
|
|
|
0, |
|
|
|
|
'ENTRAR_FILA_COM' |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
CREATE TABLE md_supervisor ( |
|
|
|
|
id SERIAL NOT NULL PRIMARY KEY, |
|
|
|
|
ramal varchar NULL, |
|
|
|
|