Database Queries

总计66条数据
TimeDurationTypeQuery
  
14:16:36.2922.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'

14:16:36.2954.4 msSELECTSELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'vw_user_login' and d.nspname = 'global' ORDER BY a.attnum;

14:16:36.2997.6 msSELECTselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='vw_user_login' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum

14:16:36.3074.5 msSELECTSELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_users' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;

14:16:36.3127.5 msSELECTselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_users' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum

14:16:36.3200.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

14:16:36.3250.5 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"

14:16:36.3263.6 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"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1017, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5296, 5300, 5311, 5329, 5332, 5360, 5388, 5404, 5420, 5440, 5445, 5446)) OR ("ccr"."user_id"=1000)) AND ("s"."created_by"='1000') AND ("u"."department_id"='10') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"

14:16:36.3292.5 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"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1017, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5296, 5300, 5311, 5329, 5332, 5360, 5388, 5404, 5420, 5440, 5445, 5446)) OR ("ccr"."user_id"=1000)) AND ("s"."created_by"='1000') AND ("u"."department_id"='10') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10

14:16:36.3330.2 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

14:16:36.3330.3 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)

14:16:36.3330.2 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10

14:16:36.3340.3 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (66, 73, 27, 67, 71)

14:16:36.3340.2 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id" IN (1, 3)

14:16:36.3350.3 msSELECTSELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (2815, 3337, 3056, 149)

14:16:36.3350.2 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1004, 1013, 1005, 5332)

14:16:36.3350.3 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (47, 43, 80)

14:16:36.3360.2 msSELECTSELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (3805, 3815, 3804)

14:16:36.3362.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651)

14:16:36.3390.5 msSELECTSELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (5245, 5529, 6010)

14:16:36.3390.8 msSELECTSELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (5245, 5529, 6010)

14:16:36.34120.1 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651)) GROUP BY "object_id"

14:16:36.3611.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651))

14:16:36.3620.4 msSELECTSELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (20947, 24699, 24749, 24765, 24766, 24767)

14:16:36.3630.4 msSELECTSELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (19222, 19216, 19202, 19196, 19194)

14:16:36.3640.2 msSELECTSELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (19223, 19217, 19203, 19197, 19195)

14:16:36.3641.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651))

14:16:36.3650.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651)

14:16:36.3660.3 msSELECTSELECT "id", "id" AS "key", CASE WHEN user_status = '-1' THEN name || '(已离职)' ELSE name END AS name, "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064

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

14:16:36.3670.8 msSELECTSELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651) ORDER BY "id"

14:16:36.3680.2 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5016, 1000)

14:16:36.3680.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5016, 1000))

14:16:36.36915.4 msSELECTSELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651)) GROUP BY "object_id"

14:16:36.3841.5 msSELECTSELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" != 4) AND ("status" != 0) AND ("work_log_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651)) GROUP BY "work_log_id"

14:16:36.3861.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id" IN (37028, 37027, 37024, 37022, 37023, 37018, 37017, 37016, 32301, 28651)

14:16:36.3870.2 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

14:16:36.3880.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)

14:16:36.3880.1 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10

14:16:36.3880.2 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (2815, 3337)

14:16:36.3880.2 msSELECTSELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (3805, 3815)

14:16:36.3890.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (7433, 7444, 7445)

14:16:36.3890.3 msSELECTSELECT "id", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (185, 369, 184, 349))

14:16:36.3900.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id" IN (7433, 7444, 7445))

14:16:36.3900.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id" IN (369, 349)

14:16:36.3900.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id" IN (7433, 7444, 7445)

14:16:36.3910.2 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5252

14:16:36.3910.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5252)

14:16:36.3910.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE ("user_id"=1000) AND ("reimbursement_id" IN (7433, 7444, 7445))

14:16:36.3920.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id" IN (7433, 7444, 7445)

14:16:36.3930.2 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1014, 1000)

14:16:36.3930.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1014, 1000))

14:16:36.3931.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id" IN (7433, 7444, 7445) ORDER BY "id"

14:16:36.3950.2 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1014, 1001, 1000)

14:16:36.3950.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 1014, 1000))

