Performance Profiling

Total processing time: 160 ms; Peak memory: 3.767 MB. Show Profiling Timeline

总计53条数据
TimeDurationCategoryInfo
  
10:55:39.11716.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
10:55:39.0189.4 msyii\db\Command::queryselect 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_client_sales_rep_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
10:55:39.0808.7 msyii\db\Command::queryselect 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_client_address_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
10:55:39.0667.8 msyii\db\Command::queryselect 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_geo' and ns.nspname='public' order by fns.nspname, fc.relname, a.attnum
10:55:39.1047.7 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3337, 10, 1000, '2025-07-04 10:55:38', '{"cooperated":null,"last_contact":null,"lost_contact_days":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"cooperated":null,"last_contact":null,"lost_contact_days":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[5332,1000], '{"d1":"\u66f9\u6c38\u751f","d2":"\u7ed9\u970d\u536b\u8d85\u521b\u5efa\u4e86","d3":"\u5ba2\u6237","d4":[]}') RETURNING "id"
10:55:39.0377.4 msyii\db\Command::queryselect 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_addresses' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
10:55:39.0517.1 msyii\db\Command::queryselect 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_countries' and ns.nspname='public' order by fns.nspname, fc.relname, a.attnum
10:55:38.9966.7 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_clients" ("client_class", "client_industry", "client_type", "company_nature", "from_contact", "name", "sales_rep", "created_by", "pick_at", "telephone", "capital_currency", "purchase_freq", "pinyin_shortcut") VALUES (80, 1, 1, 3, NULL, '海基会基金会', 5332, 1000, 'now()', '', '', '', 'hjhjjh') RETURNING "id"
10:55:39.0946.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 3337, 10, 1000, '2025-07-04 10:55:38', '{"id":3337,"name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a","abbr":null,"pinyin_shortcut":"hjhjjh","description":null,"corp_rep":null,"website":null,"capital":null,"established_at":null,"headcount":null,"reg_address":null,"working_address":null,"telephone":"","fax":null,"scale":null,"branch":null,"purchase_scale_per_yr":"0.0","purchase_freq":"","company_nature":3,"client_class":80,"client_industry":1,"client_type":1,"sales_rep":5332,"main_contact":null,"created_by":1000,"created_at":"2025-07-04 10:55:38","updated_at":"2025-07-04 10:55:38","main_business":null,"deleted":false,"capital_currency":"","invoice_info":null,"logo":null,"en_name":null,"pick_at":"2025-07-04 10:55:38.996606+08","it_budget":null,"deployment_mode":null,"it_per_num":null,"public_relations_difficulty":null,"it_status":null,"decision_process":null,"coach":null,"competitor":null,"peers":null,"supplier":null,"main_product":null,"client_base_info_count":0,"client_key_info_count":0,"contact_count":0,"visit_count":0,"cooperate_count":0,"case_pre_sales_count":0,"case_implement_count":0,"is_overdue_remind":false,"from_contact":null}', '{"id":3337,"name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a","abbr":null,"pinyin_shortcut":"hjhjjh","description":null,"corp_rep":null,"website":null,"capital":null,"established_at":null,"headcount":null,"reg_address":null,"working_address":null,"telephone":"","fax":null,"scale":null,"branch":null,"purchase_scale_per_yr":"0.0","purchase_freq":"","company_nature":3,"client_class":80,"client_industry":1,"client_type":1,"sales_rep":5332,"main_contact":null,"created_by":1000,"created_at":"2025-07-04 10:55:38","updated_at":"2025-07-04 10:55:38","main_business":null,"deleted":false,"capital_currency":"","invoice_info":null,"logo":null,"en_name":null,"pick_at":"2025-07-04 10:55:38.996606+08","it_budget":null,"deployment_mode":null,"it_per_num":null,"public_relations_difficulty":null,"it_status":null,"decision_process":null,"coach":null,"competitor":null,"peers":null,"supplier":null,"main_product":null,"client_base_info_count":0,"client_key_info_count":0,"contact_count":0,"visit_count":0,"cooperate_count":0,"case_pre_sales_count":0,"case_implement_count":0,"is_overdue_remind":false,"from_contact":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba2\u6237","d4":[]}') RETURNING "id"
10:55:39.0045.8 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id"
10:55:39.0464.7 msyii\db\Command::querySELECT 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_countries' and d.nspname = 'public' ORDER BY a.attnum;
10:55:39.0134.1 msyii\db\Command::querySELECT 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_client_sales_rep_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
10:55:39.0273.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_sales_rep_rels" ("sales_rep", "client_id") VALUES (5332, 3337) RETURNING "id"
10:55:39.0892.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_client_address_rels" ("client_id", "address_id") VALUES (3337, 4124)
10:55:39.0342.7 msyii\db\Command::querySELECT 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_addresses' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
10:55:38.9832.7 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'
10:55:39.0602.6 msyii\db\Command::querySELECT * FROM "public"."tbl_geo" WHERE "id"='110108'
10:55:39.0782.4 msyii\db\Command::querySELECT 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_client_address_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
10:55:39.0632.3 msyii\db\Command::querySELECT 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_geo' and d.nspname = 'public' ORDER BY a.attnum;
10:55:39.0742.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_addresses" ("address1", "address2", "region_id", "name", "created_by", "updated_at", "country_id", "country", "region", "city_id", "city", "state_id", "state", "geolocation") VALUES ('北京市海淀区远大路1号B座5楼(世纪金源购物中心旁)', '北京世纪星豪酒店', 110108, '海基会基金会', 1000, 'now()', 1, '中国', '海淀区', 110100, '市辖区', 110000, '北京市', '(116.2887,39.96021)') RETURNING "id"
10:55:39.0582.0 msyii\db\Command::querySELECT * FROM "public"."tbl_countries" WHERE "id"=1
10:55:38.9811.9 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:55:39.0101.6 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165062, 'a:5:{s:2:"id";i:165062;s:9:"client_id";i:3337;s:9:"sales_rep";s:4:"5332";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148')
10:55:38.9871.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:55:39.1371.0 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/client/save-new', '{"Clients":{"client_class":"80","client_industry":"1","client_type":"1","company_nature":"3","from_contact":"","name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a","sales_rep":"5332","workingAddresses":[{"address1":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u8fdc\u5927\u8def1\u53f7B\u5ea75\u697c(\u4e16\u7eaa\u91d1\u6e90\u8d2d\u7269\u4e2d\u5fc3\u65c1)","address2":"\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","lat":"39.96021","lng":"116.2887","region_id":"110108"}]},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751597696","token":"461fc150fe7665ddaa77445454cd6db2","version_code":"1141"}', '{"code":200,"data":{"id":3337},"status":1,"msg":[{"name":"success","success":"\u65b0\u5ba2\u6237\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 10:55:39') RETURNING "id"
10:55:39.1131.0 msyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_contacts" WHERE ("user_status"=2) AND ("client_id"=3337)
10:55:39.1161.0 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "client_base_info_count"=1 WHERE "id"=3337
10:55:39.1340.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id"
10:55:39.1010.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509889, 'a:13:{s:2:"id";i:509889;s:9:"object_id";i:3337;s:11:"object_type";i:10;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:1107:"{"id":3337,"name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a","abbr":null,"pinyin_shortcut":"hjhjjh","description":null,"corp_rep":null,"website":null,"capital":null,"established_at":null,"headcount":null,"reg_address":null,"working_address":null,"telephone":"","fax":null,"scale":null,"branch":null,"purchase_scale_per_yr":"0.0","purchase_freq":"","company_nature":3,"client_class":80,"client_industry":1,"client_type":1,"sales_rep":5332,"main_contact":null,"created_by":1000,"created_at":"2025-07-04 10:55:38","updated_at":"2025-07-04 10:55:38","main_business":null,"deleted":false,"capital_currency":"","invoice_info":null,"logo":null,"en_name":null,"pick_at":"2025-07-04 10:55:38.996606+08","it_budget":null,"deployment_mode":null,"it_per_num":null,"public_relations_difficulty":null,"it_status":null,"decision_process":null,"coach":null,"competitor":null,"peers":null,"supplier":null,"main_product":null,"client_base_info_count":0,"client_key_info_count":0,"contact_count":0,"visit_count":0,"cooperate_count":0,"case_pre_sales_count":0,"case_implement_count":0,"is_overdue_remind":false,"from_contact":null}";s:9:"new_value";s:1107:"{"id":3337,"name":"\u6d77\u57fa\u4f1a\u57fa\u91d1\u4f1a","abbr":null,"pinyin_shortcut":"hjhjjh","description":null,"corp_rep":null,"website":null,"capital":null,"established_at":null,"headcount":null,"reg_address":null,"working_address":null,"telephone":"","fax":null,"scale":null,"branch":null,"purchase_scale_per_yr":"0.0","purchase_freq":"","company_nature":3,"client_class":80,"client_industry":1,"client_type":1,"sales_rep":5332,"main_contact":null,"created_by":1000,"created_at":"2025-07-04 10:55:38","updated_at":"2025-07-04 10:55:38","main_business":null,"deleted":false,"capital_currency":"","invoice_info":null,"logo":null,"en_name":null,"pick_at":"2025-07-04 10:55:38.996606+08","it_budget":null,"deployment_mode":null,"it_per_num":null,"public_relations_difficulty":null,"it_status":null,"decision_process":null,"coach":null,"competitor":null,"peers":null,"supplier":null,"main_product":null,"client_base_info_count":0,"client_key_info_count":0,"contact_count":0,"visit_count":0,"cooperate_count":0,"case_pre_sales_count":0,"case_implement_count":0,"is_overdue_remind":false,"from_contact":null}";s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba2\u6237","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 10:55:38";s:9:"is_delete";N;}', '', 1000, '223.104.41.148')
10:55:39.0120.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Clients', 3337, 'a:54:{s:2:"id";i:3337;s:4:"name";s:18:"海基会基金会";s:4:"abbr";N;s:15:"pinyin_shortcut";s:6:"hjhjjh";s:11:"description";N;s:8:"corp_rep";N;s:7:"website";N;s:7:"capital";N;s:14:"established_at";N;s:9:"headcount";N;s:11:"reg_address";N;s:15:"working_address";N;s:9:"telephone";s:0:"";s:3:"fax";N;s:5:"scale";N;s:6:"branch";N;s:21:"purchase_scale_per_yr";N;s:13:"purchase_freq";s:0:"";s:14:"company_nature";s:1:"3";s:12:"client_class";s:2:"80";s:15:"client_industry";s:1:"1";s:11:"client_type";s:1:"1";s:9:"sales_rep";s:4:"5332";s:12:"main_contact";N;s:10:"created_by";i:1000;s:10:"created_at";N;s:10:"updated_at";N;s:13:"main_business";N;s:7:"deleted";N;s:16:"capital_currency";s:0:"";s:12:"invoice_info";N;s:4:"logo";N;s:7:"en_name";N;s:7:"pick_at";s:5:"now()";s:9:"it_budget";N;s:15:"deployment_mode";N;s:10:"it_per_num";N;s:27:"public_relations_difficulty";N;s:9:"it_status";N;s:16:"decision_process";N;s:5:"coach";N;s:10:"competitor";N;s:5:"peers";N;s:8:"supplier";N;s:12:"main_product";N;s:22:"client_base_info_count";N;s:21:"client_key_info_count";N;s:13:"contact_count";N;s:11:"visit_count";N;s:15:"cooperate_count";N;s:20:"case_pre_sales_count";N;s:20:"case_implement_count";N;s:17:"is_overdue_remind";N;s:12:"from_contact";s:0:"";}', '', 1000, '223.104.41.148')
10:55:39.0320.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientSalesRepRels', 2758, 'a:5:{s:2:"id";i:2758;s:9:"client_id";i:3337;s:9:"sales_rep";s:4:"5332";s:8:"start_at";N;s:6:"end_at";N;}', '', 1000, '223.104.41.148')
10:55:38.9920.8 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "name"='海基会基金会')
10:55:39.0770.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\WorkingAddresses', 4124, 'a:17:{s:2:"id";i:4124;s:4:"name";s:18:"海基会基金会";s:8:"address1";s:68:"北京市海淀区远大路1号B座5楼(世纪金源购物中心旁)";s:8:"address2";s:24:"北京世纪星豪酒店";s:5:"state";s:9:"北京市";s:4:"city";s:9:"市辖区";s:6:"region";s:9:"海淀区";s:3:"zip";N;s:7:"country";s:6:"中国";s:11:"geolocation";s:19:"(116.2887,39.96021)";s:10:"created_by";i:1000;s:10:"created_at";N;s:10:"updated_at";s:19:"1970-01-01 08:00:00";s:8:"state_id";i:110000;s:7:"city_id";i:110100;s:9:"region_id";s:6:"110108";s:10:"country_id";i:1;}', '', 1000, '223.104.41.148')
10:55:39.1350.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165063, 'a:5:{s:2:"id";i:165063;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148')
10:55:39.1120.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 136921, 'a:15:{s:2:"id";i:136921;s:9:"object_id";i:3337;s:11:"object_type";i:10;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:118:"{"cooperated":null,"last_contact":null,"lost_contact_days":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:118:"{"cooperated":null,"last_contact":null,"lost_contact_days":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[5332,1000]";s:6:"params";a:0:{}}s:11:"description";s:105:"{"d1":"\u66f9\u6c38\u751f","d2":"\u7ed9\u970d\u536b\u8d85\u521b\u5efa\u4e86","d3":"\u5ba2\u6237","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 10:55:38";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148')
10:55:39.1360.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3337, 'a:0:{}', '', 1000, '223.104.41.148')
10:55:39.0920.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337
10:55:39.1150.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id"=4124)
10:55:38.9930.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_client_classes" WHERE "id"='80')
10:55:39.1030.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:55:39.0940.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:55:39.0330.3 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3337) AND ("term_id"=14)
10:55:39.1140.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_addresses" WHERE "client_id"=3337
10:55:39.1120.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337
10:55:39.1030.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5332
10:55:39.1150.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id"=3337
10:55:38.9930.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_client_industries" WHERE "id"='1')
10:55:38.9940.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_company_natures" WHERE "id"='3')
10:55:38.9940.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_client_types" WHERE "id"='1')
10:55:38.9950.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
10:55:38.9940.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5332')
10:55:39.0740.2 msyii\db\Command::querySELECT * FROM "public"."tbl_geo" WHERE "id"=110100
10:55:39.0740.1 msyii\db\Command::querySELECT * FROM "public"."tbl_geo" WHERE "id"=110000