Log Messages

总计145条数据
TimeLevelCategoryMessage
 
13:55:45.620traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
13:55:45.620traceyii\base\Module::getModuleLoading module: debug
13:55:45.621traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
13:55:45.621traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
13:55:45.621traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
13:55:45.621traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.621traceyii\base\Module::getModuleLoading module: gii
13:55:45.622traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
13:55:45.622traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
13:55:45.622traceyii\web\Application::handleRequestRoute requested: 'vue/project/save-edit'
13:55:45.622traceyii\base\Module::getModuleLoading module: vue
13:55:45.622infoyii\web\Session::openSession started
13:55:45.623infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5250
13:55:45.623infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
13:55:45.629traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.630traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.630traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.630traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.631infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250
13:55:45.633traceyii\base\Controller::runActionRoute to run: vue/project/save-edit
13:55:45.633traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.634traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
13:55:45.634traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ProjectController::actionSaveEdit()
13:55:45.634infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3927'
13:55:45.635traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.635traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.636traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.636traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.637traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\Projects'.
13:55:45.637traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'payment_collection_remind_ahead' in 'app\models\Projects'.
13:55:45.637traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPaymentCollectionRemindDates' in 'app\models\Projects'.
13:55:45.637traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPaymentCollectionRemindReceivers' in 'app\models\Projects'.
13:55:45.637infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3927
13:55:45.638infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (226, 165, 172, 185, 191, 369)) ORDER BY "sort"
13:55:45.639traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.639traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.639infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"=3286) AND ("project_title"='PA VM防火墙维保续约') AND ("id" != 3927))
13:55:45.641infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"=1)
13:55:45.641infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286)
13:55:45.642infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"=6)
13:55:45.642infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3)
13:55:45.642infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
13:55:45.643infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"=5957)
13:55:45.643infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250
13:55:45.644infoyii\db\Command::execute
13:55:45.644infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250
13:55:45.645infoyii\db\Command::execute
13:55:45.645infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()', "forecast_updated_at"='now()' WHERE "id"=3927
13:55:45.647infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3927) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
13:55:45.649traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.649traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.649traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.649traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.649infoyii\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', 3927, 'a:0:{}', '', 5250, '124.64.23.198')
13:55:45.651infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
13:55:45.652traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.652traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.652infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250
13:55:45.653infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3927
13:55:45.654traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.654traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.654infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3927)
13:55:45.655infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "save_collection_at"='now()' WHERE "id"=4075
13:55:45.656infoyii\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\SalesContracts', 4075, 'a:1:{s:18:"save_collection_at";s:5:"now()";}', '', 5250, '124.64.23.198')
13:55:45.659infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
13:55:45.659infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3927
13:55:45.660infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=5250) AND ("type"=1)
13:55:45.660traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.660infoyii\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_contract_default_remind_users' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
13:55:45.665infoyii\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_contract_default_remind_users' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
13:55:45.678traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.678traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
13:55:45.678infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (5250, 1001, 1), (5250, 5388, 1), (5250, 1011, 1)
13:55:45.680infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4075
13:55:45.680traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.681infoyii\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_sales_contract_payment_collection_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
13:55:45.683infoyii\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_sales_contract_payment_collection_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
13:55:45.693traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.693traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
13:55:45.693infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4075
13:55:45.694infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4075, 1001) RETURNING "id"
13:55:45.699infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8795, 'a:3:{s:2:"id";i:8795;s:11:"contract_id";i:4075;s:7:"user_id";s:4:"1001";}', '', 5250, '124.64.23.198')
13:55:45.700infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4075, 5388) RETURNING "id"
13:55:45.701infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8796, 'a:3:{s:2:"id";i:8796;s:11:"contract_id";i:4075;s:7:"user_id";s:4:"5388";}', '', 5250, '124.64.23.198')
13:55:45.703infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4075, 1011) RETURNING "id"
13:55:45.703infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8797, 'a:3:{s:2:"id";i:8797;s:11:"contract_id";i:4075;s:7:"user_id";s:4:"1011";}', '', 5250, '124.64.23.198')
13:55:45.704infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4075
13:55:45.705traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.705infoyii\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_sales_contract_payment_collection_remind_dates' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
13:55:45.708infoyii\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_sales_contract_payment_collection_remind_dates' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
13:55:45.716traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.716traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
13:55:45.716infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4075
13:55:45.719infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4075)
13:55:45.720infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "reminded") VALUES (4075, '2025-08-08', '123', FALSE) RETURNING "id"
13:55:45.723infoyii\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\SalesContractPaymentCollectionRemindDates', 2548, 'a:8:{s:2:"id";i:2548;s:11:"contract_id";i:4075;s:11:"remind_date";s:10:"2025-08-08";s:8:"reminded";b:0;s:6:"amount";i:123;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;}', '', 5250, '124.64.23.198')
13:55:45.724infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4075)
13:55:45.725infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "reminded") VALUES (4075, '2025-08-09', '222', FALSE) RETURNING "id"
13:55:45.726infoyii\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\SalesContractPaymentCollectionRemindDates', 2549, 'a:8:{s:2:"id";i:2549;s:11:"contract_id";i:4075;s:11:"remind_date";s:10:"2025-08-09";s:8:"reminded";b:0;s:6:"amount";i:222;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;}', '', 5250, '124.64.23.198')
13:55:45.726infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4075
13:55:45.727infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4075
13:55:45.728infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status" IN (2, 5, 1))
13:55:45.729infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status" IN (2, 5, 1))
13:55:45.730infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3927
13:55:45.730infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4075
13:55:45.731infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3927) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
13:55:45.732infoyii\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', 3927, 'a:0:{}', '', 5250, '124.64.23.198')
13:55:45.733infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
13:55:45.734infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4075
13:55:45.734infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status" IN (2, 5, 1))
13:55:45.735infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status" IN (2, 5, 1))
13:55:45.735infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status" IN (2, 5, 1))
13:55:45.736infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status"=1))
13:55:45.737infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status"=1))
13:55:45.738infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4075) AND ("t"."status"=1))
13:55:45.738infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='60000' WHERE "id"=4075
13:55:45.739infoyii\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\SalesContracts', 4075, 'a:0:{}', '', 5250, '124.64.23.198')
13:55:45.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
13:55:45.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3927
13:55:45.741infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3927
13:55:45.742infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "collected"='0' WHERE "id"=3927
13:55:45.743infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3927) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
13:55:45.744infoyii\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', 3927, 'a:0:{}', '', 5250, '124.64.23.198')
13:55:45.745infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
13:55:45.745infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
13:55:45.746infoyii\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"=3286)
13:55:45.747infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3286) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
13:55:45.756traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.757traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.757infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3286, 1001, 'now()', NULL) RETURNING "id"
13:55:45.758infoyii\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', 177415, 'a:5:{s:2:"id";i:177415;s:9:"client_id";i:3286;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5250, '124.64.23.198')
13:55:45.759infoyii\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', 3286, 'a:0:{}', '', 5250, '124.64.23.198')
13:55:45.760traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
13:55:45.760traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
13:55:45.760traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
13:55:45.761traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
13:55:45.761traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
13:55:45.761traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
13:55:45.761infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3927
13:55:45.761infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3927)
13:55:45.762traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.762traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:55:45.762infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5250, 5, 'vue/project/save-edit', '{"Projects":{"id":"3927","payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindDates":{"2025-08-08":"123","2025-08-09":"222"},"salesContractPaymentCollectionRemindReceivers":["1001","5388","1011"]},"web_access_token":"whZjM8ZfyqxulYW-_i5kn1yK2K5nH7iz"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-08-08 13:55:45') RETURNING "id"
13:55:45.764traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:55:45.764traceyii\redis\Connection::executeCommandExecuting Redis Command: SET