10:04:26.878 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:04:26.878 | trace | yii\base\Module::getModule | Loading module: debug |
10:04:26.879 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:04:26.879 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:04:26.879 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:04:26.879 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.879 | trace | yii\base\Module::getModule | Loading module: gii |
10:04:26.879 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:04:26.879 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:04:26.879 | trace | yii\web\Application::handleRequest | Route requested: 'v2/project/save-new' |
10:04:26.879 | trace | yii\base\Module::getModule | Loading module: v2 |
10:04:26.880 | info | yii\web\Session::open | Session started |
10:04:26.880 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:04:26.883 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
10:04:26.886 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.886 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.886 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.886 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.886 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:04:26.888 | trace | yii\base\Controller::runAction | Route to run: v2/project/save-new |
10:04:26.888 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.889 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:04:26.889 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ProjectController::actionSaveNew() |
10:04:26.889 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.889 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.889 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectArchitects' in 'app\models\Projects'. |
10:04:26.889 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'. |
10:04:26.889 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'. |
10:04:26.889 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchaseType' in 'app\models\Projects'. |
10:04:26.889 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesForecast' in 'app\models\Projects'. |
10:04:26.889 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.889 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.889 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:04:26.891 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='2815') AND ("project_title"='返还借款')) |
10:04:26.892 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1') |
10:04:26.892 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
10:04:26.892 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='6') |
10:04:26.893 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='1') |
10:04:26.893 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
10:04:26.894 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_projects" ("bargain_date", "client_id", "comment", "contract_type", "from_contact", "project_progress", "project_status", "project_title", "used_client", "creator", "budget", "profit_pct", "created_by", "collected", "pinyin_shortcut") VALUES ('2025-07-11', 2815, '', 1, NULL, 6, 1, '返还借款', NULL, 1000, '0', '0', 1004, '0', 'fhjk') RETURNING "id" |
10:04:26.899 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3818) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:04:26.902 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.902 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.902 | 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 (3818, 1, '0', '0', '0', 'now()', NULL) RETURNING "id" |
10:04:26.906 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.906 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.906 | 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', 16123, 'a:8:{s:2:"id";i:16123;s:10:"project_id";i:3818;s:14:"project_status";s:1:"1";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:9:"collected";i:0;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121') |
10:04:26.908 | 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\Projects', 3818, 'a:30:{s:2:"id";i:3818;s:9:"client_id";s:4:"2815";s:14:"project_status";s:1:"1";s:16:"project_progress";s:1:"6";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:12:"bargain_date";s:10:"2025-07-11";s:11:"description";N;s:10:"created_by";i:1004;s:10:"created_at";N;s:10:"updated_at";N;s:11:"engineer_id";N;s:13:"project_title";s:12:"返还借款";s:9:"collected";i:0;s:17:"status_updated_at";N;s:12:"success_rate";N;s:7:"comment";s:0:"";s:13:"contract_type";s:1:"1";s:19:"progress_updated_at";N;s:19:"forecast_updated_at";N;s:6:"end_at";N;s:15:"pinyin_shortcut";s:4:"fhjk";s:7:"creator";i:1000;s:11:"used_client";s:0:"";s:12:"from_contact";s:0:"";s:19:"total_contact_point";N;s:18:"paid_contact_point";N;s:26:"project_product_version_id";N;s:20:"is_sales_order_ready";N;s:14:"collected_plan";N;}', '', 1000, '223.104.40.121') |
10:04:26.909 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:04:26.909 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3818 |
10:04:26.910 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "end_at"=NULL WHERE "id"=3818 |
10:04:26.912 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3818) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:04:26.913 | 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', 3818, 'a:0:{}', '', 1000, '223.104.40.121') |
10:04:26.914 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:04:26.915 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.915 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.915 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "new_status", "created_by", "created_at") VALUES (3818, 1, 1000, 'now()') RETURNING "id" |
10:04:26.919 | 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', 3413, 'a:6:{s:2:"id";i:3413;s:10:"project_id";i:3818;s:10:"new_status";s:1:"1";s:10:"old_status";N;s:10:"created_by";i:1000;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1000, '223.104.40.121') |
10:04:26.920 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3818 |
10:04:26.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.921 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_architects" ("project_id", "engineer_id", "contribution", "created_by") VALUES (3818, 1022, '1', 1000) |
10:04:26.922 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3818) AND ("term_id"=9) |
10:04:26.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.922 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 129, 3818) |
10:04:26.924 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3818) AND ("term_id"=13) |
10:04:26.924 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 142, 3818) |
10:04:26.925 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3818 |
10:04:26.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.925 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_remind_receivers" ("project_id", "user_id") VALUES (3818, 1017) RETURNING "id" |
10:04:26.927 | 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\ProjectRemindReceivers', 1622, 'a:3:{s:2:"id";i:1622;s:10:"project_id";i:3818;s:7:"user_id";s:4:"1017";}', '', 1000, '223.104.40.121') |
10:04:26.929 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3818 |
10:04:26.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.930 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.930 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='1' |
10:04:26.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.931 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3818 |
10:04:26.932 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
10:04:26.932 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1000, '1', 3818, TRUE, '曹永生新建了一条状态为隐性需求的商机', '') RETURNING "id" |
10:04:26.935 | 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', 170397, 'a:11:{s:2:"id";i:170397;s:9:"object_id";i:3818;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:54:"曹永生新建了一条状态为隐性需求的商机";s:10:"created_by";i:1000;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:"";}', '', 1000, '223.104.40.121') |
10:04:26.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.936 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (3818, '1', 170397, 1017) |
10:04:26.941 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1017) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
10:04:26.941 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:04:26.942 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
10:04:26.943 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
10:04:26.943 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
10:04:26.943 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
10:04:26.943 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3818 |
10:04:26.944 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:04:26.944 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.945 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.945 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 3818, 1, 1000, '2025-07-11 10:04:26', '{"id":3818,"client_id":2815,"project_status":1,"project_progress":6,"budget":"0","profit_pct":"0","bargain_date":"2025-07-11","description":null,"created_by":1004,"created_at":"2025-07-11 10:04:26","updated_at":"2025-07-11 10:04:26","engineer_id":null,"project_title":"\u8fd4\u8fd8\u501f\u6b3e","collected":"0","status_updated_at":"2025-07-11 10:04:26.895143+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2025-07-11 10:04:26.895143+08","forecast_updated_at":"2025-07-11 10:04:26.895143+08","end_at":null,"pinyin_shortcut":"fhjk","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}', '{"id":3818,"client_id":2815,"project_status":1,"project_progress":6,"budget":"0","profit_pct":"0","bargain_date":"2025-07-11","description":null,"created_by":1004,"created_at":"2025-07-11 10:04:26","updated_at":"2025-07-11 10:04:26","engineer_id":null,"project_title":"\u8fd4\u8fd8\u501f\u6b3e","collected":"0","status_updated_at":"2025-07-11 10:04:26.895143+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2025-07-11 10:04:26.895143+08","forecast_updated_at":"2025-07-11 10:04:26.895143+08","end_at":null,"pinyin_shortcut":"fhjk","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id" |
10:04:26.946 | 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', 510493, 'a:13:{s:2:"id";i:510493;s:9:"object_id";i:3818;s:11:"object_type";i:1;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:753:"{"id":3818,"client_id":2815,"project_status":1,"project_progress":6,"budget":"0","profit_pct":"0","bargain_date":"2025-07-11","description":null,"created_by":1004,"created_at":"2025-07-11 10:04:26","updated_at":"2025-07-11 10:04:26","engineer_id":null,"project_title":"\u8fd4\u8fd8\u501f\u6b3e","collected":"0","status_updated_at":"2025-07-11 10:04:26.895143+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2025-07-11 10:04:26.895143+08","forecast_updated_at":"2025-07-11 10:04:26.895143+08","end_at":null,"pinyin_shortcut":"fhjk","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}";s:9:"new_value";s:753:"{"id":3818,"client_id":2815,"project_status":1,"project_progress":6,"budget":"0","profit_pct":"0","bargain_date":"2025-07-11","description":null,"created_by":1004,"created_at":"2025-07-11 10:04:26","updated_at":"2025-07-11 10:04:26","engineer_id":null,"project_title":"\u8fd4\u8fd8\u501f\u6b3e","collected":"0","status_updated_at":"2025-07-11 10:04:26.895143+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2025-07-11 10:04:26.895143+08","forecast_updated_at":"2025-07-11 10:04:26.895143+08","end_at":null,"pinyin_shortcut":"fhjk","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}";s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-11 10:04:26";s:9:"is_delete";N;}', '', 1000, '223.104.40.121') |
10:04:26.947 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:04:26.947 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.947 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.948 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3818, 1, 1000, '2025-07-11 10:04:26', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id" |
10:04:26.949 | 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\UserActionLogs', 137117, 'a:15:{s:2:"id";i:137117;s:9:"object_id";i:3818;s:11:"object_type";i:1;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1004]";s:6:"params";a:0:{}}s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-11 10:04:26";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.40.121') |
10:04:26.950 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:04:26.951 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
10:04:26.952 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:04:26.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.964 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
10:04:26.965 | 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', 165240, 'a:5:{s:2:"id";i:165240;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121') |
10:04:26.966 | 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', 2815, 'a:0:{}', '', 1000, '223.104.40.121') |
10:04:26.967 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:04:26.967 | 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 (1, 'create', 2815, 10, 3818, 1, 1000, '[3818]', '[3818]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u8fd4\u8fd8\u501f\u6b3e"]}') RETURNING "id" |
10:04:26.968 | 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', 510494, 'a:13:{s:2:"id";i:510494;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:3818;s:18:"target_object_type";i:1;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3818]";s:9:"new_value";s:6:"[3818]";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u8fd4\u8fd8\u501f\u6b3e"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121') |
10:04:26.969 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:04:26.970 | 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"=2815) |
10:04:26.971 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:04:26.979 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
10:04:26.980 | 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', 165241, 'a:5:{s:2:"id";i:165241;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121') |
10:04:26.981 | 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', 2815, 'a:0:{}', '', 1000, '223.104.40.121') |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
10:04:26.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:04:26.983 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:04:26.983 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/project/save-new', '{"Projects":{"bargain_date":"2025-07-11","client_id":"2815","comment":"","contract_type":"1","from_contact":"","projectArchitects":{"1022":"1.00"},"projectProductTypes":"","projectRemindReceivers":["1017"],"project_progress":"6","project_status":"1","project_title":"\u8fd4\u8fd8\u501f\u6b3e","purchaseType":"129","salesForecast":"142","used_client":""},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752199424","token":"e6ec7a7e0677606084724b416e1c16b6","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u65b0\u5546\u673a\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-11 10:04:26') RETURNING "id" |