Log Messages

总计260条数据
TimeLevelCategoryMessage
 
17:48:33.711traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
17:48:33.711traceyii\base\Module::getModuleLoading module: debug
17:48:33.711traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
17:48:33.711traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
17:48:33.711traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
17:48:33.712traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.712traceyii\base\Module::getModuleLoading module: gii
17:48:33.712traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
17:48:33.712traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
17:48:33.712traceyii\web\Application::handleRequestRoute requested: 'vue/project/save-edit'
17:48:33.712traceyii\base\Module::getModuleLoading module: vue
17:48:33.712infoyii\web\Session::openSession started
17:48:33.713infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5064
17:48:33.713infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:48:33.717traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.718traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.718traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.718traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.718infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.720traceyii\base\Controller::runActionRoute to run: vue/project/save-edit
17:48:33.720traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.721traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
17:48:33.721traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ProjectController::actionSaveEdit()
17:48:33.721infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3796'
17:48:33.722traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.722traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.722traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.723traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\Projects'.
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'payment_collection_remind_ahead' in 'app\models\Projects'.
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPaymentCollectionRemindReceivers' in 'app\models\Projects'.
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPaymentCollectionRemindDates' in 'app\models\Projects'.
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\Projects'.
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'profit' in 'app\models\Projects'.
17:48:33.723traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'from_contact_name' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesForecast' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseType' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'opportunityFrom' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectArchitects' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectProductRels' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectContactPoints' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectContactPointRels' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectUsedClient' in 'app\models\Projects'.
17:48:33.724traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'.
17:48:33.724infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3796
17:48:33.724infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (5, 128, 142, 369)) ORDER BY "sort"
17:48:33.725traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.725infoyii\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_term_taxonomies' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:48:33.731infoyii\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_term_taxonomies' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:48:33.735traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.735traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:48:33.737infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='2125') AND ("project_title"='deepseek私有化部署-239-K') AND ("id" != 3796))
17:48:33.737infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1')
17:48:33.738infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125')
17:48:33.738infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='3')
17:48:33.739infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='3')
17:48:33.739infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5087)
17:48:33.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3796)
17:48:33.741infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.741infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3796
17:48:33.742traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.742infoyii\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_project_product_types' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:48:33.745infoyii\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_project_product_types' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:48:33.748traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.748traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:48:33.748infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3796
17:48:33.749traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.749infoyii\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_product_types' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:48:33.752infoyii\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_product_types' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:48:33.755traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.755traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:48:33.755infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=2
17:48:33.755infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (3796, 2, '服务器', '790000.00', 25, '197500')
17:48:33.757infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796
17:48:33.757infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796
17:48:33.758infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_product_rels" WHERE 0=1
17:48:33.758infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796
17:48:33.758infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796
17:48:33.784infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:48:33.786traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.786infoyii\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_project_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:48:33.788infoyii\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_project_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:48:33.792traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.792traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:48:33.793traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.793traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.793infoyii\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\Projects', 3796, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.795infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125
17:48:33.795traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.795traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.796infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796
17:48:33.796infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796
17:48:33.798infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_order_items" WHERE "project_id"=3796
17:48:33.804infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:48:33.806infoyii\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\Projects', 3796, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.807infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125
17:48:33.807infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796
17:48:33.808infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3796
17:48:33.808infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3796
17:48:33.809infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=3796
17:48:33.810infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=3796
17:48:33.810infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE 0=1
17:48:33.811traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.811traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.811infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'bargain_date', 3796, 1, 5064, 'now()', '["2025-09-10"]', '["2025-12-31"]', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u6210\u4ea4\u65e5\u671f","d4":["2025-12-31 <b>\u53d8\u4e3a<\/b> 2025-09-10"]}')
17:48:33.812infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125'
17:48:33.813traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.813traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.813infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'bargain_date', 3796, 1, 5064, 'now()', '["2025-09-10"]', '["2025-12-31"]', array[5087], '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u6210\u4ea4\u65e5\u671f","d4":["2025-12-31 <b>\u53d8\u4e3a<\/b> 2025-09-10"]}')
17:48:33.816infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "client_id"=2125, "project_progress"=3, "budget"='790000', "profit_pct"='25', "bargain_date"='2025-09-10', "updated_at"='now()', "status_updated_at"='now()', "contract_type"=1, "from_contact"=NULL, "change_status_to"=3 WHERE "id"=3796
17:48:33.821infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:48:33.822infoyii\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\Projects', 3796, 'a:1:{s:12:"bargain_date";s:10:"2025-09-10";}', '', 5064, '114.246.239.150')
17:48:33.823infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125'
17:48:33.823infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.824infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3796
17:48:33.824traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.825traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.825infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3796
17:48:33.825infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_project_architects" ("project_id", "engineer_id", "contribution", "created_by") VALUES (3796, 1015, '1', 5064)
17:48:33.828infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3796
17:48:33.828infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=9) AND ("id" IN (5, 128, 142, 369)) ORDER BY "sort"
17:48:33.829infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=128
17:48:33.829infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='128'
17:48:33.829infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3796) AND ("term_id"=9)
17:48:33.830traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.830infoyii\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_term_taxonomy_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:48:33.833infoyii\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_term_taxonomy_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:48:33.836traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.836traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:48:33.836infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 128, 3796)
17:48:33.839infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=142
17:48:33.839infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='142'
17:48:33.840infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3796) AND ("term_id"=13)
17:48:33.841infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 142, 3796)
17:48:33.842infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3796
17:48:33.842traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.842traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.842infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3796
17:48:33.843infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_remind_receivers" ("project_id", "user_id") VALUES (3796, 1001) RETURNING "id"
17:48:33.845infoyii\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\ProjectRemindReceivers', 1779, 'a:3:{s:2:"id";i:1779;s:10:"project_id";i:3796;s:7:"user_id";s:4:"1001";}', '', 5064, '114.246.239.150')
17:48:33.846infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3796
17:48:33.847infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_clients" WHERE "project_id"=3796
17:48:33.848traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.848traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.848infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_used_clients" ("project_id", "used_client", "budget", "profit", "profit_pct") VALUES (3796, NULL, NULL, NULL, NULL) RETURNING "id"
17:48:33.851infoyii\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\ProjectUsedClients', 188, 'a:8:{s:2:"id";i:188;s:10:"project_id";i:3796;s:11:"used_client";s:0:"";s:6:"budget";s:0:"";s:6:"profit";s:0:"";s:10:"profit_pct";s:0:"";s:14:"collected_plan";N;s:12:"remind_ahead";N;}', '', 5064, '114.246.239.150')
17:48:33.852infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.852infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'projectUsedClientRemindAhead', 3796, 1, 5064, 'now()', '["\u4e0d\u63d0\u9192"]', '[""]', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u7528\u6237\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4e0d\u63d0\u9192"]}')
17:48:33.853infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.853infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'projectUsedClientRemindAhead', 3796, 1, 5064, 'now()', '["\u4e0d\u63d0\u9192"]', '[""]', array[5087], '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u7528\u6237\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4e0d\u63d0\u9192"]}')
17:48:33.854infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_used_clients" SET "remind_ahead"=NULL WHERE "id"=188
17:48:33.855infoyii\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\ProjectUsedClients', 188, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.856infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_receivers" WHERE "project_used_client_id"=188
17:48:33.856infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_receivers" WHERE "project_used_client_id"=188
17:48:33.857infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE "project_used_client_id"=188
17:48:33.857infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE "project_used_client_id"=188
17:48:33.857infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE "project_used_client_id"=188
17:48:33.858infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE "project_used_client_id"=188
17:48:33.858infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE 0=1
17:48:33.858infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_clients" WHERE "id"=188
17:48:33.858traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.858traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.858infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_used_client_payments" SET "paid_amount"='0' WHERE "project_used_client_id"=188
17:48:33.859traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.859traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.859infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "project_used_client_id"=188
17:48:33.859infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE "project_used_client_id"=188
17:48:33.859infoyii\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\ProjectUsedClients', 188, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.860infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE ("project_used_client_id"=188) AND (amount > paid_amount) ORDER BY "collected_date", "created_at"
17:48:33.861infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE "project_used_client_id"=188
17:48:33.861infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE "project_used_client_id"=188
17:48:33.861infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE 0=1
17:48:33.861infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125'
17:48:33.863infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2125
17:48:33.866infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2125) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:48:33.883traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.883infoyii\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_am_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:48:33.885infoyii\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_am_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:48:33.888traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.889traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:48:33.889infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2125, 5087, 'now()', NULL) RETURNING "id"
17:48:33.890infoyii\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', 180768, 'a:5:{s:2:"id";i:180768;s:9:"client_id";i:2125;s:9:"sales_rep";i:5087;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5064, '114.246.239.150')
17:48:33.891infoyii\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', 2125, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.892infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.892infoyii\db\Command::queryINSERT 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 (2, 'update', 2125, 10, 3796, 1, 5064, '[3796]', '[3796]', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["deepseek\u79c1\u6709\u5316\u90e8\u7f72-239-K"]}') RETURNING "id"
17:48:33.893infoyii\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', 564895, 'a:13:{s:2:"id";i:564895;s:9:"object_id";s:4:"2125";s:11:"object_type";i:10;s:9:"target_id";i:3796;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3796]";s:9:"new_value";s:6:"[3796]";s:11:"description";s:127:"{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["deepseek\u79c1\u6709\u5316\u90e8\u7f72-239-K"]}";s:10:"created_by";i:5064;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5064, '114.246.239.150')
17:48:33.894infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125'
17:48:33.894infoyii\db\Command::querySELECT 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"=2125)
17:48:33.896infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2125) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:48:33.911infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2125, 5087, 'now()', NULL) RETURNING "id"
17:48:33.912infoyii\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', 180769, 'a:5:{s:2:"id";i:180769;s:9:"client_id";i:2125;s:9:"sales_rep";i:5087;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5064, '114.246.239.150')
17:48:33.913infoyii\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', 2125, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.920traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
17:48:33.920traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
17:48:33.920traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
17:48:33.921traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
17:48:33.921traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
17:48:33.921traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
17:48:33.921infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796
17:48:33.922infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3796)
17:48:33.923infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "is_verify"=TRUE WHERE "id"=3796
17:48:33.924infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:48:33.925infoyii\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\Projects', 3796, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.926infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125
17:48:33.927infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3796
17:48:33.927infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("created_at" >= '2025-09-10 00:00:00') AND ("created_at" <= '2025-09-10 23:59:59') AND ("serial_no" ILIKE '%XSDD-20250910-%') AND (LENGTH(serial_no) = 19) ORDER BY "serial_no" DESC
17:48:33.928traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.929traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.929traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.929traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.929infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_verify_processes" WHERE "id"=6
17:48:33.929infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE ("id"='1001') AND ("user_status"='1') ORDER BY array_position(array[1001], id)
17:48:33.930infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_sales_orders" ("serial_no", "handler", "created_by", "amount", "wrote_date", "created_at", "verify_type", "status", "client_id", "project_id", "description", "extra", "outbound_status") VALUES ('XSDD-20250910-00008', 5087, 5087, '790000', '2025-09-10', 'now()', 2, 1, 2125, 3796, NULL, '{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5449","5087"],"salesContractPaymentCollectionRemindDates":null}', FALSE) RETURNING "id"
17:48:33.933infoyii\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\ErpSalesOrders', 1585, 'a:36:{s:2:"id";i:1585;s:9:"serial_no";s:19:"XSDD-20250910-00008";s:9:"from_date";N;s:10:"wrote_date";s:10:"2025-09-10";s:7:"handler";i:5087;s:9:"client_id";i:2125;s:20:"purchase_contract_id";N;s:10:"project_id";i:3796;s:17:"sales_contract_id";N;s:12:"erp_store_id";N;s:6:"status";i:1;s:16:"erp_send_type_id";N;s:8:"abstract";N;s:11:"description";N;s:11:"verify_type";s:1:"2";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:23:"next_cancel_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:9:"cancel_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";N;s:7:"is_done";N;s:6:"number";N;s:6:"amount";s:6:"790000";s:10:"created_by";i:5087;s:16:"stop_description";N;s:5:"extra";s:156:"{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5449","5087"],"salesContractPaymentCollectionRemindDates":null}";s:15:"outbound_status";b:0;s:7:"is_used";N;s:9:"is_cancel";N;s:9:"is_settle";N;s:6:"is_old";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;}', '', 5064, '114.246.239.150')
17:48:33.934infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1585
17:48:33.934traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.934traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.934infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_sales_order_verify_rels" ("erp_sales_order_id", "user_id", "status") VALUES (1585, 1001, 0)
17:48:33.935infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1585) ORDER BY "id"
17:48:33.936infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='0', "number"='0', "next_verify_user"=1001 WHERE "id"=1585
17:48:33.936infoyii\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\ErpSalesOrders', 1585, 'a:3:{s:6:"amount";i:0;s:16:"next_verify_user";i:1001;s:6:"number";i:0;}', '', 5064, '114.246.239.150')
17:48:33.937infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1585
17:48:33.938infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5087
17:48:33.938infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1585) ORDER BY "id"
17:48:33.939infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1585) ORDER BY "id"
17:48:33.939traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.939traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.939infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1585
17:48:33.940infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064)
17:48:33.940infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (5064, '20007', 1585, '姚雪纯 有一个销售订单需要审批', TRUE, 'XSDD-20250910-00008') RETURNING "id"
17:48:33.941infoyii\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\Comments', 191176, 'a:11:{s:2:"id";i:191176;s:9:"object_id";i:1585;s:11:"object_type";s:5:"20007";s:6:"parent";N;s:11:"description";s:43:"姚雪纯 有一个销售订单需要审批";s:10:"created_by";i:5064;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:19:"XSDD-20250910-00008";}', '', 5064, '114.246.239.150')
17:48:33.942traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.942traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.942infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (1585, '20007', 191176, 1001)
17:48:33.944infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 5064) AND (channel_id IS NOT NULL)
17:48:33.946infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.947traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
17:48:33.947traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
17:48:33.947traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
17:48:33.947infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125
17:48:33.948infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796
17:48:33.949traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
17:48:33.949traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
17:48:33.949traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
17:48:33.949infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
17:48:33.950infoyii\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', 1585, 20007, 5064, '2025-09-10 17:48:33', '{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}', '{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}') RETURNING "id"
17:48:33.952infoyii\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', 564896, 'a:13:{s:2:"id";i:564896;s:9:"object_id";i:1585;s:11:"object_type";i:20007;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:903:"{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}";s:9:"new_value";s:903:"{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}";s:11:"description";s:105:"{"d1":"\u59da\u96ea\u7eaf","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:5064;s:10:"created_at";s:19:"2025-09-10 17:48:33";s:9:"is_delete";N;}', '', 5064, '114.246.239.150')
17:48:33.953infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796
17:48:33.953infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='790000' WHERE "id"=1585
17:48:33.954infoyii\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\ErpSalesOrders', 1585, 'a:1:{s:6:"amount";s:6:"790000";}', '', 5064, '114.246.239.150')
17:48:33.955infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1585
17:48:33.956infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "outbound_status"=TRUE, "is_used"=FALSE WHERE "id"=1585
17:48:33.957infoyii\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\ErpSalesOrders', 1585, 'a:0:{}', '', 5064, '114.246.239.150')
17:48:33.958infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1
17:48:33.958traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.958traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:48:33.958infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5064, 5, 'vue/project/save-edit', '{"Projects":{"id":"3796","payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5449","5087"],"salesContractPaymentCollectionRemindDates":"","client_name":"\u5317\u4eac\u822a\u661f\u673a\u5668\u5236\u9020\u6709\u9650\u516c\u53f8239\u5382","client_id":"2125","project_status":"3","project_progress":"3","profit":"197500","profit_pct":"25","bargain_date":"2025-09-10","project_title":"deepseek\u79c1\u6709\u5316\u90e8\u7f72-239-K","from_contact_name":"","from_contact":"","salesForecast":"142","purchaseType":"128","opportunityFrom":"","contract_type":"1","projectArchitects":{"1015":"1"},"comment":"","projectRemindReceivers":["1001"],"project_product_version_id":"","projectProductRels":"","projectContactPoints":"","projectContactPointRels":"","projectUsedClient":{"used_client":"","budget":"","profit":"","profit_pct":"","projectUsedClientPaymentCollectionRemindReceivers":"","projectUsedClientPaymentCollectionRemindDates":"","remind_ahead":"","projectUsedClientPayments":"","projectUsedClientInvoices":""},"projectProductTypes":{"2":{"budget":"790000.00","profit":"197500","pct":"25"}}},"web_access_token":"LDTcnA1-CvwkRlebCRg_-13YT_Nb9wuu"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-09-10 17:48:33') RETURNING "id"
17:48:33.959traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:48:33.959traceyii\redis\Connection::executeCommandExecuting Redis Command: SET