Database Queries

总计69条数据
TimeDurationTypeQuery
  
11:01:46.5682.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'

11:01:46.5711.0 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

11:01:46.5740.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337'

11:01:46.5760.5 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='3337') AND ("project_title"='付款发货'))

11:01:46.5770.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1')

11:01:46.5770.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337')

11:01:46.5770.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='5')

11:01:46.5780.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='1')

11:01:46.5780.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5332)

11:01:46.5796.0 msINSERTINSERT INTO "a57be577deb434"."tbl_projects" ("bargain_date", "client_id", "comment", "contract_type", "from_contact", "project_progress", "project_status", "project_title", "used_client", "creator", "budget", "profit_pct", "created_by", "collected", "pinyin_shortcut") VALUES ('2025-12-04', 3337, '将错就错家', 1, NULL, 5, 1, '付款发货', NULL, 1000, '0', '0', 5332, '0', 'fkfh') RETURNING "id"

11:01:46.5861.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3815) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1

11:01:46.5874.3 msINSERTINSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (3815, 1, '0', '0', '0', 'now()', NULL) RETURNING "id"

11:01:46.5920.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectChangeLogs', 16117, 'a:8:{s:2:"id";i:16117;s:10:"project_id";i:3815;s:14:"project_status";s:1:"1";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:9:"collected";i:0;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148')

11:01:46.5930.8 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Projects', 3815, 'a:30:{s:2:"id";i:3815;s:9:"client_id";s:4:"3337";s:14:"project_status";s:1:"1";s:16:"project_progress";s:1:"5";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:12:"bargain_date";s:10:"2025-12-04";s:11:"description";N;s:10:"created_by";i:5332;s:10:"created_at";N;s:10:"updated_at";N;s:11:"engineer_id";N;s:13:"project_title";s:12:"付款发货";s:9:"collected";i:0;s:17:"status_updated_at";N;s:12:"success_rate";N;s:7:"comment";s:15:"将错就错家";s:13:"contract_type";s:1:"1";s:19:"progress_updated_at";N;s:19:"forecast_updated_at";N;s:6:"end_at";N;s:15:"pinyin_shortcut";s:4:"fkfh";s:7:"creator";i:1000;s:11:"used_client";s:0:"";s:12:"from_contact";s:0:"";s:19:"total_contact_point";N;s:18:"paid_contact_point";N;s:26:"project_product_version_id";N;s:20:"is_sales_order_ready";N;s:14:"collected_plan";N;}', '', 1000, '223.104.41.148')

11:01:46.5940.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337'

11:01:46.5950.5 msDELETEDELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3815

11:01:46.5961.1 msUPDATEUPDATE "a57be577deb434"."tbl_projects" SET "end_at"=NULL WHERE "id"=3815

11:01:46.5971.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3815) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1

11:01:46.5980.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3815, 'a:0:{}', '', 1000, '223.104.41.148')

11:01:46.5990.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337'

11:01:46.6014.0 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_project_status_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;

11:01:46.6059.2 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_project_status_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum

11:01:46.6144.5 msINSERTINSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "new_status", "created_by", "created_at") VALUES (3815, 1, 1000, 'now()') RETURNING "id"

11:01:46.6190.8 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectStatusLogs', 3407, 'a:6:{s:2:"id";i:3407;s:10:"project_id";i:3815;s:10:"new_status";s:1:"1";s:10:"old_status";N;s:10:"created_by";i:1000;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1000, '223.104.41.148')

11:01:46.6200.3 msDELETEDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3815) AND ("term_id"=9)

11:01:46.6201.1 msINSERTINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 129, 3815)

11:01:46.6220.2 msDELETEDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3815) AND ("term_id"=13)

11:01:46.6220.8 msINSERTINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 181, 3815)

11:01:46.6230.3 msDELETEDELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3815

11:01:46.6232.3 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_project_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;

11:01:46.6269.2 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_project_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum

11:01:46.6353.5 msINSERTINSERT INTO "a57be577deb434"."tbl_project_remind_receivers" ("project_id", "user_id") VALUES (3815, 1017) RETURNING "id"

