DELETE FROM agenda_tarefa WHERE idPrimario ='35103' - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1726682847495','1','','491','2024-09-18','2024-09-18','14:00:00','15:00:00','Pendente','90','90','','-1726682847495','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1726682847495','1','','491','2024-09-18','2024-09-18','','','','','90','16011601','-1726682920677','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','16011601','-1726683015679','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','30835901','-1726686481076','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1726682847495','1','','491','2024-09-18','2024-09-18','','','','','90','30835901','-1726686565133','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','','-1726687229595','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','','-1726687253913','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','','-1726687264668','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','','-1726691532925','','') - 90; INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('35127','1','','495','2024-09-18','2024-09-18','','','','','90','287901','-1726691579164','','') - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','204','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','421','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','422','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726682920677','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726683015679','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','107','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','421','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686481076','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','421','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','422','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726686565133','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','205','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','421','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','113','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','209','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','212','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','115','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','116','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','214','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1726691579164','215','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90; UPDATE agenda_tarefa SET idPrimario = 35161 WHERE idPrimario = -1726682847495 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35161 WHERE tarefa = -1726682847495 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35162 WHERE tarefa = -1726682920677 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35162 WHERE tarefa = -1726682920677 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35163 WHERE tarefa = -1726683015679 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35163 WHERE tarefa = -1726683015679 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35164 WHERE tarefa = -1726686481076 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35164 WHERE tarefa = -1726686481076 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35165 WHERE tarefa = -1726686565133 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35165 WHERE tarefa = -1726686565133 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35166 WHERE tarefa = -1726687229595 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35166 WHERE tarefa = -1726687229595 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35167 WHERE tarefa = -1726687253913 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35167 WHERE tarefa = -1726687253913 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35168 WHERE tarefa = -1726687264668 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35168 WHERE tarefa = -1726687264668 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35169 WHERE tarefa = -1726691532925 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35169 WHERE tarefa = -1726691532925 - 90; UPDATE agenda_resposta_formulario SET tarefa = 35170 WHERE tarefa = -1726691579164 - 90; UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 35170 WHERE tarefa = -1726691579164 - 90; update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 90; update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 90; 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 ; - 90; update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 90; update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90; statusNaoFinalizado - 90;