INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate, dCreatedDate) VALUES ('2', '434', '1', '1', '2026-01-05 13:40:52', '2026-01-05 13:40:52') - 2026-01-05 13:40:52
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '11934', '80', '1', '0', '2026-01-05 13:40:52', '2026-01-05 13:40:52') - 2026-01-05 13:40:52
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '11934', '434', '1', '1', '2026-01-05 13:40:52', '2026-01-05 13:40:52') - 2026-01-05 13:40:52
UPDATE usermst SET dLat = '37.33427', dLng = '-122.02357', dTripDistance = '0' WHERE id = '434' - 2026-01-05 13:40:52
INSERT INTO worktrackingmst (nFranchiseeId, nUserId, tracking_data, created_at, updated_at) VALUES ('2', '434', '[]', '2026-01-05 13:40:53', '2026-01-05 13:40:53') - 2026-01-05 13:40:53
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, nTrackId, dModifiedDate, dCreatedDate) VALUES ('2', '434', '11934', '2026-01-05 13:40:53', '0', '727', '2026-01-05 13:40:53', '2026-01-05 13:40:53') - 2026-01-05 13:40:53
UPDATE usermst SET dTripDistance = '0' WHERE id = '434' - 2026-01-05 13:40:53
UPDATE usermst SET dLat = '37.33433', dLng = '-122.02357', dTripDistance = '0' WHERE id = '434' - 2026-01-05 13:40:53
UPDATE worktrackingmst SET tracking_data = '[{"lat":37.33433000000000134832589537836611270904541015625,"lng":-122.02357000000000653017195872962474822998046875}]', updated_at = '2026-01-05 13:40:53' WHERE id = '727' - 2026-01-05 13:40:53
UPDATE usermst SET dLat = '37.33433', dLng = '-122.02357', dTripDistance = '6.65904' WHERE id = '434' - 2026-01-05 13:40:54
UPDATE usermst SET dLat = '37.33487', dLng = '-122.02358', dTripDistance = '66.59690999999999' WHERE id = '434' - 2026-01-05 13:41:02
UPDATE worktrackingmst SET tracking_data = '[{"lat":37.33433000000000134832589537836611270904541015625,"lng":-122.02357000000000653017195872962474822998046875},{"lat":37.33487000000000222144080908037722110748291015625,"lng":-122.0235799999999954934537527151405811309814453125}]', updated_at = '2026-01-05 13:41:02' WHERE id = '727' - 2026-01-05 13:41:02
UPDATE usermst SET dLat = '37.33757', dLng = '-122.04087', dTripDistance = '1627.83307' WHERE id = '434' - 2026-01-05 13:46:07
UPDATE workhistory SET nOfficeId = '0', tEndTime = '2026-01-05 13:52:43', nTotalDistance = '1627.83307', isReachedOffice = '1' WHERE id = '12190' - 2026-01-05 13:52:43
UPDATE usermst SET dLat = NULL, dLng = NULL, dTripDistance = '0' WHERE id = '434' - 2026-01-05 13:52:43