11:01:46.6390.8 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectRemindReceivers', 1611, 'a:3:{s:2:"id";i:1611;s:10:"project_id";i:3815;s:7:"user_id";s:4:"1017";}', '', 1000, '223.104.41.148')

11:01:46.6400.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3815

11:01:46.6410.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='1'

11:01:46.6422.3 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_project_statuses' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;

11:01:46.6447.8 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_project_statuses' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum

11:01:46.6520.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815

11:01:46.6530.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)

11:01:46.6531.0 msINSERTINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1000, '1', 3815, TRUE, '曹永生新建了一条状态为隐性需求的商机', '将错就错家') RETURNING "id"

11:01:46.6540.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 170240, 'a:11:{s:2:"id";i:170240;s:9:"object_id";i:3815;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:54:"曹永生新建了一条状态为隐性需求的商机";s:10:"created_by";i:1000;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:15:"将错就错家";}', '', 1000, '223.104.41.148')

11:01:46.6551.0 msINSERTINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (3815, '1', 170240, 1017)

11:01:46.6570.3 msSELECTSELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1017) AND ("id" != 1000) AND (channel_id IS NOT NULL)

11:01:46.6570.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

11:01:46.6580.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337'

11:01:46.6590.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5332

11:01:46.6600.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815

11:01:46.6600.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

11:01:46.6611.0 msINSERTINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 3815, 1, 1000, '2025-07-04 11:01:46', '{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}', '{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id"

11:01:46.6620.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509951, 'a:13:{s:2:"id";i:509951;s:9:"object_id";i:3815;s:11:"object_type";i:1;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:783:"{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}";s:9:"new_value";s:783:"{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}";s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:01:46";s:9:"is_delete";N;}', '', 1000, '223.104.41.148')

11:01:46.6630.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

11:01:46.6641.0 msINSERTINSERT 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', 3815, 1, 1000, '2025-07-04 11:01:46', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id"

11:01:46.6650.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 136926, 'a:15:{s:2:"id";i:136926;s:9:"object_id";i:3815;s:11:"object_type";i:1;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:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[5332]";s:6:"params";a:0:{}}s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:01:46";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148')

11:01:46.6660.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337'

11:01:46.6671.0 msUPDATEUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3337

11:01:46.6688.8 msSELECTSELECT * 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

11:01:46.6771.0 msINSERTINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id"

11:01:46.6780.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165075, 'a:5:{s:2:"id";i:165075;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')

11:01:46.6790.7 msINSERTINSERT 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')

11:01:46.6800.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

11:01:46.6800.8 msINSERTINSERT 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', 3337, 10, 3815, 1, 1000, '[3815]', '[3815]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u4ed8\u6b3e\u53d1\u8d27"]}') RETURNING "id"

11:01:46.6810.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509952, 'a:13:{s:2:"id";i:509952;s:9:"object_id";i:3337;s:11:"object_type";i:10;s:9:"target_id";i:3815;s:18:"target_object_type";i:1;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3815]";s:9:"new_value";s:6:"[3815]";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u4ed8\u6b3e\u53d1\u8d27"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148')

11:01:46.6820.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337'

11:01:46.6820.3 msSELECTSELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2025-01-01 00:00:00') AND ("bargain_date" <= '2025-12-31 23:59:59') AND ("client_id"=3337)

11:01:46.6837.8 msSELECTSELECT * 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

11:01:46.6911.0 msINSERTINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id"

11:01:46.6920.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165076, 'a:5:{s:2:"id";i:165076;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')

11:01:46.6930.7 msINSERTINSERT 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')

11:01:46.6961.0 msINSERTINSERT 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/project/save-new', '{"ProjectArchitects":{"1017":"1.00"},"Projects":{"bargain_date":"2025-12-04","client_id":"3337","comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":"1","from_contact":"","projectProductTypes":"","projectRemindReceivers":["1017"],"project_progress":"5","project_status":"1","project_title":"\u4ed8\u6b3e\u53d1\u8d27","purchaseType":"129","salesForecast":"181","used_client":""},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751598080","token":"3eefdc81cb6a572bfa8a2483f60748db","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u65b0\u5546\u673a\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 11:01:46') RETURNING "id"