14:16:36.3951.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id" IN (7433, 7444, 7445)) ORDER BY "id"

14:16:36.3960.2 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1014, 1001, 1000)

14:16:36.3970.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 1014, 1000))

14:16:36.3971.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id" IN (7433, 7444, 7445)) ORDER BY "id"

14:16:36.3992.6 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))

14:16:36.4022.3 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))

14:16:36.4052.3 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))

14:16:36.4072.3 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))

14:16:36.4102.2 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))

14:16:36.4122.2 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))

14:16:36.4161.9 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 0, 261, 'v2/work-log/list', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"0","version_code":"261","WorkLogSearch":{"scenario_option_id":"","scenario_id":"","filterUser":"1000","status":"","filterDepartment":"10"},"page":"1","token":"d2dd1de8e97cbf066143567f3c07e03f","posttime":"1751609797","pagesize":"10"}', '{"code":200,"data":{"list":[{"id":37028,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-04 14:16:34","created_by":1000,"created_at":"2025-07-04 14:16:35","updated_at":"2025-07-04 14:16:35","start_at":"2025-07-04 14:16:27","description":"hcnnc","escort":"","is_draft":0,"location_id":null,"project_id":3805,"location_in_id":19222,"location_out_id":19223,"status":1,"indistance":968,"outdistance":968,"hours_spent":"00:00:07","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2815,"key":2815,"name":"\u4e2d\u56fd\u9ec4\u91d1","client_class":47,"logo":null,"sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":{"id":3805,"key":3805,"name":"\u54c8\u597d\u54c8\u7535\u8bdd"},"workLogContacts":[{"id":5245,"key":5245,"name":"\u674e\u4fca","department":"","job_position":"","mobiles":[{"id":6034,"contact_id":5245,"mobile":"18101123631","mp_open_id":null}]}],"commentCount":{"object_id":37028,"comment":1},"attachmentRelationships":[],"locationIn":{"id":19222,"lng":"116.28903","lat":"39.960424","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-07-04 14:16:27"},"locationOut":{"id":19223,"lng":"116.28903","lat":"39.960424","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-07-04 14:16:34"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14312,"work_log_id":37028,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":true,"can_location_out":true},{"id":37027,"client_id":3337,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-04 11:01:00","created_by":1000,"created_at":"2025-07-04 10:59:35","updated_at":"2025-07-04 11:02:00","start_at":"2025-07-04 10:59:00","description":"\u4e0d\u5403\u4e0d\u9971\u624d\u80fd\u5b8c","escort":"\u53d1\u6325\u597d","is_draft":0,"location_id":null,"project_id":3815,"location_in_id":19216,"location_out_id":19217,"status":1,"indistance":47,"outdistance":43,"hours_spent":"00:02:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3337,"key":3337,"name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a","client_class":80,"logo":null,"sales_rep":5332,"salesRep":{"id":5332,"key":5332,"name":"\u970d\u536b\u8d85"},"clientClass":{"id":80,"key":80,"name":"\u7a33\u5b9a\u5ba2\u6237"},"can_visit":true},"project":{"id":3815,"key":3815,"name":"\u4ed8\u6b3e\u53d1\u8d27"},"workLogContacts":[{"id":6010,"key":6010,"name":"\u6bdb\u6653\u5149","department":"","job_position":"","mobiles":[{"id":6793,"contact_id":6010,"mobile":"13355220000","mp_open_id":null}]}],"commentCount":{"object_id":37027,"comment":4},"attachmentRelationships":[],"locationIn":{"id":19216,"lng":"116.289174804688","lat":"39.9604258897569","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","time":"2025-07-04 10:59:00"},"locationOut":{"id":19217,"lng":"116.288947753906","lat":"39.9605476888021","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","time":"2025-07-04 11:01:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14311,"work_log_id":37027,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":{"work_log_id":37027,"count":"123"},"reimbursements":[{"id":7444,"status":1,"amount":"123","occurrence_at":"2025-07-04 11:15:00","settle_accounts_at":"","settle_accounts_by":null,"description":"","created_by":1000,"created_at":"2025-07-04 11:26:28","updated_at":"2025-07-04 11:26:28","refuse_description":null,"client_id":3337,"project_id":3815,"next_verify_user":1000,"is_resubmited":false,"work_log_id":37027,"pre_sales_id":null,"implement_record_id":null,"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"client":{"id":3337,"key":3337,"name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a"},"project":{"id":3815,"key":3815,"name":"\u4ed8\u6b3e\u53d1\u8d27"},"type":{"id":184,"name":"\u4ea4\u901a\u8d39"},"costType":{"id":118127,"object_id":7444,"taxonomy_id":349,"term_id":18,"value":null,"object_type":7,"extra_int":null,"in_amount":null,"out_amount":null,"taxonomy":{"id":349,"name":"\u7684\u58eb\u8d39","term_id":18,"description":null,"sort":3,"created_by":1000,"created_at":"2018-11-26 15:42:33","updated_at":"","is_delete":false,"approve_verify_user":null,"approve_carbon_copy_user":null,"parent_id":184,"is_system":false,"serial_no":null}},"settleAccountsBy":null,"reimbursementCarbonCopyRels":[{"id":694,"reimbursement_id":7444,"user_id":5252,"user":{"id":5252,"key":5252,"name":"\u738b\u7b11\u7b11","sex":"F","avatar":{"id":101,"user_id":5252,"name":"\/files\/cdn\/a57be577deb434\/avatar\/f5529321-408e-3d11-aa95-9b0a384f2d9c.png"}}}],"needSettle":[{"id":9650,"reimbursement_id":7444,"user_id":1000}],"reimbursementSettleRels":[{"id":9650,"reimbursement_id":7444,"user_id":1000,"user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"reimbursementVerifyRels":[{"id":26578,"reimbursement_id":7444,"user_id":1000,"status":0,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"lastReimbursementVerifyRel":{"id":26578,"reimbursement_id":7444,"user_id":1000,"status":0,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}},"haveReimbursementVerifyRel":null}],"hours_spent_display":"2\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":true,"can_location_out":true},{"id":37024,"client_id":null,"scenario_id":1,"scenario_option_id":73,"end_at":"2025-06-24 21:56:00","created_by":1000,"created_at":"2025-06-24 21:56:33","updated_at":"2025-06-24 21:56:33","start_at":"2025-06-24 20:00:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"01:56:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":37024,"comment":1},"attachmentRelationships":[{"id":33143,"object_type":18,"object_id":37024,"attachment_id":24767,"attachment":{"id":24767,"key":24767,"name":"e6640989-f9b5-3726-aa96-1be4e7fbbc72","extension":"png","path":"\/v2\/attachment\/view\/Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd\/e6640989-f9b5-3726-aa96-1be4e7fbbc72\/20250624215606.png","orig_name":"20250624215606.png"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14302,"work_log_id":37024,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f656\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":37022,"client_id":null,"scenario_id":1,"scenario_option_id":73,"end_at":"2025-06-24 20:49:00","created_by":1000,"created_at":"2025-06-24 21:41:11","updated_at":"2025-06-24 21:41:11","start_at":"2025-06-24 20:00:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:49:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":37022,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14300,"work_log_id":37022,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"49\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":37023,"client_id":null,"scenario_id":1,"scenario_option_id":73,"end_at":"2025-06-24 20:00:00","created_by":1000,"created_at":"2025-06-24 21:43:20","updated_at":"2025-06-24 21:43:20","start_at":"2025-06-24 20:00:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":37023,"comment":1},"attachmentRelationships":[{"id":33141,"object_type":18,"object_id":37023,"attachment_id":24765,"attachment":{"id":24765,"key":24765,"name":"0cccc158-321d-3ddb-a0e7-4f26e1995c5f","extension":"png","path":"\/v2\/attachment\/view\/Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd\/0cccc158-321d-3ddb-a0e7-4f26e1995c5f\/20250624214230.png","orig_name":"20250624214230.png"}},{"id":33142,"object_type":18,"object_id":37023,"attachment_id":24766,"attachment":{"id":24766,"key":24766,"name":"98f15dde-3b7f-3ba7-b40f-4c8b31125e93","extension":"png","path":"\/v2\/attachment\/view\/Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd\/98f15dde-3b7f-3ba7-b40f-4c8b31125e93\/20250624214242.png","orig_name":"20250624214242.png"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14301,"work_log_id":37023,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":37018,"client_id":2815,"scenario_id":3,"scenario_option_id":27,"end_at":"2025-05-12 11:22:08","created_by":1000,"created_at":"2025-05-12 11:22:15","updated_at":"2025-06-12 20:23:31","start_at":"2025-05-12 11:21:50","description":"\u98de\u98de\u98de","escort":"","is_draft":0,"location_id":null,"project_id":3805,"location_in_id":19202,"location_out_id":19203,"status":1,"indistance":961,"outdistance":960,"hours_spent":"00:00:18","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":{"id":2815,"key":2815,"name":"\u4e2d\u56fd\u9ec4\u91d1","client_class":47,"logo":null,"sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":{"id":3805,"key":3805,"name":"\u54c8\u597d\u54c8\u7535\u8bdd"},"workLogContacts":[{"id":5245,"key":5245,"name":"\u674e\u4fca","department":"","job_position":"","mobiles":[{"id":6034,"contact_id":5245,"mobile":"18101123631","mp_open_id":null}]}],"commentCount":{"object_id":37018,"comment":5},"attachmentRelationships":[{"id":33124,"object_type":18,"object_id":37018,"attachment_id":24749,"attachment":{"id":24749,"key":24749,"name":"a54687cc-2a98-3827-9f3b-9109d3405640","extension":"png","path":"\/v2\/attachment\/view\/Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd\/a54687cc-2a98-3827-9f3b-9109d3405640\/20250612202328.png","orig_name":"20250612202328.png"}}],"locationIn":{"id":19202,"lng":"116.288942","lat":"39.960447","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 11:21:50"},"locationOut":{"id":19203,"lng":"116.288945","lat":"39.960462","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 11:22:08"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14296,"work_log_id":37018,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":{"work_log_id":37018,"count":"563"},"reimbursements":[{"id":7433,"status":1,"amount":"452","occurrence_at":"2025-05-12 11:21:00","settle_accounts_at":"","settle_accounts_by":null,"description":"","created_by":1000,"created_at":"2025-05-12 11:22:54","updated_at":"2025-05-16 10:09:42","refuse_description":null,"client_id":2815,"project_id":3805,"next_verify_user":1014,"is_resubmited":false,"work_log_id":37018,"pre_sales_id":null,"implement_record_id":null,"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"client":{"id":2815,"key":2815,"name":"\u4e2d\u56fd\u9ec4\u91d1"},"project":{"id":3805,"key":3805,"name":"\u54c8\u597d\u54c8\u7535\u8bdd"},"type":{"id":185,"name":"\u62db\u5f85\u8d39"},"costType":{"id":117895,"object_id":7433,"taxonomy_id":369,"term_id":18,"value":null,"object_type":7,"extra_int":null,"in_amount":null,"out_amount":null,"taxonomy":{"id":369,"name":"\u9910\u996e\u8d39","term_id":18,"description":null,"sort":5,"created_by":1000,"created_at":"2018-11-26 15:42:33","updated_at":"","is_delete":false,"approve_verify_user":null,"approve_carbon_copy_user":null,"parent_id":185,"is_system":false,"serial_no":null}},"settleAccountsBy":null,"reimbursementCarbonCopyRels":[{"id":668,"reimbursement_id":7433,"user_id":5252,"user":{"id":5252,"key":5252,"name":"\u738b\u7b11\u7b11","sex":"F","avatar":{"id":101,"user_id":5252,"name":"\/files\/cdn\/a57be577deb434\/avatar\/f5529321-408e-3d11-aa95-9b0a384f2d9c.png"}}}],"needSettle":[],"reimbursementSettleRels":[{"id":9621,"reimbursement_id":7433,"user_id":1014,"user":{"id":1014,"key":1014,"name":"\u6731\u65ed\u9896","sex":"F","avatar":{"id":14,"user_id":1014,"name":"\/files\/cdn\/a57be577deb434\/avatar\/50f5aaf2-ae3d-3803-b5ab-0a2cb40e234a.png"}}}],"reimbursementVerifyRels":[{"id":26548,"reimbursement_id":7433,"user_id":1014,"status":0,"verify_at":"","user":{"id":1014,"key":1014,"name":"\u6731\u65ed\u9896","sex":"F","avatar":{"id":14,"user_id":1014,"name":"\/files\/cdn\/a57be577deb434\/avatar\/50f5aaf2-ae3d-3803-b5ab-0a2cb40e234a.png"}}},{"id":26549,"reimbursement_id":7433,"user_id":1001,"status":0,"verify_at":"","user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}}}],"lastReimbursementVerifyRel":{"id":26548,"reimbursement_id":7433,"user_id":1014,"status":0,"verify_at":"","user":{"id":1014,"key":1014,"name":"\u6731\u65ed\u9896","sex":"F","avatar":{"id":14,"user_id":1014,"name":"\/files\/cdn\/a57be577deb434\/avatar\/50f5aaf2-ae3d-3803-b5ab-0a2cb40e234a.png"}}},"haveReimbursementVerifyRel":null},{"id":7445,"status":2,"amount":"111","occurrence_at":"2025-05-12 11:21:00","settle_accounts_at":"","settle_accounts_by":null,"description":"","created_by":1000,"created_at":"2025-07-04 14:14:55","updated_at":"2025-07-04 14:15:05","refuse_description":null,"client_id":2815,"project_id":3805,"next_verify_user":null,"is_resubmited":false,"work_log_id":37018,"pre_sales_id":null,"implement_record_id":null,"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"client":{"id":2815,"key":2815,"name":"\u4e2d\u56fd\u9ec4\u91d1"},"project":{"id":3805,"key":3805,"name":"\u54c8\u597d\u54c8\u7535\u8bdd"},"type":{"id":184,"name":"\u4ea4\u901a\u8d39"},"costType":{"id":118131,"object_id":7445,"taxonomy_id":349,"term_id":18,"value":null,"object_type":7,"extra_int":null,"in_amount":null,"out_amount":null,"taxonomy":{"id":349,"name":"\u7684\u58eb\u8d39","term_id":18,"description":null,"sort":3,"created_by":1000,"created_at":"2018-11-26 15:42:33","updated_at":"","is_delete":false,"approve_verify_user":null,"approve_carbon_copy_user":null,"parent_id":184,"is_system":false,"serial_no":null}},"settleAccountsBy":null,"reimbursementCarbonCopyRels":[{"id":696,"reimbursement_id":7445,"user_id":5252,"user":{"id":5252,"key":5252,"name":"\u738b\u7b11\u7b11","sex":"F","avatar":{"id":101,"user_id":5252,"name":"\/files\/cdn\/a57be577deb434\/avatar\/f5529321-408e-3d11-aa95-9b0a384f2d9c.png"}}}],"needSettle":[{"id":9652,"reimbursement_id":7445,"user_id":1000}],"reimbursementSettleRels":[{"id":9652,"reimbursement_id":7445,"user_id":1000,"user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"reimbursementVerifyRels":[{"id":26580,"reimbursement_id":7445,"user_id":1000,"status":1,"verify_at":"2025-07-04 14:15:05","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"lastReimbursementVerifyRel":null,"haveReimbursementVerifyRel":{"id":26580,"reimbursement_id":7445,"user_id":1000,"status":1,"verify_at":"2025-07-04 14:15:05"}}],"hours_spent_display":"0\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":37017,"client_id":3056,"scenario_id":1,"scenario_option_id":67,"end_at":"2025-05-12 10:07:14","created_by":1000,"created_at":"2025-05-12 10:07:16","updated_at":"2025-05-12 10:07:16","start_at":"2025-05-12 10:06:49","description":"\u4e0d\u4e0d\u4e0d\u4e0d","escort":"\u65a4\u65a4\u8ba1\u8f83","is_draft":0,"location_id":null,"project_id":3804,"location_in_id":19196,"location_out_id":19197,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:25","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":67,"key":67,"name":"\u5546\u673a\u63a8\u52a8"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3056,"key":3056,"name":"\u4e2d\u56fd\u822a\u5929","client_class":43,"logo":null,"sales_rep":1013,"salesRep":{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":{"id":3804,"key":3804,"name":"\u54c8\u62c9\u54c8\u5566"},"workLogContacts":[{"id":5529,"key":5529,"name":"\u66f9\u6653","department":"","job_position":"","mobiles":[{"id":6313,"contact_id":5529,"mobile":"13501129205","mp_open_id":null}]}],"commentCount":{"object_id":37017,"comment":1},"attachmentRelationships":[],"locationIn":{"id":19196,"lng":"116.289053","lat":"39.960408","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 10:06:49"},"locationOut":{"id":19197,"lng":"116.289031","lat":"39.960541","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 10:07:14"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14287,"work_log_id":37017,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":37016,"client_id":2815,"scenario_id":1,"scenario_option_id":73,"end_at":"2025-05-12 09:40:36","created_by":1000,"created_at":"2025-05-12 09:40:08","updated_at":"2025-05-12 09:40:42","start_at":"2025-05-12 09:40:30","description":"bbnn","escort":"ffg","is_draft":0,"location_id":null,"project_id":null,"location_in_id":19194,"location_out_id":19195,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:06","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2815,"key":2815,"name":"\u4e2d\u56fd\u9ec4\u91d1","client_class":47,"logo":null,"sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[{"id":5245,"key":5245,"name":"\u674e\u4fca","department":"","job_position":"","mobiles":[{"id":6034,"contact_id":5245,"mobile":"18101123631","mp_open_id":null}]}],"commentCount":{"object_id":37016,"comment":2},"attachmentRelationships":[],"locationIn":{"id":19194,"lng":"116.28877","lat":"39.960528","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 09:40:30"},"locationOut":{"id":19195,"lng":"116.288797","lat":"39.960517","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 09:40:36"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14286,"work_log_id":37016,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":32301,"client_id":149,"scenario_id":1,"scenario_option_id":71,"end_at":"2023-12-07 10:00:00","created_by":1000,"created_at":"2023-12-07 11:04:04","updated_at":"2025-05-09 11:21:50","start_at":"2023-12-07 08:00:00","description":"test","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"02:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":149,"key":149,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240(\u6cd5\u8bc1\u90e8)\uff08\u71d5\u4eac\uff09","client_class":80,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},"clientClass":{"id":80,"key":80,"name":"\u7a33\u5b9a\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":32301,"comment":3},"attachmentRelationships":[{"id":33056,"object_type":18,"object_id":32301,"attachment_id":24699,"attachment":{"id":24699,"key":24699,"name":"717eb031-dc39-32a8-81d0-b58c6b8718e5","extension":"jpg","path":"\/v2\/attachment\/view\/Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd\/717eb031-dc39-32a8-81d0-b58c6b8718e5\/Screenshot_20250508_100019_com.jinchangxiao.bms.jpg","orig_name":"Screenshot_20250508_100019_com.jinchangxiao.bms.jpg"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14284,"work_log_id":32301,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5c0f\u65f6","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":28651,"client_id":null,"scenario_id":3,"scenario_option_id":27,"end_at":"2023-08-17 09:50:00","created_by":1000,"created_at":"2023-08-17 09:51:38","updated_at":"2024-08-15 21:47:26","start_at":"2023-08-17 08:50:00","description":"\u6d4b\u8bd5\u63a8\u90013","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"01:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":28651,"comment":9},"attachmentRelationships":[{"id":27902,"object_type":18,"object_id":28651,"attachment_id":20947,"attachment":{"id":20947,"key":20947,"name":"67b6bc4e-1fc6-3e3e-94cc-d748e1efef89","extension":"png","path":"\/v2\/attachment\/view\/Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd\/67b6bc4e-1fc6-3e3e-94cc-d748e1efef89\/20240815214725.png","orig_name":"20240815214725.png"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[{"id":15594,"work_log_id":28651,"user_id":5064,"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"}}}],"workLogVerifyRels":[{"id":12723,"work_log_id":28651,"user_id":5016,"status":1,"description":null,"verify_at":"","user":{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633","sex":"M","avatar":{"id":35,"user_id":5016,"name":"\/files\/cdn\/a57be577deb434\/avatar\/404e0bcf-6382-3f63-b93b-4d936f35a4b2.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":37,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-04 14:16:36') RETURNING "id"