15:37:49.310 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
15:37:49.310 | trace | yii\base\Module::getModule | Loading module: debug |
15:37:49.310 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
15:37:49.310 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
15:37:49.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
15:37:49.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.311 | trace | yii\base\Module::getModule | Loading module: gii |
15:37:49.311 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
15:37:49.311 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
15:37:49.311 | trace | yii\web\Application::handleRequest | Route requested: 'vue/project/save-edit' |
15:37:49.311 | trace | yii\base\Module::getModule | Loading module: vue |
15:37:49.312 | info | yii\web\Session::open | Session started |
15:37:49.313 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5016 |
15:37:49.313 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
15:37:49.319 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.320 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.320 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.320 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.320 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.322 | trace | yii\base\Controller::runAction | Route to run: vue/project/save-edit |
15:37:49.322 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.323 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
15:37:49.323 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ProjectController::actionSaveEdit() |
15:37:49.323 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3256' |
15:37:49.324 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.325 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.325 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.325 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.326 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Projects'. |
15:37:49.326 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'payment_collection_remind_ahead' in 'app\models\Projects'. |
15:37:49.326 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesContractPaymentCollectionRemindReceivers' in 'app\models\Projects'. |
15:37:49.326 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesContractPaymentCollectionRemindDates' in 'app\models\Projects'. |
15:37:49.326 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3256 |
15:37:49.327 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (1, 164, 179, 142, 184, 200, 356, 374)) ORDER BY "sort" |
15:37:49.328 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.328 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.329 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"=15) AND ("project_title"='虚拟化测试集群') AND ("id" != 3256)) |
15:37:49.330 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"=1) |
15:37:49.330 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15) |
15:37:49.331 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"=4) |
15:37:49.331 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3) |
15:37:49.332 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
15:37:49.332 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.333 | info | yii\db\Command::execute | |
15:37:49.333 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.333 | info | yii\db\Command::execute | |
15:37:49.334 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()', "forecast_updated_at"='now()' WHERE "id"=3256 |
15:37:49.335 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3256) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
15:37:49.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.337 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3256, 'a:0:{}', '', 5016, '124.64.23.198') |
15:37:49.339 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.339 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.340 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.340 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.340 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3256 |
15:37:49.341 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.341 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.341 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3256) |
15:37:49.342 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contracts" SET "save_collection_at"='now()' WHERE "id"=4082 |
15:37:49.343 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4082, 'a:1:{s:18:"save_collection_at";s:5:"now()";}', '', 5016, '124.64.23.198') |
15:37:49.344 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.344 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3256 |
15:37:49.345 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=5016) AND ("type"=1) |
15:37:49.346 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.346 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.346 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (5016, 1004, 1), (5016, 1000, 1), (5016, 5250, 1), (5016, 5016, 1), (5016, 5064, 1) |
15:37:49.347 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4082 |
15:37:49.348 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.348 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.348 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4082 |
15:37:49.349 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 1004) RETURNING "id" |
15:37:49.350 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 8852, 'a:3:{s:2:"id";i:8852;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"1004";}', '', 5016, '124.64.23.198') |
15:37:49.351 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 1000) RETURNING "id" |
15:37:49.352 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 8853, 'a:3:{s:2:"id";i:8853;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"1000";}', '', 5016, '124.64.23.198') |
15:37:49.353 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 5250) RETURNING "id" |
15:37:49.354 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 8854, 'a:3:{s:2:"id";i:8854;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"5250";}', '', 5016, '124.64.23.198') |
15:37:49.354 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 5016) RETURNING "id" |
15:37:49.355 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 8855, 'a:3:{s:2:"id";i:8855;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"5016";}', '', 5016, '124.64.23.198') |
15:37:49.356 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 5064) RETURNING "id" |
15:37:49.357 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 8856, 'a:3:{s:2:"id";i:8856;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"5064";}', '', 5016, '124.64.23.198') |
15:37:49.358 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4082 |
15:37:49.359 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.360 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.360 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.360 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'salesContractPaymentCollectionRemindDates', 3256, 1, 5016, 'now()', '[["2025-08-12 0.9504\u5143"]]', '[[]]', '{"d1":"\u9ad8\u90e1\u9633","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u8ba1\u5212","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 2025-08-12 0.9504\u5143;"]}') |
15:37:49.361 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.362 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.362 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.362 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.362 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'salesContractPaymentCollectionRemindDates', 3256, 1, 5016, 'now()', '[["2025-08-12 0.9504\u5143"]]', '[[]]', array[1004], '{"d1":"\u9ad8\u90e1\u9633","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u8ba1\u5212","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 2025-08-12 0.9504\u5143;"]}') |
15:37:49.363 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4082 |
15:37:49.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.364 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4082) |
15:37:49.364 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "pct", "reminded") VALUES (4082, '2025-08-12', '0.9504', 0.0014, FALSE) RETURNING "id" |
15:37:49.365 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindDates', 2550, 'a:9:{s:2:"id";i:2550;s:11:"contract_id";i:4082;s:11:"remind_date";s:10:"2025-08-12";s:8:"reminded";b:0;s:6:"amount";d:0.95040000000000002;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;s:3:"pct";d:0.0014;}', '', 5016, '124.64.23.198') |
15:37:49.366 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4082 |
15:37:49.367 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4082 |
15:37:49.368 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status" IN (2, 5, 1)) |
15:37:49.368 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status" IN (2, 5, 1)) |
15:37:49.369 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3256 |
15:37:49.370 | info | yii\db\Command::query | SELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4082 |
15:37:49.371 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "collected_plan"='0.9504' WHERE "id"=3256 |
15:37:49.372 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3256) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
15:37:49.373 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3256, 'a:1:{s:14:"collected_plan";s:6:"0.9504";}', '', 5016, '124.64.23.198') |
15:37:49.374 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.374 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4082 |
15:37:49.375 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status" IN (2, 5, 1)) |
15:37:49.375 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status" IN (2, 5, 1)) |
15:37:49.376 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status" IN (2, 5, 1)) |
15:37:49.377 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status"=1)) |
15:37:49.377 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status"=1)) |
15:37:49.378 | info | yii\db\Command::query | SELECT 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"=4082) AND ("t"."status"=1)) |
15:37:49.378 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='67886' WHERE "id"=4082 |
15:37:49.379 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4082, 'a:0:{}', '', 5016, '124.64.23.198') |
15:37:49.381 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.381 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3256 |
15:37:49.382 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3256 |
15:37:49.383 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "collected"='0' WHERE "id"=3256 |
15:37:49.384 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3256) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
15:37:49.385 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3256, 'a:0:{}', '', 5016, '124.64.23.198') |
15:37:49.386 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.386 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.388 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=15 |
15:37:49.389 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=15) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
15:37:49.405 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.405 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.405 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (15, 1004, 'now()', NULL) RETURNING "id" |
15:37:49.407 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 177899, 'a:5:{s:2:"id";i:177899;s:9:"client_id";i:15;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5016, '124.64.23.198') |
15:37:49.408 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 15, 'a:0:{}', '', 5016, '124.64.23.198') |
15:37:49.408 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
15:37:49.409 | info | yii\db\Command::query | INSERT 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', 15, 10, 3256, 1, 5016, '[3256]', '[3256]', '{"d1":"\u9ad8\u90e1\u9633","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u865a\u62df\u5316\u6d4b\u8bd5\u96c6\u7fa4"]}') RETURNING "id" |
15:37:49.410 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 553391, 'a:13:{s:2:"id";i:553391;s:9:"object_id";i:15;s:11:"object_type";i:10;s:9:"target_id";i:3256;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3256]";s:9:"new_value";s:6:"[3256]";s:11:"description";s:125:"{"d1":"\u9ad8\u90e1\u9633","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u865a\u62df\u5316\u6d4b\u8bd5\u96c6\u7fa4"]}";s:10:"created_by";i:5016;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5016, '124.64.23.198') |
15:37:49.411 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
15:37:49.411 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2025-01-01 00:00:00') AND ("bargain_date" <= '2025-12-31 23:59:59') AND ("client_id"=15) |
15:37:49.413 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=15) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
15:37:49.428 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (15, 1004, 'now()', NULL) RETURNING "id" |
15:37:49.429 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 177900, 'a:5:{s:2:"id";i:177900;s:9:"client_id";i:15;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5016, '124.64.23.198') |
15:37:49.430 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 15, 'a:0:{}', '', 5016, '124.64.23.198') |
15:37:49.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
15:37:49.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
15:37:49.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
15:37:49.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
15:37:49.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
15:37:49.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
15:37:49.431 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3256 |
15:37:49.432 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3256) |
15:37:49.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.433 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1560, 'a:0:{}', '', 5016, '124.64.23.198') |
15:37:49.434 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.434 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:37:49.434 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5016, 5, 'vue/project/save-edit', '{"Projects":{"id":"3256","payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["1004","1000","5250","5016","5064"],"salesContractPaymentCollectionRemindDates":[{"remind_date":"2025-08-12","amount":"0.9504","pct":"0.0014"}]},"web_access_token":"4RM83q8EsNpDENhO_BQCdCa8jTBNRgKp"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-08-12 15:37:49') RETURNING "id" |
15:37:49.435 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:37:49.435 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |