Log Messages

总计143条数据
TimeLevelCategoryMessage
 
09:18:55.585traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
09:18:55.585traceyii\base\Module::getModuleLoading module: debug
09:18:55.585traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
09:18:55.585traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
09:18:55.585traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
09:18:55.585traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.586traceyii\base\Module::getModuleLoading module: gii
09:18:55.586traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
09:18:55.586traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
09:18:55.586traceyii\web\Application::handleRequestRoute requested: 'vue/purchase-contract/save-remind-date'
09:18:55.586traceyii\base\Module::getModuleLoading module: vue
09:18:55.586infoyii\web\Session::openSession started
09:18:55.587infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
09:18:55.587infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
09:18:55.591traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.591traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.591traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.592traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.592infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
09:18:55.593traceyii\base\Controller::runActionRoute to run: vue/purchase-contract/save-remind-date
09:18:55.593traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.594traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
09:18:55.594traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\PurchaseContractController::actionSaveRemindDate()
09:18:55.594infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='3850'
09:18:55.595traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.595traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.595traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.596traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.597traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\PurchaseContracts'.
09:18:55.597traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'budget' in 'app\models\PurchaseContracts'.
09:18:55.597traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindDates' in 'app\models\PurchaseContracts'.
09:18:55.597traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindReceivers' in 'app\models\PurchaseContracts'.
09:18:55.597infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "serial_no"='费用合同编号' LIMIT 2
09:18:55.598infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=689)
09:18:55.598infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1011)
09:18:55.599infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
09:18:55.599traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.599traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.599infoyii\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, 'payment_collection_remind_ahead', 3850, 13, 1001, 'now()', '["\u63d0\u524d1\u5929"]', '["\u65e0"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u4ed8\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["\u65e0 <b>\u53d8\u4e3a<\/b> \u63d0\u524d1\u5929"]}')
09:18:55.601infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "serial_no"='费用合同编号' LIMIT 2
09:18:55.602infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=689)
09:18:55.602infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1011)
09:18:55.603infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
09:18:55.603infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "updated_at"='now()', "payment_collection_remind_ahead"='1 day', "is_save_collection"=TRUE, "save_collection_at"='now()' WHERE "id"=3850
09:18:55.604traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.604traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.604infoyii\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\PurchaseContracts', 3850, 'a:2:{s:31:"payment_collection_remind_ahead";s:5:"1 day";s:18:"save_collection_at";s:5:"now()";}', '', 1001, '114.254.1.137')
09:18:55.605infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=689
09:18:55.606traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.606traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.606infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE "contract_id"=3850
09:18:55.606infoyii\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, 'purchaseContractPaymentCollectionRemindDates', 3850, 13, 1001, 'now()', '[["2025-07-04 600.00\u5143","2025-07-05 500.00\u5143","2025-07-06 700.00\u5143"]]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u4ed8\u6b3e\u8ba1\u5212","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 2025-07-04 600.00\u5143;2025-07-05 500.00\u5143;2025-07-06 700.00\u5143;"]}')
09:18:55.607infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE "contract_id"=3850
09:18:55.608traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.608infoyii\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_purchase_contract_payment_collection_remind_dates' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:55.612infoyii\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_purchase_contract_payment_collection_remind_dates' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:55.621traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.621traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:55.623infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850)
09:18:55.623infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "reminded") VALUES (3850, '2025-07-04', '600', FALSE) RETURNING "id"
09:18:55.627infoyii\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\PurchaseContractPaymentCollectionRemindDates', 624, 'a:8:{s:2:"id";i:624;s:11:"contract_id";i:3850;s:11:"remind_date";s:10:"2025-07-04";s:8:"reminded";b:0;s:6:"amount";d:600;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;}', '', 1001, '114.254.1.137')
09:18:55.628infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850)
09:18:55.628infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "reminded") VALUES (3850, '2025-07-05', '500', FALSE) RETURNING "id"
09:18:55.629infoyii\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\PurchaseContractPaymentCollectionRemindDates', 625, 'a:8:{s:2:"id";i:625;s:11:"contract_id";i:3850;s:11:"remind_date";s:10:"2025-07-05";s:8:"reminded";b:0;s:6:"amount";d:500;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;}', '', 1001, '114.254.1.137')
09:18:55.630infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850)
09:18:55.630infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "reminded") VALUES (3850, '2025-07-06', '700', FALSE) RETURNING "id"
09:18:55.631infoyii\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\PurchaseContractPaymentCollectionRemindDates', 626, 'a:8:{s:2:"id";i:626;s:11:"contract_id";i:3850;s:11:"remind_date";s:10:"2025-07-06";s:8:"reminded";b:0;s:6:"amount";d:700;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;}', '', 1001, '114.254.1.137')
09:18:55.632infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=1001) AND ("type"=2)
09:18:55.633traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.633infoyii\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;
09:18:55.636infoyii\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
09:18:55.645traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.645traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:55.645infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (1001, 1001, 2)
09:18:55.648infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" WHERE "contract_id"=3850
09:18:55.648infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001'
09:18:55.648infoyii\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, 'purchaseContractPaymentCollectionRemindReceivers', 3850, 13, 1001, 'now()', '[["\u5218\u4eba\u8bda"]]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u4ed8\u6b3e\u63d0\u9192\u4eba","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u5218\u4eba\u8bda;"]}')
09:18:55.649infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" WHERE "contract_id"=3850
09:18:55.650traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.650infoyii\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_purchase_contract_payment_collection_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:55.652infoyii\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_purchase_contract_payment_collection_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:55.662traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.662traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:55.662infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (3850, 1001) RETURNING "id"
09:18:55.666infoyii\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\PurchaseContractPaymentCollectionRemindReceivers', 1025, 'a:3:{s:2:"id";i:1025;s:11:"contract_id";i:3850;s:7:"user_id";s:4:"1001";}', '', 1001, '114.254.1.137')
09:18:55.667infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850
09:18:55.667traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.667infoyii\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_purchase_contract_payments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:55.670infoyii\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_purchase_contract_payments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:55.678traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.679traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:55.679infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contract_payments" SET "paid_amount"='0' WHERE "contract_id"=3850
09:18:55.679infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=3850
09:18:55.680infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_payments" WHERE ("contract_id"=3850) AND (amount > 0) AND (amount > paid_amount) ORDER BY "collected_date", "created_at"
09:18:55.681infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850
09:18:55.681infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=3850 ORDER BY "id"
09:18:55.682traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.682traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.682traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.682traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.683infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
09:18:55.686infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=982
09:18:55.688infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=982) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:55.707traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.707traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.707infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (982, 1001, 'now()', NULL) RETURNING "id"
09:18:55.708infoyii\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', 165046, 'a:5:{s:2:"id";i:165046;s:9:"client_id";i:982;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.254.1.137')
09:18:55.710infoyii\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', 982, 'a:0:{}', '', 1001, '114.254.1.137')
09:18:55.711infoyii\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', 982, 10, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:55.712infoyii\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', 509784, 'a:13:{s:2:"id";i:509784;s:9:"object_id";i:982;s:11:"object_type";i:10;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:55.713traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.713traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.713infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1018
09:18:55.715infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1018
09:18:55.716infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1018) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:55.719traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.719traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.719infoyii\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', 1018, 'a:1:{s:6:"end_at";s:19:"2022-08-02 11:44:02";}', '', 1001, '114.254.1.137')
09:18:55.720infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
09:18:55.721infoyii\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', 1018, 1, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:55.722infoyii\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', 509785, 'a:13:{s:2:"id";i:509785;s:9:"object_id";i:1018;s:11:"object_type";i:1;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:55.723infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1331
09:18:55.724infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1331
09:18:55.725infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1331) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:55.756infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1331, 5311, 'now()', NULL) RETURNING "id"
09:18:55.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', 165047, 'a:5:{s:2:"id";i:165047;s:9:"client_id";i:1331;s:9:"sales_rep";i:5311;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.254.1.137')
09:18:55.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', 1331, 'a:0:{}', '', 1001, '114.254.1.137')
09:18:55.760infoyii\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', 1331, 10, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:55.761infoyii\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', 509786, 'a:13:{s:2:"id";i:509786;s:9:"object_id";i:1331;s:11:"object_type";i:10;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:55.762infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3404
09:18:55.764infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3404
09:18:55.765infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3404) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:55.767infoyii\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', 3404, 'a:1:{s:6:"end_at";s:19:"2024-02-27 15:10:54";}', '', 1001, '114.254.1.137')
09:18:55.768infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1331
09:18:55.769infoyii\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', 3404, 1, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:55.770infoyii\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', 509787, 'a:13:{s:2:"id";i:509787;s:9:"object_id";i:3404;s:11:"object_type";i:1;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:55.771infoyii\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', 689, 12, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:55.772infoyii\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', 509788, 'a:13:{s:2:"id";i:509788;s:9:"object_id";i:689;s:11:"object_type";i:12;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:55.773traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.773traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:55.773infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/purchase-contract/save-remind-date', '{"PurchaseContracts":{"id":"3850","budget":"4324","purchaseContractPaymentCollectionRemindDates":{"2025-07-04":"600.00","2025-07-05":"500.00","2025-07-06":"700.00"},"purchaseContractPaymentCollectionRemindReceivers":["1001"],"payment_collection_remind_ahead":"1 day"},"web_access_token":"er_liQPTz011rRwTshQzixBLTwcD6PCJ"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u91c7\u8d2d\u5408\u540c\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-07-04 09:18:55') RETURNING "id"
09:18:55.775traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:55.775traceyii\redis\Connection::executeCommandExecuting Redis Command: SET