INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate, dCreatedDate) VALUES ('2', '434', '1', '1', '2026-02-12 07:32:56', '2026-02-12 07:32:56') - 2026-02-12 07:32:56
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '12085', '535', '1', '0', '2026-02-12 07:32:56', '2026-02-12 07:32:56') - 2026-02-12 07:32:56
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '12085', '434', '1', '1', '2026-02-12 07:32:56', '2026-02-12 07:32:56') - 2026-02-12 07:32:56
INSERT INTO worktrackingmst (nFranchiseeId, nUserId, tracking_data, created_at, updated_at) VALUES ('2', '434', '[]', '2026-02-12 07:32:56', '2026-02-12 07:32:56') - 2026-02-12 07:32:56
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, nTrackId, dModifiedDate, dCreatedDate) VALUES ('2', '434', '12085', '2026-02-12 07:32:56', '0', '801', '2026-02-12 07:32:56', '2026-02-12 07:32:56') - 2026-02-12 07:32:56
UPDATE usermst SET dTripDistance = '0' WHERE id = '434' - 2026-02-12 07:32:56
UPDATE usermst SET dLat = '8.80657', dLng = '78.13494', dTripDistance = '46886.06640625' WHERE id = '434' - 2026-02-12 07:33:47
UPDATE worktrackingmst SET tracking_data = '[{"lat":8.80657000000000067529981606639921665191650390625,"lng":78.134940000000000281943357549607753753662109375}]', updated_at = '2026-02-12 07:33:47' WHERE id = '801' - 2026-02-12 07:33:47
INSERT INTO workhdr (nFranchiseeId, team_mates, nUserId, nCustId, nTeamId, nNumberOfEmployee, dWorkDate, tInTime, dLat, dLng, isActive, nStatus, dModifiedDate, dCreatedDate) VALUES ('2', '535,434', '434', '9', '12085', '2', '2026-02-12 07:34:19', '2026-02-12 07:34:19', '8.80656', '78.13494', '1', '10', '2026-02-12 07:34:19', '2026-02-12 07:34:19') - 2026-02-12 07:34:19
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '8.80655', '78.13493', '1', '0', '2026-02-12 07:35:58', '2026-02-12 07:35:58') - 2026-02-12 07:35:58
UPDATE usermst SET dLat = '37.31893', dLng = '-77.45765', dTripDistance = '1.435186958768E7' WHERE id = '434' - 2026-02-12 07:41:36
UPDATE worktrackingmst SET tracking_data = '[{"lat":8.80657000000000067529981606639921665191650390625,"lng":78.134940000000000281943357549607753753662109375},{"lat":37.31893000000000171212377608753740787506103515625,"lng":-77.45765000000000100044417195022106170654296875}]', updated_at = '2026-02-12 07:41:36' WHERE id = '801' - 2026-02-12 07:41:36
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:41:46', '2026-02-12 07:41:46') - 2026-02-12 07:41:46
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:42:18', '2026-02-12 07:42:18') - 2026-02-12 07:42:18
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:42:34', '2026-02-12 07:42:34') - 2026-02-12 07:42:34
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:42:49', '2026-02-12 07:42:49') - 2026-02-12 07:42:49
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:44:26', '2026-02-12 07:44:26') - 2026-02-12 07:44:26
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:45:25', '2026-02-12 07:45:25') - 2026-02-12 07:45:25
UPDATE usermst SET dLat = '27.29448', dLng = '-78.34488', dTripDistance = '1114763.875' WHERE id = '434' - 2026-02-12 07:45:39
UPDATE worktrackingmst SET tracking_data = '[{"lat":8.80657000000000067529981606639921665191650390625,"lng":78.134940000000000281943357549607753753662109375},{"lat":37.31893000000000171212377608753740787506103515625,"lng":-77.45765000000000100044417195022106170654296875},{"lat":27.29448000000000007503331289626657962799072265625,"lng":-78.3448800000000034060576581396162509918212890625}]', updated_at = '2026-02-12 07:45:39' WHERE id = '801' - 2026-02-12 07:45:39
UPDATE usermst SET dLat = '37.31893', dLng = '-77.45765', dTripDistance = '2229527.75' WHERE id = '434' - 2026-02-12 07:45:47
UPDATE worktrackingmst SET tracking_data = '[{"lat":8.80657000000000067529981606639921665191650390625,"lng":78.134940000000000281943357549607753753662109375},{"lat":37.31893000000000171212377608753740787506103515625,"lng":-77.45765000000000100044417195022106170654296875},{"lat":27.29448000000000007503331289626657962799072265625,"lng":-78.3448800000000034060576581396162509918212890625},{"lat":37.31893000000000171212377608753740787506103515625,"lng":-77.45765000000000100044417195022106170654296875}]', updated_at = '2026-02-12 07:45:47' WHERE id = '801' - 2026-02-12 07:45:47
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:46:26', '2026-02-12 07:46:26') - 2026-02-12 07:46:26
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:46:42', '2026-02-12 07:46:42') - 2026-02-12 07:46:42
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, lat, lng, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '9', 'Tried to start work away from customer home', '37.31893', '-77.45765', '1', '0', '2026-02-12 07:47:02', '2026-02-12 07:47:02') - 2026-02-12 07:47:02
INSERT INTO worktrackingmst (nFranchiseeId, nUserId, tracking_data, created_at, updated_at) VALUES ('2', '434', '[]', '2026-02-12 12:23:37', '2026-02-12 12:23:37') - 2026-02-12 12:23:37
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, nTrackId, dModifiedDate, dCreatedDate) VALUES ('2', '434', '12088', '2026-02-12 12:23:37', '0', '805', '2026-02-12 12:23:37', '2026-02-12 12:23:37') - 2026-02-12 12:23:37
UPDATE usermst SET dTripDistance = '0' WHERE id = '434' - 2026-02-12 12:23:37
UPDATE usermst SET dLat = '8.8065344', dLng = '78.1349758', dTripDistance = '0.0' WHERE id = '434' - 2026-02-12 12:23:37
UPDATE worktrackingmst SET tracking_data = '[{"lat":8.806534400000000317731974064372479915618896484375,"lng":78.1349758000000065294443629682064056396484375}]', updated_at = '2026-02-12 12:23:38' WHERE id = '805' - 2026-02-12 12:23:37
UPDATE usermst SET dLat = '8.80653', dLng = '78.13495', dTripDistance = '2.87982177734375' WHERE id = '434' - 2026-02-12 12:23:41
UPDATE workhistory SET nOfficeId = '0', tEndTime = '2026-02-12 12:23:50', nTotalDistance = '2.8798217773438', isReachedOffice = '1' WHERE id = '12350' - 2026-02-12 12:23:50
UPDATE usermst SET dLat = NULL, dLng = NULL, dTripDistance = '0' WHERE id = '434' - 2026-02-12 12:23:50
