10:27:32.762 | 2.8 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp' |
10:27:32.766 | 1.0 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
10:27:32.770 | 1.3 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1017, '北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店', '(116.2891425238715,39.96062201605903)', '2025-07-11 10:26') RETURNING "id" |
10:27:32.771 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Location', 19234, 'a:6:{s:2:"id";i:19234;s:11:"geolocation";s:37:"(116.2891425238715,39.96062201605903)";s:10:"created_by";i:1017;s:7:"address";s:63:"北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-11 10:26:00";}', '', 1017, '223.104.40.121') |
10:27:32.772 | 1.4 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Location', 19234, 'a:0:{}', '', 1017, '223.104.40.121') |
10:27:32.774 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1017, '北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店', '(116.2891124131944,39.96063259548611)', '2025-07-11 10:27') RETURNING "id" |
10:27:32.775 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Location', 19235, 'a:6:{s:2:"id";i:19235;s:11:"geolocation";s:37:"(116.2891124131944,39.96063259548611)";s:10:"created_by";i:1017;s:7:"address";s:63:"北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-11 10:27:00";}', '', 1017, '223.104.40.121') |
10:27:32.776 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Location', 19235, 'a:0:{}', '', 1017, '223.104.40.121') |
10:27:32.777 | 0.5 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
10:27:32.778 | 0.4 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8264') |
10:27:32.778 | 0.3 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5245') |
10:27:32.779 | 0.3 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_implement_methods" WHERE "id"='3') |
10:27:32.779 | 0.2 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_implement_types" WHERE "id"='2') |
10:27:32.779 | 0.3 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"='273') |
10:27:32.780 | 0.2 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017) |
10:27:32.780 | 0.2 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19234) |
10:27:32.780 | 0.1 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19235) |
10:27:32.781 | 1.8 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id"='8264' ORDER BY "id" DESC |
10:27:32.783 | 4.4 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_implement_records" ("arrived_at", "case_id", "client_id", "contact_id", "description", "has_following_work", "implement_method", "implement_type", "is_draft", "left_at", "service_id", "created_by", "indistance", "location_in_id", "outdistance", "location_out_id", "ticket_no") VALUES ('2025-07-11 10:26:00', 8264, 2815, 5245, '', FALSE, 3, 2, FALSE, '2025-07-11 10:27:00', 273, 1017, 960.60017148941, 19234, 957.89889240296, 19235, 'IM250515001002') RETURNING "id" |
10:27:32.787 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ImplementRecords', 6669, 'a:28:{s:2:"id";i:6669;s:9:"client_id";s:4:"2815";s:10:"contact_id";s:4:"5245";s:14:"implement_type";s:1:"2";s:16:"implement_method";s:1:"3";s:10:"arrived_at";s:19:"2025-07-11 10:26:00";s:7:"left_at";s:19:"2025-07-11 10:27:00";s:7:"address";N;s:18:"has_following_work";s:1:"0";s:11:"description";s:0:"";s:10:"created_by";i:1017;s:10:"created_at";N;s:10:"updated_at";N;s:15:"satisfaction_id";N;s:17:"implement_address";N;s:22:"following_work_content";N;s:11:"location_id";N;s:14:"client_address";N;s:8:"is_draft";s:1:"0";s:10:"service_id";s:3:"273";s:7:"case_id";s:4:"8264";s:14:"location_in_id";i:19234;s:15:"location_out_id";i:19235;s:9:"ticket_no";s:14:"IM250515001002";s:18:"client_document_id";N;s:20:"client_document_file";N;s:10:"indistance";s:16:"960.600171489415";s:11:"outdistance";s:16:"957.898892402958";}', '', 1017, '223.104.40.121') |
10:27:32.788 | 0.6 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:27:32.790 | 1.3 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=5) AND ("object_id"=6669) |
10:27:32.792 | 0.9 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (5, 6669, 24868) |
10:27:32.793 | 1.1 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=24) AND ("object_id"=6669) |
10:27:32.794 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"='88' |
10:27:32.795 | 4.0 ms | SELECT | SELECT
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_implement_product_types'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
10:27:32.799 | 9.5 ms | SELECT | select
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_implement_product_types'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
10:27:32.809 | 3.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_implement_product_types" ("implement_id", "product_type_id", "name") VALUES (6669, 88, '私有云') |
10:27:32.813 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_implement_records" WHERE "id"=6669 |
10:27:32.813 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
10:27:32.814 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 6669, 5, 1017, '2025-07-11 10:27:32', '{"id":6669,"client_id":2815,"contact_id":5245,"implement_type":2,"implement_method":3,"arrived_at":"2025-07-11 10:26:00","left_at":"2025-07-11 10:27:00","address":null,"has_following_work":false,"description":"","created_by":1017,"created_at":"2025-07-11 10:27:32","updated_at":"2025-07-11 10:27:32","satisfaction_id":null,"implement_address":null,"following_work_content":null,"location_id":null,"client_address":null,"is_draft":false,"service_id":273,"case_id":8264,"location_in_id":19234,"location_out_id":19235,"ticket_no":"IM250515001002","client_document_id":null,"client_document_file":null,"indistance":960.60017148941,"outdistance":957.89889240296}', '{"id":6669,"client_id":2815,"contact_id":5245,"implement_type":2,"implement_method":3,"arrived_at":"2025-07-11 10:26:00","left_at":"2025-07-11 10:27:00","address":null,"has_following_work":false,"description":"","created_by":1017,"created_at":"2025-07-11 10:27:32","updated_at":"2025-07-11 10:27:32","satisfaction_id":null,"implement_address":null,"following_work_content":null,"location_id":null,"client_address":null,"is_draft":false,"service_id":273,"case_id":8264,"location_in_id":19234,"location_out_id":19235,"ticket_no":"IM250515001002","client_document_id":null,"client_document_file":null,"indistance":960.60017148941,"outdistance":957.89889240296}', '{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u5b9e\u65bd\u5de5\u5355","d4":[]}') RETURNING "id" |
10:27:32.815 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510511, 'a:13:{s:2:"id";i:510511;s:9:"object_id";i:6669;s:11:"object_type";i:5;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:657:"{"id":6669,"client_id":2815,"contact_id":5245,"implement_type":2,"implement_method":3,"arrived_at":"2025-07-11 10:26:00","left_at":"2025-07-11 10:27:00","address":null,"has_following_work":false,"description":"","created_by":1017,"created_at":"2025-07-11 10:27:32","updated_at":"2025-07-11 10:27:32","satisfaction_id":null,"implement_address":null,"following_work_content":null,"location_id":null,"client_address":null,"is_draft":false,"service_id":273,"case_id":8264,"location_in_id":19234,"location_out_id":19235,"ticket_no":"IM250515001002","client_document_id":null,"client_document_file":null,"indistance":960.60017148941,"outdistance":957.89889240296}";s:9:"new_value";s:657:"{"id":6669,"client_id":2815,"contact_id":5245,"implement_type":2,"implement_method":3,"arrived_at":"2025-07-11 10:26:00","left_at":"2025-07-11 10:27:00","address":null,"has_following_work":false,"description":"","created_by":1017,"created_at":"2025-07-11 10:27:32","updated_at":"2025-07-11 10:27:32","satisfaction_id":null,"implement_address":null,"following_work_content":null,"location_id":null,"client_address":null,"is_draft":false,"service_id":273,"case_id":8264,"location_in_id":19234,"location_out_id":19235,"ticket_no":"IM250515001002","client_document_id":null,"client_document_file":null,"indistance":960.60017148941,"outdistance":957.89889240296}";s:11:"description";s:93:"{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u5b9e\u65bd\u5de5\u5355","d4":[]}";s:10:"created_by";i:1017;s:10:"created_at";s:19:"2025-07-11 10:27:32";s:9:"is_delete";N;}', '', 1017, '223.104.40.121') |
10:27:32.816 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264 |
10:27:32.817 | 0.8 ms | UPDATE | UPDATE "a57be577deb434"."tbl_cases" SET "updated_at"='now()' WHERE "id"=8264 |
10:27:32.818 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Cases', 8264, 'a:1:{s:8:"start_at";s:19:"2025-05-15 15:13:00";}', '', 1017, '223.104.40.121') |
10:27:32.818 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
10:27:32.819 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 8264, 18, 6669, 5, 1017, '[6669]', '[6669]', '{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u5b9e\u65bd\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:IM250515001002"]}') RETURNING "id" |
10:27:32.820 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510512, 'a:13:{s:2:"id";i:510512;s:9:"object_id";i:8264;s:11:"object_type";i:18;s:9:"target_id";i:6669;s:18:"target_object_type";i:5;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[6669]";s:9:"new_value";s:6:"[6669]";s:11:"description";s:134:"{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u5b9e\u65bd\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:IM250515001002"]}";s:10:"created_by";i:1017;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1017, '223.104.40.121') |
10:27:32.821 | 0.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264 |
10:27:32.821 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
10:27:32.822 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
10:27:32.822 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 8264, 18, 6669, 5, 1017, '6669', '6669', array[1004,1017], '{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u5b9e\u65bd\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:IM250515001002"]}') RETURNING "id" |
10:27:32.824 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 137125, 'a:15:{s:2:"id";i:137125;s:9:"object_id";i:8264;s:11:"object_type";i:18;s:9:"target_id";i:6669;s:18:"target_object_type";i:5;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"6669";s:9:"new_value";s:4:"6669";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[1004,1017]";s:6:"params";a:0:{}}s:11:"description";s:134:"{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u5b9e\u65bd\u5de5\u5355","d4":["\u5de5\u5355\u7f16\u53f7:IM250515001002"]}";s:10:"created_by";i:1017;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1017, '223.104.40.121') |
10:27:32.826 | 1.0 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1017, 2, 1141, 'v2/implement/save-new', '{"ImplementRecords":{"arrived_at":"2025-07-11 10:26","attachmentFiles":["24868"],"case_id":"8264","client_id":"2815","contact_id":"5245","description":"","has_following_work":"0","implementProductTypes":["88"],"implement_method":"3","implement_type":"2","is_draft":"0","is_first_service":"0","left_at":"2025-07-11 10:27","location_in_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_in_distance":"960.600171489415","location_in_lat":"39.96062201605903","location_in_lng":"116.2891425238715","location_in_updated_at":"2025-07-11 10:26","location_out_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_out_distance":"957.898892402958","location_out_lat":"39.96063259548611","location_out_lng":"116.2891124131944","location_out_updated_at":"2025-07-11 10:27","service_id":"273"},"access_token":"LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp","device_type":"2","posttime":"1752200832","token":"7131c5641a9707ab5ee2947885d8b644","version_code":"1141"}', '{"code":200,"data":{"id":6669},"status":1,"msg":[{"name":"success","success":"\u65b0\u5b9e\u65bd\u5de5\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-11 10:27:32') RETURNING "id" |