Log Messages

总计268条数据
TimeLevelCategoryMessage
 
15:51:16.426traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:51:16.426traceyii\base\Module::getModuleLoading module: debug
15:51:16.427traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:51:16.427traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:51:16.427traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:51:16.427traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.427traceyii\base\Module::getModuleLoading module: gii
15:51:16.427traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
15:51:16.428traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:51:16.428traceyii\web\Application::handleRequestRoute requested: 'vue/erp-collect-ticket/save-edit'
15:51:16.428traceyii\base\Module::getModuleLoading module: vue
15:51:16.428infoyii\web\Session::openSession started
15:51:16.428infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:51:16.428infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:51:16.433traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.433traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.433traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.434traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.434infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.435traceyii\base\Controller::runActionRoute to run: vue/erp-collect-ticket/save-edit
15:51:16.436traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.437traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:51:16.437traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpCollectTicketController::actionSaveEdit()
15:51:16.437infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_tickets" WHERE "id"='2031'
15:51:16.437traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.437traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.438traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.438traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.439infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_verify_rels" WHERE ("status" != 0) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.440traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: updateErpCollectTicket
15:51:16.440traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'auto_id' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'auto_name' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'auto_type' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'handler_name' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'supplier_name' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'user_name' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contact_name' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'files' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpCollectTicketVerifyRels' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpCollectTicketBankIns' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpCollectTicketPayments' in 'app\models\ErpCollectTickets'.
15:51:16.440traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpCollectTicketSettles' in 'app\models\ErpCollectTickets'.
15:51:16.440infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_erp_collect_tickets" WHERE "serial_no"='SKD-20250915-00010' LIMIT 2
15:51:16.442infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001')
15:51:16.442infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1661')
15:51:16.443infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:51:16.443infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.444infoyii\db\Command::execute
15:51:16.444infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_collect_tickets" SET "handler"=1001, "user_id"=NULL, "client_id"=1661, "supplier_id"=NULL, "contact_id"=NULL WHERE "id"=2031
15:51:16.445traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.445traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.445infoyii\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\ErpCollectTickets', 2031, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.446infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20022) AND ("object_id"=2031)
15:51:16.449infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20022) AND ("object_id"=2031)
15:51:16.451infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_verify_rels" WHERE "erp_collect_ticket_id"=2031 ORDER BY "id"
15:51:16.451traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.451traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.451infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5388
15:51:16.451infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.452traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.452traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.452infoyii\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, 'erpCollectTicketVerifyRels', 2031, 20013, 1001, 'now()', '[[]]', '[["\u6768\u71d5\u971e"]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u4eba","d4":["\u6768\u71d5\u971e; <b>\u53d8\u4e3a<\/b> (\u672a\u8bbe\u7f6e)"]}')
15:51:16.453infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_collect_ticket_verify_rels" WHERE "erp_collect_ticket_id"=2031
15:51:16.454infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_carbon_copy_rels" WHERE "erp_collect_ticket_id"=2031
15:51:16.454infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_collect_ticket_carbon_copy_rels" WHERE "erp_collect_ticket_id"=2031
15:51:16.455infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE "erp_collect_ticket_id"=2031
15:51:16.456traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.456infoyii\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_erp_collect_ticket_settles' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:51:16.460infoyii\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_erp_collect_ticket_settles' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:51:16.465traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.465traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:51:16.465infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_collect_ticket_settles" ("erp_collect_ticket_id", "sales_contract_id", "purchase_contract_id", "erp_other_income_ticket_id", "erp_other_collect_ticket_id", "amount") VALUES (2031, 4140, NULL, NULL, NULL, '88') RETURNING "id"
15:51:16.467infoyii\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\ErpCollectTicketSettles', 2036, 'a:8:{s:2:"id";i:2036;s:21:"erp_collect_ticket_id";i:2031;s:17:"sales_contract_id";s:4:"4140";s:20:"purchase_contract_id";s:0:"";s:26:"erp_other_income_ticket_id";s:0:"";s:27:"erp_other_collect_ticket_id";s:0:"";s:6:"amount";s:2:"88";s:11:"description";N;}', '', 1001, '114.246.237.213')
15:51:16.468infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" WHERE "erp_collect_ticket_id"=2031 ORDER BY "id"
15:51:16.468traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.468traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.468traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.469traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.469infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
15:51:16.469infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"='1'
15:51:16.469infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" WHERE "erp_collect_ticket_id"=2031
15:51:16.470infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" ("erp_collect_ticket_id", "erp_bank_id", "amount", "description") VALUES (2031, 1, '88', '')
15:51:16.471infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_collect_ticket_payments" WHERE "erp_collect_ticket_id"=2031
15:51:16.472infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_collect_tickets" SET "amount"='88' WHERE "id"=2031
15:51:16.472infoyii\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\ErpCollectTickets', 2031, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.473infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_verify_rels" WHERE ("erp_collect_ticket_id"=2031) AND ("status"=0) ORDER BY "id"
15:51:16.474infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_collect_tickets" SET "next_verify_user"=NULL, "updated_at"='now()' WHERE "id"=2031
15:51:16.474infoyii\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\ErpCollectTickets', 2031, 'a:1:{s:16:"next_verify_user";i:5388;}', '', 1001, '114.246.237.213')
15:51:16.475infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_tickets" WHERE "id"=2031
15:51:16.476infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" WHERE "erp_collect_ticket_id"=2031 ORDER BY "id"
15:51:16.476infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
15:51:16.476infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_income_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_income_tickets" "t" ON r.erp_other_income_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.477infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.478infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.479infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.481infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_advance_payment_tickets" "t" ON r.erp_advance_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.482infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_payment_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_payment_tickets" "t" ON r.erp_other_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.483infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.484infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.484infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.485infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_social_insurance_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_social_insurances" "t" ON r.erp_social_insurance_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.486infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_provident_fund_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_provident_funds" "t" ON r.erp_provident_fund_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.487infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_personal_tax_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_personal_taxs" "t" ON r.erp_personal_tax_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.487infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_prize_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_prizes" "t" ON r.erp_wage_prize_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.488infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_tickets" "t" ON r.erp_wage_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.489infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='115234.97' WHERE "id"=1
15:51:16.490infoyii\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\ErpBanks', 1, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.491infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
15:51:16.491infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71
15:51:16.492traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.492traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.492infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_account_captions" SET "created_at"='2025-08-01 23:14:45', "updated_at"='2025-08-08 18:50:15' WHERE "id"=71
15:51:16.493infoyii\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\ErpAccountCaptions', 71, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.494infoyii\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\ErpBanks', 1, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.494infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (purchase_contract_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.495infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (sales_contract_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.495infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4140
15:51:16.496traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.496traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.496infoyii\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"=4140) AND ("t"."status" IN (2, 5))
15:51:16.497infoyii\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"=4140) AND ("t"."status" IN (2, 5))
15:51:16.497infoyii\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"=4140) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.498infoyii\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"=4140) AND ("t"."status"=1))
15:51:16.499infoyii\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"=4140) AND ("t"."status"=1))
15:51:16.499infoyii\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"=4140) AND ("t"."status"=1))
15:51:16.500infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='788888' WHERE "id"=4140
15:51:16.501infoyii\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', 4140, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.501infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.502traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.502traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.503infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.503traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.503traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.504infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.505infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "collected"='0' WHERE "id"=3959
15:51:16.506infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3959) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:51:16.508traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.508traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.508infoyii\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', 3959, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.509infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.509infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4140
15:51:16.509traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.510traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.510infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4140
15:51:16.510infoyii\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"=4140) AND ("t"."status" IN (2, 5, 1))
15:51:16.511infoyii\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"=4140) AND ("t"."status" IN (2, 5, 1))
15:51:16.511infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.511infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4140
15:51:16.512infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3959) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:51:16.514infoyii\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', 3959, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.515infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.515infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4140) AND (amount > paid_amount) ORDER BY "remind_date"
15:51:16.516infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (erp_other_income_ticket_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.516infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (erp_other_collect_ticket_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.516infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_payments" WHERE "erp_collect_ticket_id"=2031 ORDER BY "id"
15:51:16.517infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.517infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.518infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_collect_tickets" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=2031
15:51:16.518infoyii\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\ErpCollectTickets', 2031, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '114.246.237.213')
15:51:16.519infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" WHERE "erp_collect_ticket_id"=2031 ORDER BY "id"
15:51:16.520infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
15:51:16.520infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_income_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_income_tickets" "t" ON r.erp_other_income_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.520infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.521infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.521infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.523infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_advance_payment_tickets" "t" ON r.erp_advance_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.524infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_payment_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_payment_tickets" "t" ON r.erp_other_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.524infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.524infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.525infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.525infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_social_insurance_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_social_insurances" "t" ON r.erp_social_insurance_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.526infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_provident_fund_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_provident_funds" "t" ON r.erp_provident_fund_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.526infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_personal_tax_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_personal_taxs" "t" ON r.erp_personal_tax_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.527infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_prize_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_prizes" "t" ON r.erp_wage_prize_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.527infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_tickets" "t" ON r.erp_wage_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
15:51:16.527infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='115322.97' WHERE "id"=1
15:51:16.528infoyii\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\ErpBanks', 1, 'a:1:{s:14:"balance_amount";d:115322.96999999962;}', '', 1001, '114.246.237.213')
15:51:16.529infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
15:51:16.529infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71
15:51:16.530infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_account_captions" SET "balance_amount"='115322.97', "created_at"='2025-08-01 23:14:45', "updated_at"='2025-08-08 18:50:15' WHERE "id"=71
15:51:16.531infoyii\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\ErpAccountCaptions', 71, 'a:1:{s:14:"balance_amount";s:9:"115322.97";}', '', 1001, '114.246.237.213')
15:51:16.532infoyii\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\ErpBanks', 1, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.532infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (purchase_contract_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.533infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (sales_contract_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.533infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4140
15:51:16.534infoyii\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"=4140) AND ("t"."status" IN (2, 5))
15:51:16.534infoyii\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"=4140) AND ("t"."status" IN (2, 5))
15:51:16.535infoyii\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"=4140) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:51:16.535infoyii\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"=4140) AND ("t"."status"=1))
15:51:16.536infoyii\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"=4140) AND ("t"."status"=1))
15:51:16.536infoyii\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"=4140) AND ("t"."status"=1))
15:51:16.537infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='88', "erp_un_settle_amount"='788800', "erp_collect_ticket_is_verify"=FALSE WHERE "id"=4140
15:51:16.538infoyii\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', 4140, 'a:2:{s:17:"erp_settle_amount";i:88;s:20:"erp_un_settle_amount";i:788800;}', '', 1001, '114.246.237.213')
15:51:16.538infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.539infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.539infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.540infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "collected"='88' WHERE "id"=3959
15:51:16.541infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3959) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:51:16.542infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=16815
15:51:16.544infoyii\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\ProjectChangeLogs', 16815, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '114.246.237.213')
15:51:16.545infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (3959, 3, '788888', '99.98', '88', 'now()', NULL) RETURNING "id"
15:51:16.549infoyii\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\ProjectChangeLogs', 16817, 'a:8:{s:2:"id";i:16817;s:10:"project_id";i:3959;s:14:"project_status";i:3;s:6:"budget";s:6:"788888";s:10:"profit_pct";s:5:"99.98";s:9:"collected";i:88;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.246.237.213')
15:51:16.550infoyii\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', 3959, 'a:1:{s:9:"collected";i:88;}', '', 1001, '114.246.237.213')
15:51:16.551infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.551infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4140
15:51:16.552infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4140
15:51:16.552infoyii\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"=4140) AND ("t"."status" IN (2, 5, 1))
15:51:16.552infoyii\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"=4140) AND ("t"."status" IN (2, 5, 1))
15:51:16.553infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.553infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4140
15:51:16.554infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3959) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:51:16.556infoyii\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', 3959, 'a:0:{}', '', 1001, '114.246.237.213')
15:51:16.556infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.557infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4140) AND (amount > paid_amount) ORDER BY "remind_date"
15:51:16.557infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (erp_other_income_ticket_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.558infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (erp_other_collect_ticket_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.558infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_payments" WHERE "erp_collect_ticket_id"=2031 ORDER BY "id"
15:51:16.558infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_tickets" WHERE "id"=2031
15:51:16.559traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.559traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.559infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20013, 'SKD-20250915-00010', '2025-09-15', '', '对方的身份', '88', 1661, NULL, NULL, NULL, 1001, '2025-09-15 15:50:37', '2025-09-15 15:51:16', 2031, '2025-09-15 15:51:16.518149+08') RETURNING "id"
15:51:16.561infoyii\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\ErpTicketChangeLogs', 532, 'a:17:{s:2:"id";i:532;s:9:"serial_no";s:18:"SKD-20250915-00010";s:11:"ticket_type";i:20013;s:10:"wrote_date";s:10:"2025-09-15";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:1661;s:8:"abstract";s:15:"对方的身份";s:11:"description";s:0:"";s:9:"verify_at";s:29:"2025-09-15 15:51:16.518149+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-09-15 15:50:37";s:10:"updated_at";s:19:"2025-09-15 15:51:16";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:2:"88";s:9:"object_id";i:2031;}', '', 1001, '114.246.237.213')
15:51:16.562traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.562traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.562infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (532, 1001)
15:51:16.568infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" WHERE (sales_contract_id is not null) AND ("erp_collect_ticket_id"=2031) ORDER BY "id"
15:51:16.569infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4140
15:51:16.569infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.570infoyii\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', 1661, 10, 4140, 7, 1001, '[4140]', '[4140]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-09-11-001"]}') RETURNING "id"
15:51:16.571infoyii\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', 565404, 'a:13:{s:2:"id";i:565404;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:4140;s:18:"target_object_type";i:7;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4140]";s:9:"new_value";s:6:"[4140]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-09-11-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
15:51:16.571infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.572infoyii\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', 3959, 1, 2031, 20013, 1001, '[2031]', '[2031]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[""]}') RETURNING "id"
15:51:16.573infoyii\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', 565405, 'a:13:{s:2:"id";i:565405;s:9:"object_id";i:3959;s:11:"object_type";i:1;s:9:"target_id";i:2031;s:18:"target_object_type";i:20013;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[2031]";s:9:"new_value";s:6:"[2031]";s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
15:51:16.574infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.574infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.575traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.575infoyii\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_user_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:51:16.578infoyii\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_user_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:51:16.582traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.582traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:51:16.582infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 3959, 1, 2031, 20013, 1001, '2031', '2031', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[""]}') RETURNING "id"
15:51:16.588infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 152362, 'a:15:{s:2:"id";i:152362;s:9:"object_id";i:3959;s:11:"object_type";i:1;s:9:"target_id";i:2031;s:18:"target_object_type";i:20013;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"2031";s:9:"new_value";s:4:"2031";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '114.246.237.213')
15:51:16.589infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:51:16.589infoyii\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', 4140, 7, 2031, 20013, 1001, '[2031]', '[2031]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[""]}') RETURNING "id"
15:51:16.590infoyii\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', 565406, 'a:13:{s:2:"id";i:565406;s:9:"object_id";i:4140;s:11:"object_type";i:7;s:9:"target_id";i:2031;s:18:"target_object_type";i:20013;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[2031]";s:9:"new_value";s:6:"[2031]";s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
15:51:16.591infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.592traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.592traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.592infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4140
15:51:16.592infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3959
15:51:16.593infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
15:51:16.593infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:51:16.594infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '7', 4140, TRUE, '刘人诚编辑了:2025-09-11-001收款信息2025-09-15¥88', '商机:吉德科娃;客户:北京网信元科技有限公司') RETURNING "id"
15:51:16.595infoyii\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', 191359, 'a:11:{s:2:"id";i:191359;s:9:"object_id";i:4140;s:11:"object_type";s:1:"7";s:6:"parent";N;s:11:"description";s:62:"刘人诚编辑了:2025-09-11-001收款信息2025-09-15¥88";s:10:"created_by";i:1001;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:66:"商机:吉德科娃;客户:北京网信元科技有限公司";}', '', 1001, '114.246.237.213')
15:51:16.596infoyii\db\Command::execute
15:51:16.596infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 1001) AND (channel_id IS NOT NULL)
15:51:16.596traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.596traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.596infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=20000) AND ("visit_date"='2025-09-15')
15:51:16.600traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.600traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:51:16.600infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=1365, "last_visit_at"='now()' WHERE "id"=56557
15:51:16.601infoyii\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/erp-collect-ticket/save-edit', '{"ErpCollectTickets":{"id":"2031","auto_id":"1661","auto_name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","auto_type":"client","handler":"1001","handler_name":"\u5218\u4eba\u8bda","wrote_date":"2025-09-15","serial_no":"SKD-20250915-00010","abstract":"\u5bf9\u65b9\u7684\u8eab\u4efd","description":"","client_id":"1661","client_name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","supplier_id":"","supplier_name":"","user_id":"","user_name":"","contact_id":"","contact_name":"","files":"","erpCollectTicketVerifyRels":"","erpCollectTicketBankIns":[{"amount":"88","id":"1","description":""}],"erpCollectTicketPayments":"","erpCollectTicketSettles":[{"purchase_contract_id":"","sales_contract_id":"4140","erp_other_income_ticket_id":"","erp_other_collect_ticket_id":"","amount":"88","erpCollectTicketApprovePaymentSettles":""}]},"web_access_token":"S7OJrULURAq348jTGnVvRiAMpe10N7Zn"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u6536\u6b3e\u5355\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-09-15 15:51:16') RETURNING "id"
15:51:16.603traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:51:16.603traceyii\redis\Connection::executeCommandExecuting Redis Command: SET