INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate, dCreatedDate) VALUES ('2', '414', '1', '1', '2026-01-05 19:13:09', '2026-01-05 19:13:09') - 2026-01-05 19:13:09
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '11936', '414', '1', '1', '2026-01-05 19:13:09', '2026-01-05 19:13:09') - 2026-01-05 19:13:09
INSERT INTO worktrackingmst (nFranchiseeId, nUserId, tracking_data, created_at, updated_at) VALUES ('2', '414', '[]', '2026-01-05 19:13:10', '2026-01-05 19:13:10') - 2026-01-05 19:13:10
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, nTrackId, dModifiedDate, dCreatedDate) VALUES ('2', '414', '11936', '2026-01-05 19:13:10', '0', '728', '2026-01-05 19:13:10', '2026-01-05 19:13:10') - 2026-01-05 19:13:10
UPDATE usermst SET dTripDistance = '0' WHERE id = '414' - 2026-01-05 19:13:10
UPDATE usermst SET dLat = '37.5874962', dLng = '-77.5045534', dTripDistance = '0.0' WHERE id = '414' - 2026-01-05 19:13:10
UPDATE worktrackingmst SET tracking_data = '[{"lat":37.58749619999999680430846638046205043792724609375,"lng":-77.5045534000000060359525377862155437469482421875}]', updated_at = '2026-01-05 19:13:10' WHERE id = '728' - 2026-01-05 19:13:10
INSERT INTO workhdr (nFranchiseeId, team_mates, nUserId, nCustId, nTeamId, nNumberOfEmployee, dWorkDate, tInTime, dLat, dLng, isActive, nStatus, dModifiedDate, dCreatedDate) VALUES ('2', '414', '414', '2905', '11936', '1', '2026-01-05 19:13:20', '2026-01-05 19:13:20', '37.5875', '-77.50455', '1', '10', '2026-01-05 19:13:20', '2026-01-05 19:13:20') - 2026-01-05 19:13:20
UPDATE workhistory SET nOfficeId = '0', tEndTime = '2026-01-05 19:13:38', nTotalDistance = '0', isReachedOffice = '1' WHERE id = '12192' - 2026-01-05 19:13:38
UPDATE usermst SET dLat = NULL, dLng = NULL, dTripDistance = '0' WHERE id = '414' - 2026-01-05 19:13:38
