INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate, dCreatedDate) VALUES ('2', '414', '1', '1', '2025-10-29 17:40:39', '2025-10-29 17:40:39') - 2025-10-29 17:40:39
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '11728', '414', '1', '1', '2025-10-29 17:40:39', '2025-10-29 17:40:39') - 2025-10-29 17:40:39
INSERT INTO worktrackingmst (nFranchiseeId, nUserId, tracking_data, created_at, updated_at) VALUES ('2', '414', '[]', '2025-10-29 17:40:39', '2025-10-29 17:40:39') - 2025-10-29 17:40:39
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, nTrackId, dModifiedDate, dCreatedDate) VALUES ('2', '414', '11728', '2025-10-29 17:40:39', '0', '648', '2025-10-29 17:40:39', '2025-10-29 17:40:39') - 2025-10-29 17:40:39
UPDATE usermst SET dTripDistance = '0' WHERE id = '414' - 2025-10-29 17:40:39
UPDATE usermst SET dLat = '37.57704', dLng = '-77.5693', dTripDistance = '0.0' WHERE id = '414' - 2025-10-29 17:40:52
UPDATE worktrackingmst SET tracking_data = '[{"lat":37.5770399999999966667019180022180080413818359375,"lng":-77.5692999999999983629095368087291717529296875}]', updated_at = '2025-10-29 17:40:52' WHERE id = '648' - 2025-10-29 17:40:52
INSERT INTO workhdr (nFranchiseeId, team_mates, nUserId, nCustId, nTeamId, nNumberOfEmployee, dWorkDate, tInTime, dLat, dLng, isActive, nStatus, dModifiedDate, dCreatedDate) VALUES ('2', '414', '414', '2493', '11728', '1', '2025-10-29 17:40:56', '2025-10-29 17:40:56', '37.57704', '-77.5693', '1', '10', '2025-10-29 17:40:56', '2025-10-29 17:40:56') - 2025-10-29 17:40:56
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, isActive, lat, lng, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '414', '2493', 'Tried to start work away from customer home', '1', '37.57698', '-77.56928', '0', '2025-10-29 17:41:21', '2025-10-29 17:41:21') - 2025-10-29 17:41:21
