| 11:21:31.137 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 11:21:31.137 | trace | yii\base\Module::getModule | Loading module: debug |
| 11:21:31.137 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 11:21:31.137 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 11:21:31.137 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 11:21:31.137 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.138 | info | time tracing start | 1780629691138118912 |
| 11:21:31.138 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 11:21:31.138 | trace | yii\web\Application::handleRequest | Route requested: 'vue/project/save-edit' |
| 11:21:31.138 | trace | yii\base\Module::getModule | Loading module: vue |
| 11:21:31.138 | info | yii\web\Session::open | Session started |
| 11:21:31.139 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 11:21:31.139 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 11:21:31.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.140 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 11:21:31.141 | trace | yii\base\Controller::runAction | Route to run: vue/project/save-edit |
| 11:21:31.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.142 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 11:21:31.142 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ProjectController::actionSaveEdit() |
| 11:21:31.142 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4146' |
| 11:21:31.143 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.143 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.143 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.144 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.145 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Projects'. |
| 11:21:31.145 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=4146 |
| 11:21:31.145 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (1, 164, 172, 185, 191, 369, 350)) ORDER BY "sort" |
| 11:21:31.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.146 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"=93) AND ("project_title"='飞塔零信任新购') AND ("id" != 4146)) |
| 11:21:31.147 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"=1) |
| 11:21:31.147 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=93) |
| 11:21:31.148 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"=3) |
| 11:21:31.148 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='4') |
| 11:21:31.148 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1005) |
| 11:21:31.149 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1005) |
| 11:21:31.149 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=4146) |
| 11:21:31.150 | trace | yii\db\Transaction::begin | Begin transaction |
| 11:21:31.150 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 11:21:31.151 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.151 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.151 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='4' |
| 11:21:31.151 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2 |
| 11:21:31.152 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.152 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.152 | 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, 'project_status', 4146, 1, 1001, 'now()', '["\u5546\u673a\u5931\u8d25"]', '["\u660e\u786e\u9700\u6c42"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u660e\u786e\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u5546\u673a\u5931\u8d25"]}') |
| 11:21:31.159 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='4' |
| 11:21:31.159 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2 |
| 11:21:31.159 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=93 |
| 11:21:31.160 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.160 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.160 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.161 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.161 | 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, 'project_status', 4146, 1, 1001, 'now()', '["\u5546\u673a\u5931\u8d25"]', '["\u660e\u786e\u9700\u6c42"]', array[1005], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u660e\u786e\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u5546\u673a\u5931\u8d25"]}') |
| 11:21:31.169 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.169 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.169 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "old_status", "new_status", "created_by", "created_at") VALUES (4146, 2, 4, 1001, 'now()') RETURNING "id" |
| 11:21:31.174 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.174 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.174 | 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\ProjectStatusLogs', 4374, 'a:6:{s:2:"id";i:4374;s:10:"project_id";i:4146;s:10:"new_status";s:1:"4";s:10:"old_status";i:2;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 11:21:31.186 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "project_status"=4, "updated_at"='now()', "status_updated_at"='now()', "forecast_updated_at"='now()', "end_at"='now()' WHERE "id"=4146 |
| 11:21:31.195 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4146) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 11:21:31.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.198 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=17722 |
| 11:21:31.199 | 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\ProjectChangeLogs', 17722, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 11:21:31.199 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (4146, 4, '500000', '15', '0', 'now()', NULL) RETURNING "id" |
| 11:21:31.203 | 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\ProjectChangeLogs', 17870, 'a:8:{s:2:"id";i:17870;s:10:"project_id";i:4146;s:14:"project_status";s:1:"4";s:6:"budget";s:6:"500000";s:10:"profit_pct";s:2:"15";s:9:"collected";s:1:"0";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 11:21:31.203 | 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', 4146, 'a:2:{s:14:"project_status";s:1:"4";s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 11:21:31.204 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.204 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.204 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sources" SET "project_status"=4 WHERE "project_id"=4146 |
| 11:21:31.210 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=93 |
| 11:21:31.211 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 11:21:31.211 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2 |
| 11:21:31.212 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='4' |
| 11:21:31.212 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=4146 |
| 11:21:31.212 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.212 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.212 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4146 |
| 11:21:31.213 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 11:21:31.213 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '1', 4146, TRUE, '刘人诚更新了一条商机状态明确需求变为商机失败', '') RETURNING "id" |
| 11:21:31.216 | 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\Comments', 220744, 'a:11:{s:2:"id";i:220744;s:9:"object_id";i:4146;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:66:"刘人诚更新了一条商机状态明确需求变为商机失败";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:0:"";}', '', 1001, '221.216.117.119') |
| 11:21:31.217 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:31.217 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:31.217 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (4146, '1', 220744, 1005) |
| 11:21:31.221 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1005) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 11:21:31.222 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1005 |
| 11:21:31.227 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 11:21:31.227 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 11:21:31.227 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 11:21:31.228 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4146 |
| 11:21:31.229 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=93 |
| 11:21:31.230 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=93 |
| 11:21:31.233 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=93) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 11:21:32.177 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:32.177 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:32.178 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (93, 1005, 'now()', NULL) RETURNING "id" |
| 11:21:32.180 | 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', 199919, 'a:5:{s:2:"id";i:199919;s:9:"client_id";i:93;s:9:"sales_rep";i:1005;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 11:21:32.180 | 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', 93, 'a:0:{}', '', 1001, '221.216.117.119') |
| 11:21:32.180 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 11:21:32.181 | 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', 93, 10, 4146, 1, 1001, '[4146]', '[4146]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u98de\u5854\u96f6\u4fe1\u4efb\u65b0\u8d2d"]}') RETURNING "id" |
| 11:21:32.182 | 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', 641329, 'a:13:{s:2:"id";i:641329;s:9:"object_id";i:93;s:11:"object_type";i:10;s:9:"target_id";i:4146;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4146]";s:9:"new_value";s:6:"[4146]";s:11:"description";s:125:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u98de\u5854\u96f6\u4fe1\u4efb\u65b0\u8d2d"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 11:21:32.182 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=93 |
| 11:21:32.183 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2026-01-01 00:00:00') AND ("bargain_date" <= '2026-12-31 23:59:59') AND ("client_id"=93) |
| 11:21:32.184 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=93) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 11:21:32.200 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (93, 1005, 'now()', NULL) RETURNING "id" |
| 11:21:32.201 | 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', 199920, 'a:5:{s:2:"id";i:199920;s:9:"client_id";i:93;s:9:"sales_rep";i:1005;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 11:21:32.201 | 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', 93, 'a:0:{}', '', 1001, '221.216.117.119') |
| 11:21:32.202 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 11:21:32.202 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 11:21:32.202 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 11:21:32.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 11:21:32.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 11:21:32.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 11:21:32.203 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4146 |
| 11:21:32.204 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=4146) |
| 11:21:32.204 | trace | yii\db\Transaction::commit | Commit transaction |
| 11:21:32.205 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:32.205 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:21:32.205 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/project/save-edit', '{"Projects":{"id":"4146","project_status":"4"},"web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-05 11:21:32', 1067629056) RETURNING "id" |
| 11:21:32.206 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:21:32.207 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |