All Latest
6a223f0fec879: POST https://beta.jinchangxiao.com/vue/erp-sales-order/verify at 2026-06-05 11:14:23 am by 221.216.117.119

Log Messages

总计244条数据
TimeLevelCategoryMessage
 
11:14:23.968traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
11:14:23.968traceyii\base\Module::getModuleLoading module: debug
11:14:23.968traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
11:14:23.968traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
11:14:23.969traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
11:14:23.969traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.969infotime tracing start1780629263969341952
11:14:23.969traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
11:14:23.969traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-order/verify'
11:14:23.969traceyii\base\Module::getModuleLoading module: vue
11:14:23.969infoyii\web\Session::openSession started
11:14:23.970infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
11:14:23.970infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
11:14:23.971traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.971traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.971traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.972traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.972infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:23.972traceyii\base\Controller::runActionRoute to run: vue/erp-sales-order/verify
11:14:23.973traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.974traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewErp
11:14:23.974traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: StoreKeeper
11:14:23.974traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: FinancialAudit
11:14:23.974traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: AccountManager
11:14:23.974traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesOrderController::actionVerify()
11:14:23.974infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"='1702'
11:14:23.974traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.975traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.975infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1702) ORDER BY "id"
11:14:23.975traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.975traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.975traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.976traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.977traceyii\db\Transaction::beginBegin transaction
11:14:23.977infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_order_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=135
11:14:23.977traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.977traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.978infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrderVerifyRels', 135, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.119')
11:14:23.978infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1702) ORDER BY "id") "c"
11:14:23.979infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=1702
11:14:23.979infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1702, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.119')
11:14:23.980infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1702
11:14:23.980infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:23.980infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1702) ORDER BY "id"
11:14:23.981infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_carbon_copy_rels" WHERE "erp_sales_order_id"=1702
11:14:23.981traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.981traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.981infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1702
11:14:23.982infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
11:14:23.983infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20007', 1702, '刘人诚通过了这个审批', TRUE, 'XSDD-20260522-00001') RETURNING "id"
11:14:23.984infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220739, 'a:11:{s:2:"id";i:220739;s:9:"object_id";i:1702;s:11:"object_type";s:5:"20007";s:6:"parent";N;s:11:"description";s:30:"刘人诚通过了这个审批";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:19:"XSDD-20260522-00001";}', '', 1001, '221.216.117.119')
11:14:23.985infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
11:14:23.985infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:23.986traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.986traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.987infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:23.987traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.988traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.988traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
11:14:23.988traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
11:14:23.988traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
11:14:23.988infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "next_verify_user"=NULL WHERE "id"=1702
11:14:23.989infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1702, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:23.989infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1702
11:14:23.990infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:23.990traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.990traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.990infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3
11:14:23.991infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=5
11:14:23.991traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.991traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.991infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'project_status', 4144, 1, 1001, 'now()', '["\u5546\u673a\u6210\u4ea4"]', '["\u5546\u673a\u6401\u7f6e"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u5546\u673a\u6401\u7f6e <b>\u53d8\u4e3a<\/b> \u5546\u673a\u6210\u4ea4"]}')
11:14:23.992infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3
11:14:23.992infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=5
11:14:23.993infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:23.993traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.993traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.993infoyii\db\Command::executeINSERT 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', 4144, 1, 1001, 'now()', '["\u5546\u673a\u6210\u4ea4"]', '["\u5546\u673a\u6401\u7f6e"]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u5546\u673a\u6401\u7f6e <b>\u53d8\u4e3a<\/b> \u5546\u673a\u6210\u4ea4"]}')
11:14:23.994traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:23.994traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:23.994infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "old_status", "new_status", "created_by", "created_at") VALUES (4144, 5, 3, 1001, 'now()') RETURNING "id"
11:14:23.996infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectStatusLogs', 4372, 'a:6:{s:2:"id";i:4372;s:10:"project_id";i:4144;s:10:"new_status";i:3;s:10:"old_status";i:5;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119')
11:14:23.997infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "project_status"=3, "end_at"=NULL, "change_status_to"=NULL, "is_verify"=FALSE WHERE "id"=4144
11:14:23.998infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4144) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:14:24.000traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.000traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.000infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=17817
11:14:24.001infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ProjectChangeLogs', 17817, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119')
11:14:24.002infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (4144, 3, '800', '10', '0', 'now()', NULL) RETURNING "id"
11:14:24.003infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectChangeLogs', 17868, 'a:8:{s:2:"id";i:17868;s:10:"project_id";i:4144;s:14:"project_status";i:3;s:6:"budget";s:3:"800";s:10:"profit_pct";s:2:"10";s:9:"collected";s:1:"0";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119')
11:14:24.003infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4144, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.003traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.003traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.003infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sources" SET "project_status"=3 WHERE "project_id"=4144
11:14:24.005infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.005infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.006infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=5
11:14:24.006infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3
11:14:24.006infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=4144
11:14:24.007infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.007infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
11:14:24.008infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '1', 4144, TRUE, '刘人诚更新了一条商机状态商机搁置变为商机成交', '') RETURNING "id"
11:14:24.008infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220740, 'a:11:{s:2:"id";i:220740;s:9:"object_id";i:4144;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:14:24.008infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
11:14:24.009infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.009traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
11:14:24.009traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
11:14:24.009traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
11:14:24.009infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4144
11:14:24.010traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.010traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.011infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE ("created_at" >= '2026-06-05 00:00:00') AND ("created_at" <= '2026-06-05 23:59:59') AND ("serial_no" ILIKE '%2026-06-05-%') AND (LENGTH(serial_no) = 14) ORDER BY "serial_no" DESC
11:14:24.012infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contracts" ("contract_type", "client_id", "project_id", "from_project", "amount", "signed_at", "handler", "created_by", "build_by_project", "need_analysis", "serial_no", "erp_un_settle_amount") VALUES (1, 2593, 4144, 4144, '800', '2026-04-30', 1001, 1001, TRUE, TRUE, '2026-06-05-005', '800') RETURNING "id"
11:14:24.016infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContracts', 4495, 'a:45:{s:2:"id";i:4495;s:9:"client_id";i:2593;s:9:"signed_at";s:10:"2026-04-30";s:6:"amount";s:3:"800";s:7:"handler";i:1001;s:11:"description";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:13:"contract_scan";N;s:12:"receipt_scan";N;s:13:"contract_type";i:1;s:10:"project_id";i:4144;s:10:"valid_date";N;s:11:"expire_date";N;s:3:"sla";N;s:12:"remind_ahead";N;s:19:"expire_remind_ahead";N;s:15:"expire_reminded";N;s:9:"serial_no";s:14:"2026-06-05-005";s:31:"payment_collection_remind_ahead";N;s:12:"from_project";i:4144;s:12:"receipt_date";N;s:11:"verify_date";N;s:13:"including_tax";N;s:16:"build_by_project";b:1;s:13:"need_analysis";b:1;s:9:"is_settle";N;s:10:"is_deliver";N;s:11:"is_outbound";N;s:18:"is_save_collection";N;s:18:"save_collection_at";N;s:9:"is_verify";N;s:8:"is_draft";N;s:17:"erp_settle_amount";N;s:20:"erp_un_settle_amount";s:3:"800";s:28:"erp_payment_ticket_is_verify";N;s:28:"erp_collect_ticket_is_verify";N;s:30:"erp_cash_cost_ticket_is_verify";N;s:21:"erp_all_settle_amount";N;s:21:"receipt_scan_uploaded";N;s:20:"verify_scan_uploaded";N;s:22:"contract_scan_uploaded";N;s:14:"is_edit_verify";N;s:20:"is_chargeback_verify";N;}', '', 1001, '221.216.117.119')
11:14:24.016infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.017infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.017infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "sales_contract_id"=4495 WHERE "id"=1702
11:14:24.018infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4495
11:14:24.018traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.018traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.018infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "sales_contract_id"=4495 WHERE "reimbursement_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_reimbursements" WHERE "project_id"=4144)
11:14:24.022infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 4495, 7, 1001, '2026-06-05 11:14:23', '{"id":4495,"client_id":2593,"signed_at":"2026-04-30","amount":"800","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-05 11:14:23","updated_at":"2026-06-05 11:14:23","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4144,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-05-005","payment_collection_remind_ahead":"00:00:00","from_project":4144,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"800","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}', '{"id":4495,"client_id":2593,"signed_at":"2026-04-30","amount":"800","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-05 11:14:23","updated_at":"2026-06-05 11:14:23","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4144,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-05-005","payment_collection_remind_ahead":"00:00:00","from_project":4144,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"800","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":[]}') RETURNING "id"
11:14:24.023infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641310, 'a:13:{s:2:"id";i:641310;s:9:"object_id";i:4495;s:11:"object_type";i:7;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:1067:"{"id":4495,"client_id":2593,"signed_at":"2026-04-30","amount":"800","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-05 11:14:23","updated_at":"2026-06-05 11:14:23","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4144,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-05-005","payment_collection_remind_ahead":"00:00:00","from_project":4144,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"800","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}";s:9:"new_value";s:1067:"{"id":4495,"client_id":2593,"signed_at":"2026-04-30","amount":"800","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-05 11:14:23","updated_at":"2026-06-05 11:14:23","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4144,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-05-005","payment_collection_remind_ahead":"00:00:00","from_project":4144,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"800","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 11:14:23";s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
11:14:24.023infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.024infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 2593, 10, 4495, 7, 1001, '[4495]', '[4495]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-05-005"]}') RETURNING "id"
11:14:24.024infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641311, 'a:13:{s:2:"id";i:641311;s:9:"object_id";i:2593;s:11:"object_type";i:10;s:9:"target_id";i:4495;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4495]";s:9:"new_value";s:6:"[4495]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-05-005"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
11:14:24.025infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.025infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 4144, 1, 4495, 7, 1001, '[4495]', '[4495]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-05-005"]}') RETURNING "id"
11:14:24.025infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641312, 'a:13:{s:2:"id";i:641312;s:9:"object_id";i:4144;s:11:"object_type";i:1;s:9:"target_id";i:4495;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4495]";s:9:"new_value";s:6:"[4495]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-05-005"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
11:14:24.026infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.026infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.027infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 4144, 1, 4495, 7, 1001, '4495', '4495', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-05-005"]}') RETURNING "id"
11:14:24.027infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 171963, 'a:15:{s:2:"id";i:171963;s:9:"object_id";i:4144;s:11:"object_type";i:1;s:9:"target_id";i:4495;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"4495";s:9:"new_value";s:4:"4495";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-05-005"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119')
11:14:24.028infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "project_id"=4144
11:14:24.031infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.032infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'payment_collection_remind_ahead', 4144, 1, 1001, 'now()', '["\u63d0\u524d1\u5929"]', '["\u4e0d\u63d0\u9192"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["\u4e0d\u63d0\u9192 <b>\u53d8\u4e3a<\/b> \u63d0\u524d1\u5929"]}')
11:14:24.032infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.033infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'payment_collection_remind_ahead', 4144, 1, 1001, 'now()', '["\u63d0\u524d1\u5929"]', '["\u4e0d\u63d0\u9192"]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["\u4e0d\u63d0\u9192 <b>\u53d8\u4e3a<\/b> \u63d0\u524d1\u5929"]}')
11:14:24.033infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4144 ORDER BY "id")
11:14:24.034infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "payment_collection_remind_ahead"='1 day', "is_save_collection"=TRUE, "save_collection_at"='now()' WHERE "id"=4495
11:14:24.035infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4495, 'a:29:{s:11:"description";N;s:13:"contract_scan";N;s:12:"receipt_scan";N;s:10:"valid_date";N;s:11:"expire_date";N;s:3:"sla";N;s:12:"remind_ahead";N;s:19:"expire_remind_ahead";N;s:15:"expire_reminded";N;s:31:"payment_collection_remind_ahead";s:5:"1 day";s:12:"receipt_date";N;s:11:"verify_date";N;s:13:"including_tax";N;s:9:"is_settle";N;s:10:"is_deliver";N;s:11:"is_outbound";N;s:18:"save_collection_at";s:5:"now()";s:9:"is_verify";N;s:8:"is_draft";N;s:17:"erp_settle_amount";N;s:28:"erp_payment_ticket_is_verify";N;s:28:"erp_collect_ticket_is_verify";N;s:30:"erp_cash_cost_ticket_is_verify";N;s:21:"erp_all_settle_amount";N;s:21:"receipt_scan_uploaded";N;s:20:"verify_scan_uploaded";N;s:22:"contract_scan_uploaded";N;s:14:"is_edit_verify";N;s:20:"is_chargeback_verify";N;}', '', 1001, '221.216.117.119')
11:14:24.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.036infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=1001) AND ("type"=1)
11:14:24.036traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.036traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.036infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (1001, 1001, 1)
11:14:24.038infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4495
11:14:24.039infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001'
11:14:24.039infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.039infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'salesContractPaymentCollectionRemindReceivers', 4495, 7, 1001, 'now()', '[["\u5218\u4eba\u8bda"]]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u4eba","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u5218\u4eba\u8bda;"]}')
11:14:24.040infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4495
11:14:24.040traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.040traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.040infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4495, 1001) RETURNING "id"
11:14:24.044infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 10158, 'a:3:{s:2:"id";i:10158;s:11:"contract_id";i:4495;s:7:"user_id";s:4:"1001";}', '', 1001, '221.216.117.119')
11:14:24.045infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4495
11:14:24.045traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.045traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.045infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4495
11:14:24.046infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status" IN (2, 5, 1))
11:14:24.048infoyii\db\Command::querySELECT r.amount, t.wrote_date as 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"=4495) AND ("t"."status" IN (2, 5, 1))
11:14:24.051infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.052infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4495
11:14:24.053infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4144) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:14:24.054infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4144, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.054infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.055infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4495) AND (amount > paid_amount) ORDER BY "remind_date"
11:14:24.056infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4495
11:14:24.056infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5))
11:14:24.057infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status" IN (2, 5))
11:14:24.057infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
11:14:24.061infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status"=1))
11:14:24.061infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status"=1))
11:14:24.062infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status"=1))
11:14:24.062infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (1, 2, 5))
11:14:24.063infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status" IN (1, 2, 5))
11:14:24.063infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status" IN (1, 2, 5))
11:14:24.064infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='800', "erp_all_settle_amount"='0' WHERE "id"=4495
11:14:24.065infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4495, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.065infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.066infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.066infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.067infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "collected"='0' WHERE "id"=4144
11:14:24.071infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4144) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:14:24.072infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4144, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.072infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.073infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_status_logs" WHERE "project_id"=4144 ORDER BY "created_at" DESC
11:14:24.074infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4495
11:14:24.074infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4495
11:14:24.075infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4495) AND ("t"."status" IN (2, 5, 1))
11:14:24.075infoyii\db\Command::querySELECT r.amount, t.wrote_date as 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"=4495) AND ("t"."status" IN (2, 5, 1))
11:14:24.075infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.076infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4495
11:14:24.077infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4144) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:14:24.078infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4144, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.079infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.079infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4495) AND (amount > paid_amount) ORDER BY "remind_date"
11:14:24.080infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.081infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2593
11:14:24.081infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2593) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:14:24.099traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.099traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.099infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2593, 1001, 'now()', NULL) RETURNING "id"
11:14:24.100infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199913, 'a:5:{s:2:"id";i:199913;s:9:"client_id";i:2593;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119')
11:14:24.101infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2593, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.101infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.101infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 2593, 10, 4144, 1, 1001, '[4144]', '[4144]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["zstack\u7eed\u4fdd"]}') RETURNING "id"
11:14:24.102infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641315, 'a:13:{s:2:"id";i:641315;s:9:"object_id";i:2593;s:11:"object_type";i:10;s:9:"target_id";i:4144;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4144]";s:9:"new_value";s:6:"[4144]";s:11:"description";s:101:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["zstack\u7eed\u4fdd"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
11:14:24.102infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2593
11:14:24.103infoyii\db\Command::querySELECT 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"=2593)
11:14:24.104infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "cooperate_count"=1 WHERE "id"=2593
11:14:24.108infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2593) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:14:24.124infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2593, 1001, 'now()', NULL) RETURNING "id"
11:14:24.125infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199914, 'a:5:{s:2:"id";i:199914;s:9:"client_id";i:2593;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119')
11:14:24.125infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2593, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.126traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
11:14:24.126traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
11:14:24.126traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
11:14:24.126traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
11:14:24.126traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
11:14:24.126traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
11:14:24.126infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4144
11:14:24.127infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=4144)
11:14:24.127infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1702, 'a:0:{}', '', 1001, '221.216.117.119')
11:14:24.128infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1
11:14:24.128infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1702
11:14:24.129traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.129traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.129infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20007, 'XSDD-20260522-00001', '2026-04-30', NULL, NULL, '800', 2593, NULL, NULL, NULL, 1001, '2026-05-22 16:48:10', '2026-06-05 11:14:23', 1702, '2026-06-05 11:14:23.977274+08') RETURNING "id"
11:14:24.133infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpTicketChangeLogs', 2934, 'a:17:{s:2:"id";i:2934;s:9:"serial_no";s:19:"XSDD-20260522-00001";s:11:"ticket_type";i:20007;s:10:"wrote_date";s:10:"2026-04-30";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:2593;s:8:"abstract";N;s:11:"description";N;s:9:"verify_at";s:29:"2026-06-05 11:14:23.977274+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-05-22 16:48:10";s:10:"updated_at";s:19:"2026-06-05 11:14:23";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:3:"800";s:9:"object_id";i:1702;}', '', 1001, '221.216.117.119')
11:14:24.134traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.134traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.134infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (2934, 1001)
11:14:24.139infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.140infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:14:24.140infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (6, 'status', 1702, 20007, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":""}')
11:14:24.141infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20007) AND ("object_id"=1702) AND ("remind_user_id"=1001) AND ("is_read"=FALSE)
11:14:24.160traceyii\db\Transaction::commitCommit transaction
11:14:24.161traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.161traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:14:24.161infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-sales-order/verify', '{"id":"1702","description":"","web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u8ba2\u5355\u5ba1\u6279\u901a\u8fc7","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:14:24', 192441856) RETURNING "id"
11:14:24.162traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:14:24.163traceyii\redis\Connection::executeCommandExecuting Redis Command: SET