Log Messages

总计237条数据
TimeLevelCategoryMessage
 
14:29:52.398traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:29:52.398traceyii\base\Module::getModuleLoading module: debug
14:29:52.399traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:29:52.399traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:29:52.400traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:29:52.400traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.400infotime tracing start1781159392400798976
14:29:52.401traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:29:52.401traceyii\web\Application::handleRequestRoute requested: 'vue/sales-contract/save-edit'
14:29:52.401traceyii\base\Module::getModuleLoading module: vue
14:29:52.402infoyii\web\Session::openSession started
14:29:52.403infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5495
14:29:52.403infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:29:52.404traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.404traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.405traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.405traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.406infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.406traceyii\base\Controller::runActionRoute to run: vue/sales-contract/save-edit
14:29:52.407traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.408traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:29:52.408traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: updateSalesContract
14:29:52.408traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:29:52.408traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Treasurer
14:29:52.408traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\SalesContractController::actionSaveEdit()
14:29:52.408infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contracts" WHERE "id"='8'
14:29:52.409traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.409traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.409traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.410traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'project_name' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'budget' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'profit' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'profit_pct' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'project_product_version_id' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPayments' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPaymentCollectionRemindDates' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractPaymentCollectionRemindReceivers' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractFileList' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectContactPoints' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectContactPointRels' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'serviceContractRemindDates' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesSupplierRels' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectProductRels' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractInvoices' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'projectProductTypes' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'salesContractRemindReceivers' in 'app\models\SalesContracts'.
14:29:52.411traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'serviceContractRemindReceivers' in 'app\models\SalesContracts'.
14:29:52.411infoyii\db\Command::querySELECT "id" FROM "o6a13e2c574d5a"."tbl_sales_contracts" WHERE "serial_no"='2026-05-27-001' LIMIT 2
14:29:52.412infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"='1')
14:29:52.413infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_contract_types" WHERE "id"='1')
14:29:52.413infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"='1')
14:29:52.413infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5493)
14:29:52.414infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5493)
14:29:52.414infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1)
14:29:52.415traceyii\db\Transaction::beginBegin transaction
14:29:52.415traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.415traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.415infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.416infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_product_types" WHERE "project_id"=1
14:29:52.416traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.417traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.417infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_project_product_types" WHERE "project_id"=1
14:29:52.417traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.417traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.417infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_product_types" WHERE "id"=1
14:29:52.418infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (1, 1, '防火墙', '10000', 60, '12000')
14:29:52.419infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_contact_points" WHERE "project_id"=1
14:29:52.419infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_project_contact_points" WHERE "project_id"=1
14:29:52.420infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_contact_point_rels" WHERE "project_id"=1
14:29:52.420infoyii\db\Command::querySELECT "id" FROM "o6a13e2c574d5a"."tbl_project_contact_point_rels" WHERE "project_id"=1
14:29:52.421infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_project_contact_point_rels" WHERE 0=1
14:29:52.421infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_product_rels" WHERE "project_id"=1 ORDER BY "id"
14:29:52.421traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.422traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.422traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.422traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.422infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_products" WHERE "id"=1
14:29:52.423infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_products" WHERE "id"='1'
14:29:52.423infoyii\db\Command::querySELECT "id" FROM "o6a13e2c574d5a"."tbl_project_product_rels" WHERE "project_id"=1
14:29:52.423infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_product_rels" WHERE "id"=3
14:29:52.424infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_project_product_rels" SET "product_id"=1, "amount"='10000', "number"=1, "supplier_id"=NULL, "hardware_from"=NULL, "software_from"=NULL, "maintenance_from"=NULL, "hardware_to"=NULL, "software_to"=NULL, "maintenance_to"=NULL WHERE "id"=3
14:29:52.425traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.425traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.425infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ProjectProductRels', 3, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.426infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_project_product_rels" WHERE 0=1
14:29:52.428infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_projects" SET "budget"='10000', "profit_pct"='60', "project_product_version_id"=2 WHERE "id"=1
14:29:52.429infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_change_logs" WHERE ("project_id"=1) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:29:52.429traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.430traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.430infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 1, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.430infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.431traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.431traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.432infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_erp_sales_orders" WHERE "sales_contract_id"=8 ORDER BY "id" DESC
14:29:52.432traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.432traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.432infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.433infoyii\db\Command::execute
14:29:52.433infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_erp_sales_orders" SET "number"='1', "amount"='10000' WHERE "id"=1
14:29:52.434infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.436infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_projects" SET "contract_type"=1 WHERE "id"=1
14:29:52.437infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_change_logs" WHERE ("project_id"=1) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:29:52.438infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 1, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.438infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.439infoyii\db\Command::querySELECT "id" FROM "o6a13e2c574d5a"."tbl_sales_contract_invoices" WHERE "contract_id"=8
14:29:52.439traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.439traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.440infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contract_invoices" WHERE "id"=1
14:29:52.440infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_type"=20) AND ("object_id"=1)
14:29:52.441infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_type"=102) AND ("object_id"=1)
14:29:52.441infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_invoice_amounts" WHERE "sales_invoice_id"=1 ORDER BY "id"
14:29:52.442traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.442traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.442infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.443traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.443traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.443infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'amount', 1, 107, 5495, 'now()', '[1111]', '[111]', '{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u603b\u989d","d4":["111 <b>\u53d8\u4e3a<\/b> 1111"]}')
14:29:52.444infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_sales_contracts" WHERE "id"=8)
14:29:52.445infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_sales_contract_invoices" SET "amount"='1111', "created_at"='now()' WHERE "id"=1
14:29:52.445infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContractInvoices', 1, 'a:1:{s:6:"amount";d:1111;}', '', 5495, '39.156.194.178')
14:29:52.446infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_type"=20) AND ("object_id"=1)
14:29:52.446infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_type"=102) AND ("object_id"=1)
14:29:52.446infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_sales_invoice_amounts" WHERE "sales_invoice_id"=1
14:29:52.447infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_sales_invoice_amounts" ("sales_invoice_id", "amount", "tax_rate") VALUES (1, '1111', 13)
14:29:52.447infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.448infoyii\db\Command::queryINSERT INTO "o6a13e2c574d5a"."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', 1, 10, 8, 7, 5495, '[8]', '[8]', '{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-05-27-001"]}') RETURNING "id"
14:29:52.450infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 183, 'a:13:{s:2:"id";i:183;s:9:"object_id";s:1:"1";s:11:"object_type";i:10;s:9:"target_id";i:8;s:18:"target_object_type";i:7;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:3:"[8]";s:9:"new_value";s:3:"[8]";s:11:"description";s:140:"{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-05-27-001"]}";s:10:"created_by";i:5495;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5495, '39.156.194.178')
14:29:52.450infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.451infoyii\db\Command::queryINSERT INTO "o6a13e2c574d5a"."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', 1, 1, 1, 107, 5495, '[1]', '[1]', '{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u53d1\u7968\u4fe1\u606f","d4":[""]}') RETURNING "id"
14:29:52.452infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 184, 'a:13:{s:2:"id";i:184;s:9:"object_id";s:1:"1";s:11:"object_type";i:1;s:9:"target_id";i:1;s:18:"target_object_type";i:107;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:3:"[1]";s:9:"new_value";s:3:"[1]";s:11:"description";s:101:"{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u53d1\u7968\u4fe1\u606f","d4":[""]}";s:10:"created_by";i:5495;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5495, '39.156.194.178')
14:29:52.452infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"='1'
14:29:52.453infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.454traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.454traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.454infoyii\db\Command::queryINSERT INTO "o6a13e2c574d5a"."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', 1, 1, 1, 107, 5495, '1', '1', array[5493], '{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u53d1\u7968\u4fe1\u606f","d4":[""]}') RETURNING "id"
14:29:52.455infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 22, 'a:15:{s:2:"id";i:22;s:9:"object_id";s:1:"1";s:11:"object_type";i:1;s:9:"target_id";i:1;s:18:"target_object_type";i:107;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:1:"1";s:9:"new_value";s:1:"1";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[5493]";s:6:"params";a:0:{}}s:11:"description";s:101:"{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u53d1\u7968\u4fe1\u606f","d4":[""]}";s:10:"created_by";i:5495;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 5495, '39.156.194.178')
14:29:52.456infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495
14:29:52.456infoyii\db\Command::queryINSERT INTO "o6a13e2c574d5a"."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', 8, 7, 1, 107, 5495, '[1]', '[1]', '{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u53d1\u7968\u4fe1\u606f","d4":[""]}') RETURNING "id"
14:29:52.457infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 185, 'a:13:{s:2:"id";i:185;s:9:"object_id";i:8;s:11:"object_type";i:7;s:9:"target_id";i:1;s:18:"target_object_type";i:107;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:3:"[1]";s:9:"new_value";s:3:"[1]";s:11:"description";s:101:"{"d1":"\u903b\u8f91\u6d4b\u8bd5","d2":"\u66f4\u65b0\u4e86","d3":"\u53d1\u7968\u4fe1\u606f","d4":[""]}";s:10:"created_by";i:5495;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5495, '39.156.194.178')
14:29:52.458infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"='1'
14:29:52.458traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.459traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.459infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contracts" WHERE "id"=8
14:29:52.459infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.460infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.461infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495)
14:29:52.461infoyii\db\Command::queryINSERT INTO "o6a13e2c574d5a"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (5495, '7', 8, TRUE, '逻辑测试编辑了:2026-05-27-001发票信息2026-06-11¥1111', '商机:销售线索生成20260527001;客户:逻辑测试-销售合同') RETURNING "id"
14:29:52.462infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 55, 'a:11:{s:2:"id";i:55;s:9:"object_id";i:8;s:11:"object_type";s:1:"7";s:6:"parent";N;s:11:"description";s:67:"逻辑测试编辑了:2026-05-27-001发票信息2026-06-11¥1111";s:10:"created_by";i:5495;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:75:"商机:销售线索生成20260527001;客户:逻辑测试-销售合同";}', '', 5495, '39.156.194.178')
14:29:52.463traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.463traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.463infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8, '7', 55, 5493)
14:29:52.464infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=5493) AND ("id" != 5495) AND (channel_id IS NOT NULL)
14:29:52.464infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contract_invoices" WHERE 0=1
14:29:52.465infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_sales_contract_invoices" WHERE 0=1
14:29:52.465infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.465infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_invoices" WHERE "project_id"=1
14:29:52.466infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contract_invoices" WHERE "contract_id"=8
14:29:52.466traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.467traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.467infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_invoices" ("project_id", "created_by", "amount", "client_id") VALUES (1, 5495, '1111', 1)
14:29:52.467infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_erp_sales_orders" WHERE "sales_contract_id"=8 ORDER BY "id" DESC
14:29:52.468infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1)
14:29:52.469infoyii\db\Command::execute
14:29:52.469infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_sales_contracts" SET "client_id"=1, "amount"='10000', "updated_at"='now()', "contract_scan"=NULL, "receipt_scan"=NULL, "contract_type"=1, "project_id"=1, "expire_date"=NULL, "remind_ahead"='0 day', "expire_remind_ahead"='0 day', "including_tax"=TRUE, "is_settle"=FALSE, "is_deliver"=FALSE, "is_draft"=TRUE WHERE "id"=8
14:29:52.470infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 8, 'a:2:{s:12:"remind_ahead";s:5:"0 day";s:19:"expire_remind_ahead";s:5:"0 day";}', '', 5495, '39.156.194.178')
14:29:52.470infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"='1'
14:29:52.471infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"='1'
14:29:52.471infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_supplier_rels" WHERE "contract_id"=8
14:29:52.472infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_sales_supplier_rels" WHERE "contract_id"=8
14:29:52.472infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_purchase_client_rels" WHERE "project_id"=1
14:29:52.473infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_type"=105) AND ("object_id"=8)
14:29:52.473traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.473traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.473infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_type"=105) AND ("object_id"=8)
14:29:52.474infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (105, 8, 2)
14:29:52.474infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contract_remind_receivers" WHERE "contract_id"=8
14:29:52.475infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_sales_contract_remind_receivers" WHERE "contract_id"=8
14:29:52.475infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=8
14:29:52.475traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.476traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.476infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=8
14:29:52.476infoyii\db\Command::queryINSERT INTO "o6a13e2c574d5a"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (8, 5493) RETURNING "id"
14:29:52.477infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 5, 'a:3:{s:2:"id";i:5;s:11:"contract_id";i:8;s:7:"user_id";s:4:"5493";}', '', 5495, '39.156.194.178')
14:29:52.477infoyii\db\Command::querySELECT "remind_date" FROM "o6a13e2c574d5a"."tbl_service_contract_remind_dates" WHERE "contract_id"=8
14:29:52.478infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_service_contract_remind_dates" WHERE ("contract_id"=8) AND (0=1)
14:29:52.478infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_service_contract_remind_receivers" WHERE "contract_id"=8
14:29:52.479infoyii\db\Command::executeDELETE FROM "o6a13e2c574d5a"."tbl_service_contract_remind_receivers" WHERE "contract_id"=8
14:29:52.479infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contracts" WHERE "id"=8
14:29:52.480infoyii\db\Command::querySELECT SUM(r.amount) FROM "o6a13e2c574d5a"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5))
14:29:52.480infoyii\db\Command::querySELECT SUM(r.amount) FROM "o6a13e2c574d5a"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status" IN (2, 5))
14:29:52.482infoyii\db\Command::querySELECT SUM(r.amount) FROM "o6a13e2c574d5a"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:29:52.483infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "o6a13e2c574d5a"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status"=1))
14:29:52.483infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "o6a13e2c574d5a"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status"=1))
14:29:52.484infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "o6a13e2c574d5a"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status"=1))
14:29:52.484infoyii\db\Command::querySELECT SUM(r.amount) FROM "o6a13e2c574d5a"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (1, 2, 5))
14:29:52.485infoyii\db\Command::querySELECT SUM(r.amount) FROM "o6a13e2c574d5a"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status" IN (1, 2, 5))
14:29:52.486infoyii\db\Command::querySELECT SUM(r.amount) FROM "o6a13e2c574d5a"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status" IN (1, 2, 5))
14:29:52.486infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='10000', "erp_all_settle_amount"='0' WHERE "id"=8
14:29:52.487infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 8, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.488infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.488infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.489infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.491infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_projects" SET "collected"='0' WHERE "id"=1
14:29:52.491infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_change_logs" WHERE ("project_id"=1) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:29:52.492infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 1, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.492infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.494infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_status_logs" WHERE "project_id"=1 ORDER BY "created_at" DESC
14:29:52.495traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.495traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.495infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contracts" WHERE "id"=8
14:29:52.496traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.496traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.496infoyii\db\Command::executeUPDATE "o6a13e2c574d5a"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=8
14:29:52.497infoyii\db\Command::querySELECT r.amount, t.created_at FROM "o6a13e2c574d5a"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status" IN (2, 5, 1))
14:29:52.497infoyii\db\Command::querySELECT r.amount, t.wrote_date as created_at FROM "o6a13e2c574d5a"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "o6a13e2c574d5a"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=8) AND ("t"."status" IN (2, 5, 1))
14:29:52.498infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.498infoyii\db\Command::querySELECT SUM(amount) FROM "o6a13e2c574d5a"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=8
14:29:52.500infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_project_change_logs" WHERE ("project_id"=1) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:29:52.502infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 1, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.503infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.503infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=8) AND (amount > paid_amount) ORDER BY "remind_date"
14:29:52.504infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_id"=8) AND ("object_type"=106))
14:29:52.504infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_id"=8) AND ("object_type"=107))
14:29:52.505infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_attachement_relationships" WHERE ("object_id"=8) AND ("object_type"=105))
14:29:52.505infoyii\db\Command::executeINSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 8, 'a:0:{}', '', 5495, '39.156.194.178')
14:29:52.506infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE "id"=1
14:29:52.507infoyii\db\Command::querySELECT * FROM "o6a13e2c574d5a"."tbl_projects" WHERE "id"=1
14:29:52.507traceyii\db\Transaction::commitCommit transaction
14:29:52.510traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.510traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:29:52.510infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'o6a13e2c574d5a', 5495, 5, 'vue/sales-contract/save-edit', '{"SalesContracts":{"id":"8","client_id":"1","project_id":"1","project_name":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260527001","amount":"10000","contract_scan":"","receipt_scan":"","contract_type":"1","serial_no":"2026-05-27-001","signed_at":"2026-05-27","budget":"10000","profit":"6000","profit_pct":"60","description":"","expire_date":"","expire_remind_ahead":"","project_product_version_id":"2","salesContractPayments":{"new":[""]},"salesContractPaymentCollectionRemindDates":{"2026-05-29":"10000"},"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5493"],"sla":"","including_tax":"1","remind_ahead":"","contractFileList":{"2":"\u91d1\u7545\u900d\u4f7f\u7528\u6d41\u7a0b\u56fe.pdf"},"contractScans":["2"],"is_draft":"1","is_settle":"0","is_deliver":"0","is_outbound":"0","client_name":"\u903b\u8f91\u6d4b\u8bd5-\u9500\u552e\u5408\u540c","projectContactPoints":"","projectContactPointRels":"","serviceContractRemindDates":"","salesSupplierRels":"","projectProductRels":{"3":{"product_id":"1","amount":"10000","total_amount":"10000","number":"1","description":"","hardware_from":"","hardware_to":"","maintenance_from":"","maintenance_to":"","software_from":"","software_to":"","supplier_id":""}},"salesContractInvoices":{"1":{"id":"1","files":"","from_date":"2026-06-11","salesInvoiceAmounts":[{"amount":"1111","tax_rate":"13"}],"description":""}},"projectProductTypes":{"1":{"budget":"10000","profit":"12000","pct":"60"}},"salesContractRemindReceivers":"","serviceContractRemindReceivers":""},"web_access_token":"fBwCmd7csXIYKc0xRKne9r8J7AW22Ivz"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u5408\u540c\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-11 14:29:52', 109847040) RETURNING "id"
14:29:52.512traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:29:52.512traceyii\redis\Connection::executeCommandExecuting Redis Command: SET