Database Queries

总计36条数据
TimeDurationTypeQuery
  
16:54:45.7872.5 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='Q_7DD5LA0njCol9o5skCibRkap3ZqeYZ'

16:54:45.7921.8 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1015

16:54:45.7970.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3354') AND ("deleted"=FALSE)

16:54:45.8004.7 msSELECTSELECT COUNT(*) FROM (SELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE ("s"."client_id"=3354) AND ("is_draft"=FALSE) GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC) "c"

16:54:45.8053.2 msSELECTSELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE ("s"."client_id"=3354) AND ("is_draft"=FALSE) GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC LIMIT 10

16:54:45.8100.5 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1001, 1005)

16:54:45.8110.6 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1005, 1001))

16:54:45.8120.5 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (1, 4)

16:54:45.8120.4 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (71, 66, 72)

16:54:45.8130.3 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1

16:54:45.8140.3 msSELECTSELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354

16:54:45.8140.3 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1005

16:54:45.8150.4 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=47

16:54:45.8150.3 msSELECTSELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=4177

16:54:45.8164.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764)

16:54:45.82222.7 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764)) GROUP BY "object_id"

16:54:45.8453.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764))

16:54:45.8493.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764))

16:54:45.8532.7 msSELECTSELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764)

16:54:45.8561.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764) ORDER BY "id"

16:54:45.8580.3 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064

16:54:45.8590.7 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5064)

16:54:45.86020.6 msSELECTSELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1015 AND is_read = false) AND ("object_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764)) GROUP BY "object_id"

16:54:45.8813.2 msSELECTSELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764)) GROUP BY "work_log_id"

16:54:45.8842.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id" IN (39169, 39021, 38850, 38633, 38507, 38364, 38265, 38091, 37916, 37764))

16:54:45.8903.3 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.8953.0 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.8983.4 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9022.9 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9062.9 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9093.3 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9132.7 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9162.7 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9192.9 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9235.9 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1015))

16:54:45.9312.6 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1015, 0, 276, 'v2/work-log/of-client', '{"access_token":"Q_7DD5LA0njCol9o5skCibRkap3ZqeYZ","device_type":"0","version_code":"276","id":"3354","page":"1","token":"eaa0dcea937325bf27ffdbd6654b7348","posttime":"1784105685","pagesize":"10"}', '{"code":200,"data":{"list":[{"id":39169,"client_id":3354,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-04 15:01:00","created_by":1001,"created_at":"2026-06-04 15:57:19","updated_at":"2026-06-04 15:57:19","start_at":"2026-06-04 14:57:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":4177,"location_in_id":null,"location_out_id":null,"status":-1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:04:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":{"id":4177,"key":4177,"name":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260604001"},"workLogContacts":[],"commentCount":{"object_id":39169,"comment":2},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16066,"work_log_id":39169,"user_id":5064,"status":0,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"4\u5206\u949f","read":0,"total":1,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":39021,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2026-02-26 12:10:00","created_by":1005,"created_at":"2026-03-01 22:56:39","updated_at":"2026-03-01 22:56:39","start_at":"2026-02-26 12:00:00","description":"\u5ba2\u60c5\u589e\u8fdb","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:10:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":39021,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"10\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":38850,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2026-01-16 14:05:00","created_by":1005,"created_at":"2026-01-18 22:00:24","updated_at":"2026-01-18 22:00:24","start_at":"2026-01-16 14:00:00","description":"\u5ba2\u60c5\u6c9f\u901a","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:05:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":38850,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"5\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":38633,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-12-12 14:10:00","created_by":1005,"created_at":"2025-12-14 21:39:11","updated_at":"2025-12-14 21:39:11","start_at":"2025-12-12 14:00:00","description":"\u5ba2\u60c5\u8054\u7cfb","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:10:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":38633,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"10\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":38507,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-11-13 10:10:00","created_by":1005,"created_at":"2025-11-23 17:15:09","updated_at":"2025-11-23 17:15:09","start_at":"2025-11-13 10:00:00","description":"\u5ba2\u60c5\u6c9f\u901a","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:10:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":38507,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"10\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":38364,"client_id":3354,"scenario_id":1,"scenario_option_id":72,"end_at":"2025-10-21 10:40:00","created_by":1005,"created_at":"2025-10-24 11:10:25","updated_at":"2025-10-24 11:10:25","start_at":"2025-10-21 10:30:00","description":"\u5fae\u8f6f\u57df\u4e0d\u7528\u4e86\uff0c\u6ca1\u6709\u66ff\u4ee3\u4ea7\u54c1\uff0c\u6240\u6709\u6ca1\u6709\u5728\u7528\u3002\u5546\u5bc6\u7f51\u592a\u5c0f\u4e86\uff0c\u4e0d\u8003\u8651\uff0c\u6709\u6d89\u5bc6\u7f51\u53ef\u4ee5\u7528\u7684\u518d\u8003\u8651","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:10:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":72,"key":72,"name":"\u6316\u6398\u5546\u673a"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":38364,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"10\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":38265,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-10-06 10:10:00","created_by":1005,"created_at":"2025-10-13 09:29:51","updated_at":"2025-10-13 09:29:51","start_at":"2025-10-06 10:06:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:04:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":38265,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"4\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":38091,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-09-12 10:15:00","created_by":1005,"created_at":"2025-09-14 22:20:57","updated_at":"2025-09-14 22:20:57","start_at":"2025-09-12 10:10:00","description":"\u6c9f\u901aAI\u57f9\u8bad","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:05:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":38091,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"5\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":37916,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-08-15 11:15:00","created_by":1005,"created_at":"2025-08-17 20:07:09","updated_at":"2025-08-17 20:07:09","start_at":"2025-08-15 11:10:00","description":"\u7535\u8bdd\u9080\u7ea6","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:05:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":37916,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"5\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":37764,"client_id":3354,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-11 14:50:00","created_by":1005,"created_at":"2025-07-13 20:49:56","updated_at":"2025-07-13 20:49:56","start_at":"2025-07-11 14:40:00","description":"\u7ea6\u5ba2\u6237\u53c2\u52a0\u58f9\u8fdb\u5236\u4f1a\u8bae\uff0c\u672a\u56de\u590d","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:10:00","createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","department_id":1,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":37764,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"10\u5206\u949f","read":0,"total":0,"can_update":false,"can_delete":false,"can_create_reimbursement":false,"can_create_project":false,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":12,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"39.156.194.178","ua":"jinchangxiao\/2.3.176 (HUAWEIVOG-AL00; Android 10)"}', FALSE, '2026-07-15 16:54:45', 147419904) RETURNING "id"