update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 110;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 110;
insert into agenda_tarefa (idPrimario, assunto, vendedor, dataCriacao, dataInsercao, data, horario_inicial, horario_final, usuario, supervisor, idOriginal, observacao, clientes, resumo, status) select date_format(now(),'%Y%m%d%H%i%s') * -1, 999, b.vendedor, curdate(), now(), a.prazo, '08:00:00', '08:00:00', b.supervisor, b.supervisor, date_format(now(),'%Y%m%d%H%i%s') * -1, a.acao, '', '', 'Pendente' FROM agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b where a.tarefaAgendada is null and a.tarefa = b.id ; - 110;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 110;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 110;
DELETE FROM agenda_tarefa WHERE idPrimario ='-1756220440742' - 110;
update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 110;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 110;
insert into agenda_tarefa (idPrimario, assunto, vendedor, dataCriacao, dataInsercao, data, horario_inicial, horario_final, usuario, supervisor, idOriginal, observacao, clientes, resumo, status) select date_format(now(),'%Y%m%d%H%i%s') * -1, 999, b.vendedor, curdate(), now(), a.prazo, '08:00:00', '08:00:00', b.supervisor, b.supervisor, date_format(now(),'%Y%m%d%H%i%s') * -1, a.acao, '', '', 'Pendente' FROM agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b where a.tarefaAgendada is null and a.tarefa = b.id ; - 110;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 110;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210689733','2','','843','2025-08-26','2025-08-26','08:00:00','18:00:00','Finalizado','110','110','','-1756210689733','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','08:00:00','18:00:00','Finalizado','110','110','','-1756210702656','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210715922','4','','843','2025-08-26','2025-08-26','08:00:00','18:00:00','Finalizado','110','110','','-1756210715922','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210689733','2','','843','2025-08-26','2025-08-26','','','','','110','32050001','-1756210719822','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210715922','4','','843','2025-08-26','2025-08-26','','','','','110','32050001','-1756210721435','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','31017601','-1756215317035','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','70801','-1756215340617','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','596701','-1756215356663','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','20431701','-1756215368575','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','32113801','-1756215385845','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','396701','-1756215401998','','') - 110;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1756210702656','1','','843','2025-08-26','2025-08-26','','','','','110','','-1756215427927','','') - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210719822','416','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210719822','417','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210719822','418','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210719822','419','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','423','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','424','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','425','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','426','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','427','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','404','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','428','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','429','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','430','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','431','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','432','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','433','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','434','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','435','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','436','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756210721435','437','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215317035','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','204','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215340617','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215356663','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','107','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','108','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','307','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','420','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215368575','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','107','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','108','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','307','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','420','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','113','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','209','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','212','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','115','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','116','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','214','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215385845','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','421','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','422','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1756215401998','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 110;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1756210689733','2025-08-26','','focar estudar como fazer volume e promoções..') - 110;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1756210715922','2025-09-26','','estudar volume como fazer olhar as oportunidades ..') - 110;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1756210702656','2025-09-26','','forçar implentar force multi uso todeschine higguinho') - 110;
UPDATE agenda_tarefa SET idPrimario = 53841 WHERE idPrimario = -1756210689733 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53841 WHERE tarefa = -1756210689733 - 110;
UPDATE agenda_tarefa SET idPrimario = 53842 WHERE idPrimario = -1756210702656 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53842 WHERE tarefa = -1756210702656 - 110;
UPDATE agenda_tarefa SET idPrimario = 53843 WHERE idPrimario = -1756210715922 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53843 WHERE tarefa = -1756210715922 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53844 WHERE tarefa = -1756210719822 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53844 WHERE tarefa = -1756210719822 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53845 WHERE tarefa = -1756210721435 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53845 WHERE tarefa = -1756210721435 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53846 WHERE tarefa = -1756215317035 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53846 WHERE tarefa = -1756215317035 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53847 WHERE tarefa = -1756215340617 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53847 WHERE tarefa = -1756215340617 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53848 WHERE tarefa = -1756215356663 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53848 WHERE tarefa = -1756215356663 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53849 WHERE tarefa = -1756215368575 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53849 WHERE tarefa = -1756215368575 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53850 WHERE tarefa = -1756215385845 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53850 WHERE tarefa = -1756215385845 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53851 WHERE tarefa = -1756215401998 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53851 WHERE tarefa = -1756215401998 - 110;
UPDATE agenda_resposta_formulario SET tarefa = 53852 WHERE tarefa = -1756215427927 - 110;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53852 WHERE tarefa = -1756215427927 - 110;
update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 110;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 110;
insert into agenda_tarefa (idPrimario, assunto, vendedor, dataCriacao, dataInsercao, data, horario_inicial, horario_final, usuario, supervisor, idOriginal, observacao, clientes, resumo, status) select date_format(now(),'%Y%m%d%H%i%s') * -1, 999, b.vendedor, curdate(), now(), a.prazo, '08:00:00', '08:00:00', b.supervisor, b.supervisor, date_format(now(),'%Y%m%d%H%i%s') * -1, a.acao, '', '', 'Pendente' FROM agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b where a.tarefaAgendada is null and a.tarefa = b.id ; - 110;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 110;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 110;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '53841'
GROUP BY a.idPrimario - 110;
Binding output parameters deu certo: ( 0) - 110;
FORM VENDEDOR 20 - 110;
GRUPO->
Grupos:
| Grupo |
Qtd |
Percentual |
| 50 - 10 - ANALISE SITUACIONAL DO COLABORADOR |
4 |
25.00 |
- 110;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
| 50 - 10 - ANALISE SITUACIONAL DO COLABORADOR |
416 - É C1 (MOTIVAÇÃO BAIXA / HABILIDADE BAIXA)? ESTILO DO LÍDER = DIRIGIR. |
1 |
0.00 |
| 50 - 10 - ANALISE SITUACIONAL DO COLABORADOR |
417 - É C2 (MOTIVAÇÃO ALTA / HABILIDADE BAIXA)? ESTILO DO LÍDER = GUIAR. |
1 |
100.00 |
| 50 - 10 - ANALISE SITUACIONAL DO COLABORADOR |
418 - É C3 (MOTIVAÇÃO BAIXA / HABILIDADE ALTA)? ESTILO DO LÍDER = APOIAR. |
1 |
0.00 |
| 50 - 10 - ANALISE SITUACIONAL DO COLABORADOR |
419 - É C4 (MOTIVAÇÃO ALTA / HABILIDADE ALTA)? ESTILO DO LÍDER = DELEGAR. |
1 |
0.00 |
- 110;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '53842'
GROUP BY a.idPrimario - 110;
Binding output parameters deu certo: ( 0) - 110;
FORM VENDEDOR 20 - 110;
GRUPO->Grupos:
| Grupo |
Qtd |
Percentual |
| 1 - 1 - PLANEJAR |
18 |
100.00 |
| 2 - 2 - LEITURA DE LOJA |
30 |
43.33 |
| 3 - 3 - EXECUTAR |
30 |
46.67 |
| 4 - 4 - NEGOCIAR |
42 |
88.10 |
| 5 - 5 - ANALISAR |
24 |
87.50 |
- 110;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
| 1 - 1 - PLANEJAR |
101 - 1 - É UMA VISITA NO ROTEIRO DO DIA? |
6 |
100.00 |
| 1 - 1 - PLANEJAR |
102 - 2 - TEM AS PARCIAIS (MSL/TOPS/CAMPANHAS), ANALISOU E SABE O QUE PRECISA FAZER NESTA VISITA/CLIENTE (ITENS QUE PRECISA POSITIVAR, TAREFA ANTERIOR, ETC)? |
6 |
100.00 |
| 1 - 1 - PLANEJAR |
103 - 3 - REVISOU CADASTRO (CRÉDITO) E HISTÓRICO DE COMPRA? |
6 |
100.00 |
| 2 - 2 - LEITURA DE LOJA |
105 - 4 - FEZ O LEVANTAMENTO DE ESTOQUE USANDO O HISTÓRICO DO APP DE VENDAS? |
6 |
100.00 |
| 2 - 2 - LEITURA DE LOJA |
107 - 6 - ANALISOU CONCORRENTES (ESPAÇO, MIX E PREÇOS)? IDENTIFICOU OPORTUNIDADES COM OLHO NA CONCORRÊNCIA? |
6 |
66.67 |
| 2 - 2 - LEITURA DE LOJA |
204 - 7 - LOJA TEM DE AÇÕES DE MERCHANDISING? (CLIP STRIP, CROSS MERCHANDISING, WOBLER, CARTAZ, ETC...) SE NÃO TINHA, COLOCOU ALGUM ITEM? |
6 |
16.67 |
| 2 - 2 - LEITURA DE LOJA |
205 - 8 - LOJA TEM AÇÕES DE MERCHANDISING? (PONTA, ILHA, ENCARTE, EXPOSITOR) |
6 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
304 - 5 - ANALISOU NOSSO PREÇOS VS PREÇO SUGERIDO? PRODUTOS ESTÃO PRECIFICADOS CORRETAMENTE (MESMO PREÇO ENTRE FRAGRÂNCIAS E SIMILARES/AGRUPAMENTOS)? CORRIGIU O PROBLEMA? |
6 |
33.33 |
| 3 - 3 - EXECUTAR |
108 - 9 - ANALISOU A VALIDADE DOS PRODUTOS? TOMOU ATITUDE PARA RESOLVER O PROBLEMA? |
6 |
66.67 |
| 3 - 3 - EXECUTAR |
307 - 10 - FOI NO DEPÓSITO? VERIFICOU SE TEM MERCADORIA NO DEPÓSITO E NÃO TEM NA ÁREA DE VENDAS? RESOLVEU PROBLEMAS? |
6 |
66.67 |
| 3 - 3 - EXECUTAR |
420 - 11 - VERIFICOU TROCAS E PROBLEMAS COM PRODUTOS? RESOLVER IMEDIATAMENTE. |
6 |
66.67 |
| 3 - 3 - EXECUTAR |
421 - 12 - ABASTECEU, COLOCOU MATERIAL, ORGANIZOU GÔNDOLAS E RUPTURAS, ARRUMOU E/OU COLOCOU PREÇO? |
6 |
16.67 |
| 3 - 3 - EXECUTAR |
422 - 13 - CORRIGIU MERCADORIA QUE NÃO TINHA NO PONTO NATURAL MAS TINHA NO PONTO EXTRA? CASO ESTEJA OK, MARCAR SIM. |
6 |
16.67 |
| 4 - 4 - NEGOCIAR |
109 - 14 - FEZ UMA ABORDAGEM/ABERTURA EFICIENTE? (CORDIAL, POSITIVA, ADEQUADA AO PERFIL DESTE CLIENTE) |
6 |
100.00 |
| 4 - 4 - NEGOCIAR |
110 - 15 - APRESENTOU A PAUTA AO CLIENTE (MESMO SENDO FILIAL OU COMPRADOR AUSENTE, APRESENTE AO GESTOR DA LOJA ITENS QUE DESEJA INTRODUZIR)? |
6 |
100.00 |
| 4 - 4 - NEGOCIAR |
112 - 17 - NEGOCIOU AS RUPTURAS (SE FOR FILIAL OU COMPRADOR AUSENTE, FEZ A CONTAGEM ESTOQUE E IDENTIFICOU RUPTURA)? |
6 |
83.33 |
| 4 - 4 - NEGOCIAR |
113 - 19 - FEZ INTRODUÇÃO DE ALGUM ITEM (CADASTRO NOVO)? |
6 |
83.33 |
| 4 - 4 - NEGOCIAR |
209 - 18 - TINHA ARGUMENTOS PARA REVERTER OBJEÇÃO (SE NÃO TEVE=RESPOSTA SIM) SE NÃO CONSEGUIU REVERTER, TEMA PARA FEEDBACK E INCLUIR NAS TAREFAS/AGENDA FUTURA. QUAL A OBJEÇÃO, COMO REVERTER, DICAS, TREINAR, ETC. (SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR |
6 |
83.33 |
| 4 - 4 - NEGOCIAR |
210 - 17 - TIROU O PEDIDO? (NÃO É ORÇAMENTO! É PEDIDO PARA FATURAR JÁ!!)
(SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
6 |
83.33 |
| 4 - 4 - NEGOCIAR |
212 - 20 - "TIROU O PEDIDO? (NÃO É ORÇAMENTO! É PEDIDO PARA FATURAR JÁ!!)
(SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
6 |
83.33 |
| 5 - 5 - ANALISAR |
115 - 18 - AO SAIR DO CLIENTE REFORÇOU O QUE FOI COMBINADO?
(VALOR DO PEDIDO/DATA/ESPAÇO/PREÇO/RUPTURAS/CAMPANHAS/ITENS INTRODUZIR) |
6 |
83.33 |
| 5 - 5 - ANALISAR |
116 - 21 - "AO SAIR DO CLIENTE REFORÇOU O QUE FOI COMBINADO?
(VALOR DO PEDIDO/DATA/ESPAÇO/PREÇO/RUPTURAS/CAMPANHAS/ITENS INTRODUZIR)" |
6 |
83.33 |
| 5 - 5 - ANALISAR |
214 - 22 - REVISOU O PEDIDO ANTES DE ENVIAR (PREÇOS, COMBOS, BONIFICAÇÕES, PRAZO, ETC...)? |
6 |
83.33 |
| 5 - 5 - ANALISAR |
215 - 23 - TRASMITIU AO SAIR DO CLIENTE? (PEDIDO, NÃO VENDA OU VENDA DIGITADO POSTERIOR) |
6 |
100.00 |
- 110;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '53843'
GROUP BY a.idPrimario - 110;
Binding output parameters deu certo: ( 0) - 110;
FORM VENDEDOR 20 - 110;
GRUPO->Grupos:
| Grupo |
Qtd |
Percentual |
| 10 - 6 - SABEDORIA |
5 |
80.00 |
| 11 - 7 - ENGAJAMENTO |
3 |
100.00 |
| 12 - 8 - RELACIONAMENTO |
3 |
100.00 |
| 13 - 9 - HABILIDADES E PASSOS DA VISITA PLENA |
5 |
100.00 |
- 110;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
| 10 - 6 - SABEDORIA |
423 - 24 - DOMÍNIO DA FERRAMENTA APP DE VENDAS? (RESPOSTA NÃO - MENCIONE NA OBSERVAÇÃO E MARQUE TAREFA DE TREINAMENTO) |
1 |
100.00 |
| 10 - 6 - SABEDORIA |
424 - 25 - CONHECE OS PRODUTOS E SABE ARGUMENTAR SOBRE ELES? (RESPOSTA NÃO - MENCIONE NA OBSERVAÇÃO A(S) MARCA(S) QUE TEM DIFICULDADE E SUPERVISOR DEVE MARCAR TAREFA DE TREINAMENTO) |
1 |
100.00 |
| 10 - 6 - SABEDORIA |
425 - 26 - DEMONSTRA CONHECIMENTO DO CHAM? PEÇA PARA EXPLICAR COMBOS. (RESPOSTA NÃO - MENCIONE NA OBSERVAÇÃO EM QUAL (IS) TEM DIFICULDADE E EXPLIQUE DE IMEDIATO) |
1 |
100.00 |
| 10 - 6 - SABEDORIA |
426 - 27 - ESTÁ UTILIZANDO A PLATAFORMA DA UMENTOR? (VERIFIQUE SE ESTÁ FAZENDO OS CURSOS INDICADOS E ESPONTÂNEOS) |
1 |
0.00 |
| 10 - 6 - SABEDORIA |
427 - 28 - SABE QUAIS SÃO, TEM ACOMPANHAMENTO E SABE COMO ESTÁ NAS CAMPANHAS DE VENDAS? FAÇA PERGUNTAS ABERTAS E OBSERVE AS RESPOSTAS (RESPOSTA NÃO - MENCIONE NA OBSERVAÇÃO EM QUAL (IS) TEM DIFICULDADE E EXPLIQUE DE IMEDIATO) |
1 |
100.00 |
| 11 - 7 - ENGAJAMENTO |
404 - É UMA PESSOA ENGAJADA COM OS METAS DE POSITIVAÇÃO E LANÇAMENTOS? (VOCE DEVE ANALISAR PARCIAIS DE LANÇAMENTOS E POSITIVAÇÃO. SE RARAMENTE BATE, NÃO É ENGAJADO).
(VENDEDOR NOVO ATÉ 3 MESES ... PODE MARCAR NÃO) |
1 |
100.00 |
| 11 - 7 - ENGAJAMENTO |
428 - 29 - É UMA PESSOA ENGAJADA COM OS METAS DE POSITIVAÇÃO E LANÇAMENTOS? (VOCE DEVE ANALISAR PARCIAIS DE LANÇAMENTOS E POSITIVAÇÃO. SE RARAMENTE BATE, NÃO É ENGAJADO).
(VENDEDOR NOVO ATÉ 3 MESES ... PODE MARCAR NÃO) |
1 |
100.00 |
| 11 - 7 - ENGAJAMENTO |
429 - 30 - PARTICIPA NAS REUNIÕES OU NO GRUPO WHATSAPP DE FORMA ATIVA? (DÁ IDÉIAS, POSTA TRABALHOS, COMPARTILHA ASSUNTOS, ALERTA PARA ERROS) |
1 |
100.00 |
| 12 - 8 - RELACIONAMENTO |
430 - 31 - ESTÁ DEVIDAMENTE IDENTIFICADO (UNIFORME, CRACHÁ)? |
1 |
100.00 |
| 12 - 8 - RELACIONAMENTO |
431 - 32 - CONHECE OS CLIENTES (COMPRADOR/DONO/QUEM DECIDE) E É CONHECIDO? |
1 |
100.00 |
| 12 - 8 - RELACIONAMENTO |
432 - 33 - TEM POSTURA OTIMISTA, ACREDITA NO PRODUTO E NA EMPRESA, NÃO DEIXA OS PROBLEMAS ATRAPALHAREM SEU DIA E POSTURA, TEM BOA REPUTAÇÃO JUNTO A CLIENTES? (SE ESTÁ PESSIMISTA OU POSTURA NEGATIVA, VOCE DEVE INVESTIGAR A CAUSA (PROFISSIONAL OU PESSOAL). |
1 |
100.00 |
| 13 - 9 - HABILIDADES E PASSOS DA VISITA PLENA |
433 - 34 - CUMPRE OS PASSOS DE PLANEJAMENTO DA VISITA? (ABAIXO DE 65% É NÃO) |
1 |
100.00 |
| 13 - 9 - HABILIDADES E PASSOS DA VISITA PLENA |
434 - 35 - CUMPRE OS PASSOS DE LEVANTAMENTO DA VISITA? (ABAIXO DE 65% É NÃO) |
1 |
100.00 |
| 13 - 9 - HABILIDADES E PASSOS DA VISITA PLENA |
435 - 36 - CUMPRE OS PASSOS DE EXECUÇÃO DA VISITA? (ABAIXO DE 65% É NÃO) |
1 |
100.00 |
| 13 - 9 - HABILIDADES E PASSOS DA VISITA PLENA |
436 - 37 - CUMPRE OS PASSOS DE NEGOCIAÇÃO DA VISITA? (ABAIXO DE 65% É NÃO) |
1 |
100.00 |
| 13 - 9 - HABILIDADES E PASSOS DA VISITA PLENA |
437 - 38 - CUMPRE OS PASSOS DE AVALIAÇÃO DA VISITA? (ABAIXO DE 65% É NÃO) |
1 |
100.00 |
- 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;
statusNaoFinalizado - 110;