Total processing time: 97 ms; Peak memory: 5.329 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 13:44:04.422 | 17.9 ms | yii\db\Command::query | SELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=7) AND ("object_id"=4492) GROUP BY "object_id" |
| 13:44:04.441 | 15.9 ms | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=7) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=4492) GROUP BY "object_id" |
| 13:44:04.413 | 3.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=105) AND ("object_id"=4492) |
| 13:44:04.416 | 2.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=106) AND ("object_id"=4492) |
| 13:44:04.419 | 2.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=107) AND ("object_id"=4492) |
| 13:44:04.398 | 2.8 ms | yii\db\Command::query | SELECT "id", "project_id" FROM "a57be577deb434"."tbl_sales_order_items" WHERE ("is_system"=TRUE) AND ("project_id"=3796) |
| 13:44:04.465 | 2.3 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1161, 'v2/sales-contract/get-edit', '{"access_token":"wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm","device_type":"2","id":"4492","posttime":"1784094208","token":"1e7970c6eef1d56c12a685ee4e5239a9","version_code":"1161"}', '{"code":200,"data":{"model":{"id":4492,"client_id":2125,"signed_at":"2026-06-05","amount":"230486","handler":5087,"description":"","created_by":5087,"created_at":"2026-06-05 11:12:45","updated_at":"2026-07-15 13:32:36","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":3796,"valid_date":null,"expire_date":null,"sla":"","remind_ahead":"","expire_remind_ahead":"","expire_reminded":false,"serial_no":"2026-06-05-002","payment_collection_remind_ahead":"1 day","from_project":3796,"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":true,"save_collection_at":"2026-06-05 11:12:45","is_verify":false,"is_draft":true,"erp_settle_amount":"0","erp_un_settle_amount":"230486","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":true,"is_edit_verify":false,"is_chargeback_verify":false,"client":{"id":2125,"key":2125,"name":"\u5317\u4eac\u673a\u5668\u5236\u9020\u6709\u9650\u516c\u53f8","logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae","avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"}}},"project":{"id":3796,"key":3796,"name":"deepseek\u79c1\u6709\u5316\u90e8\u7f72","erpSalesOrder":{"id":1716,"serial_no":"XSDD-20260605-00005","from_date":null,"wrote_date":"2026-06-05","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":4492,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":"","verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"2026-06-05 11:12:45","stop_at":"2026-07-15 13:32:36.629385+08","cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"7","amount":"230486","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 11:11:50","updated_at":"2026-07-15 13:32:36","print_times":null,"erpSalesOrderVerifyRels":[{"id":145,"erp_sales_order_id":1716,"user_id":1001,"status":1,"description":"","verify_at":"2026-06-05 11:12:45"}],"erpSalesOrderStopVerifyRels":[]}},"erpSalesOrder":{"id":1716,"serial_no":"XSDD-20260605-00005","from_date":null,"wrote_date":"2026-06-05","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":4492,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":"","verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"2026-06-05 11:12:45","stop_at":"2026-07-15 13:32:36.629385+08","cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"7","amount":"230486","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 11:11:50","updated_at":"2026-07-15 13:32:36","print_times":null,"erpSalesOrderVerifyRels":[{"id":145,"erp_sales_order_id":1716,"user_id":1001,"status":1,"description":"","verify_at":"2026-06-05 11:12:45","user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}}}],"erpSalesOrderStopVerifyRels":[],"erpSalesOrderCancelVerifyRels":[]},"fromProject":{"id":3796,"key":3796,"name":"deepseek\u79c1\u6709\u5316\u90e8\u7f72","description":"","total_contact_point":null,"paid_contact_point":null,"is_sales_order_ready":false,"project_product_version_id":1384,"bargain_date":"2026-06-05","collected":"0","profit_pct":"25","budget":"230486","erpSalesOrder":{"id":1716,"serial_no":"XSDD-20260605-00005","from_date":null,"wrote_date":"2026-06-05","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"sales_contract_id":4492,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":"","verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"2026-06-05 11:12:45","stop_at":"2026-07-15 13:32:36.629385+08","cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"7","amount":"230486","created_by":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 11:11:50","updated_at":"2026-07-15 13:32:36","print_times":null},"projectProductTypes":[{"id":8659,"product_type_id":7,"key":7,"name":"\u8f6f\u4ef6","budget":"120000","pct":"25","project_id":3796,"profit":"30000"},{"id":8660,"product_type_id":23,"key":23,"name":"\u793c\u54c1","budget":"10886","pct":"25","project_id":3796,"profit":"2721.5"},{"id":8661,"product_type_id":4,"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 ","budget":"99600","pct":"25","project_id":3796,"profit":"24900"}],"projectProductRels":[{"id":12171,"project_id":3796,"product_id":2261,"amount":"99600","number":1,"cost":null,"description":"\u542b3\u5e74\u4fdd\u4fee\uff0cCPU\u4e0e\u663e\u5361\u4f9b\u5e94\u5546\u63d0\u4f9b\u4fdd\u4fee\u670d\u52a1\u3002","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"99600.00","total_cost":null,"erp_sales_order_product_id":2266,"supplier":null,"product":{"id":2261,"name":"MK-MC300","product_type":4,"product_component":52,"product_brand":4,"product_serie":1769,"product_misc":null,"product_qa":null,"pn":"","description":"MK-MC300\u62fe\u97f3\u9ea6\u514b\u98ce\uff0c\u542b5\u7c73\u7ebf","created_by":1013,"created_at":"2026-03-16 10:07:43","updated_at":"2026-07-15 11:48:19","pinyin_shortcut":"MKMC300","product_unit":3,"is_renew":false,"in_out_at":"2026-07-15 11:48:19.040077+08","productType":{"id":4,"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 "},"productComponent":{"id":52,"key":52,"name":"\u534f\u4f5c"},"productBrand":{"id":4,"key":4,"name":"\u8054\u60f3"},"productSerie":{"id":1769,"key":1769,"name":"\u5168\u5411\u9ea6\u514b\u98ce"},"productUnit":{"id":3,"key":3,"name":"\u4e2a"}},"erpSalesOrderProduct":{"id":2266,"erp_sales_order_id":1716,"erp_store_id":null,"product_id":2261,"description":"\u542b3\u5e74\u4fdd\u4fee\uff0cCPU\u4e0e\u663e\u5361\u4f9b\u5e94\u5546\u63d0\u4f9b\u4fdd\u4fee\u670d\u52a1\u3002","number":"1","outbound":"0","amount":"99600","total_amount":"99600.00","last_number":"1","last_amount":"99600","last_total_amount":"99600.00","cost":null,"total_cost":null,"supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}},{"id":12172,"project_id":3796,"product_id":2177,"amount":"42000","number":2,"cost":null,"description":"\u539f\u53821\u5e74\u4fdd\u4fee\u3002","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"84000.00","total_cost":null,"erp_sales_order_product_id":2267,"supplier":null,"product":{"id":2177,"name":"\u6df1\u4fe1\u670dSDDC\u57fa\u7840\u8fd0\u7ef4\u8f6f\u4ef6V1.0","product_type":7,"product_component":139,"product_brand":12,"product_serie":1730,"product_misc":null,"product_qa":null,"pn":"","description":"\u6df1\u4fe1\u670dSDDC\u57fa\u7840\u8fd0\u7ef4\u8f6f\u4ef6V1.0\uff08\u7eaf\u8f6f\u7248\uff09\n\u4e91\u7aef\u667a\u80fd\u5927\u8111\u8f6f\u4ef6\uff0c\u5305\u542b\u4ee5\u4e0b\u80fd\u529b\uff1a\n1. 7*24H\u5168\u6808\u5728\u7ebf\u76d1\u6d4b\uff0c\u5305\u62ec\u670d\u52a1\u5668\u786c\u4ef6\u3001\u4e91\u5e73\u53f0\u3001\u4e91\u4e3b\u673aOS\u7b49\uff1b\n2. \u98ce\u9669\u4e3b\u52a8\u9884\u6d4b\uff0c\u5305\u62ec\u786c\u76d8\u5361\u6162\/\u574f\u9053\u3001SDD\u5bff\u547d\u3001\u5185\u5b58ECC\u9519\u8bef\u3001\u5e73\u53f0HA\u5931\u6548\u7b49\u98ce\u9669\u63d0\u524d\u9884\u8b66\uff1b\n3. \u98ce\u9669\/\u6545\u969c\u53ca\u65f6\u544a\u8b66\uff0c\u652f\u6301\u5c0f\u7a0b\u5e8f\u3001\u77ed\u4fe1\u3001\u90ae\u4ef6\u3001\u8bed\u97f3\u3001\u4f01\u4e1a\u5fae\u4fe1\/\u9489\u9489\/\u98de\u4e66\u673a\u5668\u4eba\u7b49\u591a\u901a\u8def\u901a\u77e5\uff1b\n4. \u4e91\u7aef\u667a\u80fd\u8fd0\u7ef4\uff0c\u652f\u6301\u544a\u8b66\u964d\u566a\u3001\u6839\u56e0\u5206\u6790\u548c\u5f71\u54cd\u9762\u8bc4\u4f30\uff0c\u63d0\u5347\u95ee\u9898\u5b9a\u4f4d\u6392\u969c\u6548\u7387\uff1b\n5. \u8fd0\u7ef4\u62a5\u544a\u8ba2\u9605\uff0c\u5e73\u53f0\u652f\u6301\u751f\u6210\u8fd0\u7ef4\u62a5\u544a\uff0c\u5305\u62ec\u5e73\u53f0\u670d\u52a1\u5668\u5065\u5eb7\u98ce\u9669\u9884\u6d4b\u548c\u8bc4\u4f30\uff08\u5982\uff1aCPU\/\u5185\u5b58\/\u786c\u76d8\/Raid\u5361\/\u7f51\u5361\u7b49\uff09\u3001\u4e91\u4e3b\u673a\u8fd0\u884c\u72b6\u6001\uff08\u5982\uff1aCPU\/\u5185\u5b58\/\u7f51\u7edc\u7b49\uff09\u98ce\u9669\u8bc4\u4f30\u7b49\uff1b\n\u914d\u5957\u670d\u52a1\u5982\u4e0b\uff1a\n\u8f6f\u4ef6\u5347\u7ea7\uff0c\u5305\u62ec\uff1a\u4e3b\u7ebf\u7248\u672c\/R\u7248\u672c\/SP\u7248\u672c\u7b49\u5728\u7ebf\u5347\u7ea7\u548c\u5b9a\u671f\u8865\u4e01\u66f4\u65b0\uff1b","created_by":1013,"created_at":"2025-11-28 11:49:14","updated_at":"2026-07-15 11:32:10","pinyin_shortcut":"sxfSDDCjcywrjV10","product_unit":2,"is_renew":false,"in_out_at":"2026-07-15 11:32:10.299622+08","productType":{"id":7,"key":7,"name":"\u8f6f\u4ef6"},"productComponent":{"id":139,"key":139,"name":"\u8d85\u878d\u5408\u8f6f\u4ef6"},"productBrand":{"id":12,"key":12,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1730,"key":1730,"name":"\u6df1\u4fe1\u670dSDDC\u57fa\u7840\u8fd0\u7ef4\u8f6f\u4ef6V1.0"},"productUnit":{"id":2,"key":2,"name":"\u5957"}},"erpSalesOrderProduct":{"id":2267,"erp_sales_order_id":1716,"erp_store_id":null,"product_id":2177,"description":"\u539f\u53821\u5e74\u4fdd\u4fee\u3002","number":"2","outbound":"0","amount":"42000","total_amount":"84000.00","last_number":"2","last_amount":"42000","last_total_amount":"84000.00","cost":null,"total_cost":null,"supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}},{"id":12173,"project_id":3796,"product_id":2267,"amount":"5443","number":2,"cost":null,"description":"","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"10886","total_cost":null,"erp_sales_order_product_id":2270,"supplier":null,"product":{"id":2267,"name":"\u98de\u5229\u6d66\u667a\u80fd\u8bed\u97f3\u7535\u52a8\u7259\u5237HX5681","product_type":23,"product_component":221,"product_brand":287,"product_serie":1784,"product_misc":null,"product_qa":null,"pn":"","description":"\u5168\u5e74\u88c5\u793c\u76d2\u5237\u5934*5","created_by":1013,"created_at":"2026-03-20 14:43:11","updated_at":"2026-07-15 13:36:23","pinyin_shortcut":"flpznyyddysHX5681","product_unit":3,"is_renew":false,"in_out_at":"2026-07-15 13:36:23.892626+08","productType":{"id":23,"key":23,"name":"\u793c\u54c1"},"productComponent":{"id":221,"key":221,"name":"\u7535\u5b50\u4ea7\u54c1"},"productBrand":{"id":287,"key":287,"name":"\u98de\u5229\u6d66"},"productSerie":{"id":1784,"key":1784,"name":"\u7535\u52a8\u7259\u5237"},"productUnit":{"id":3,"key":3,"name":"\u4e2a"}},"erpSalesOrderProduct":{"id":2270,"erp_sales_order_id":1716,"erp_store_id":null,"product_id":2267,"description":"","number":"2","outbound":"0","amount":"5443","total_amount":"10886","last_number":null,"last_amount":null,"last_total_amount":null,"cost":null,"total_cost":null,"supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}},{"id":12174,"project_id":3796,"product_id":2171,"amount":"18000","number":2,"cost":null,"description":"","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"36000","total_cost":null,"erp_sales_order_product_id":2271,"supplier":null,"product":{"id":2171,"name":"\u91d1\u7545\u900dCRM\u8f6f\u4ef6\u670d\u52a1","product_type":7,"product_component":159,"product_brand":270,"product_serie":1724,"product_misc":null,"product_qa":null,"pn":"","description":"","created_by":1013,"created_at":"2025-11-24 16:16:45","updated_at":"2026-07-15 13:37:50","pinyin_shortcut":"jcxCRMrjfw","product_unit":2,"is_renew":false,"in_out_at":"2026-07-15 13:37:50.960026+08","productType":{"id":7,"key":7,"name":"\u8f6f\u4ef6"},"productComponent":{"id":159,"key":159,"name":"\u529e\u516c\u8f6f\u4ef6"},"productBrand":{"id":270,"key":270,"name":"\u91d1\u7545\u900d"},"productSerie":{"id":1724,"key":1724,"name":"\u91d1\u7545\u900dCRM\u8f6f\u4ef6"},"productUnit":{"id":2,"key":2,"name":"\u5957"}},"erpSalesOrderProduct":{"id":2271,"erp_sales_order_id":1716,"erp_store_id":null,"product_id":2171,"description":"","number":"2","outbound":"1","amount":"18000","total_amount":"36000","last_number":null,"last_amount":null,"last_total_amount":null,"cost":null,"total_cost":null,"supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}}],"projectContactPoints":[],"buildSalesOrderItems":[],"reimbursementAmountSum":{"project_id":3796,"sum":"215.95"},"profit":57621.5,"contact_points_status_display":"\u672a\u8bbe\u7f6e","total_contact_paid_point":0,"total_contact_un_paid_point":0},"salesSupplierRels":[],"contractScan":null,"receiptScan":null,"contractType":{"id":1,"key":1,"name":"\u4ea7\u54c1\u9500\u552e"},"createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"handleBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"}},"remindDate":null,"serviceContractRemindDates":[],"salesContractRemindReceivers":[],"serviceContractRemindReceivers":[],"salesContractPaymentCollectionRemindReceivers":[{"id":10178,"user_id":5087,"key":5087,"contract_id":4492,"user":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"}}}],"salesContractPaymentCollectionRemindDates":[],"salesContractPayments":[],"salesContractInvoices":[],"contractScans":[{"id":57735,"object_type":105,"object_id":4492,"attachment_id":32759,"attachment":{"id":32759,"key":32759,"name":"47d5d9af-2d3a-35f1-bb66-c62eb041bac5","extension":"pdf","path":"\/v2\/attachment\/preview\/wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm\/47d5d9af-2d3a-35f1-bb66-c62eb041bac5\/9988.pdf","orig_name":"9988.pdf"}}],"receiptScans":[],"verifyScans":[],"commentCount":{"object_id":4492,"comment":1},"unreadComments":null,"collected_plan":0,"projectProductTotalAmount":230486,"projectProductAllAmount":true,"projectProductTotalCost":0,"projectProductAllCost":false,"projectProductTotalCount":7,"invoiced":null,"un_invoiced":230486,"collected":"0","un_collected":230486,"is_collected":false,"handlerPerson":{"id":5087,"key":5087,"name":"\u5218\u5fae","avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"}},"remind_date":"","remind_ahead_display":"\u65e0","expire_remind_ahead_display":"\u65e0","payment_collection_remind_ahead_display":"\u63d0\u524d1\u5929","can_create_erp_collect_ticket":true,"can_create_erp_payment_ticket":true,"can_update":true,"can_delete":false,"unread":0,"bgcolor":"#89c541","can_view_product":true,"can_progress":true,"is_chargeback":false,"is_done":false,"can_view_product_cost":true,"erp_all_un_settle_amount":230486,"can_view_verify_list":true,"verifyList":[{"id":145,"erp_sales_order_id":1716,"user_id":1001,"status":1,"description":"","verify_at":"2026-06-05 11:12:45","user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}}}]},"options":[{"key":"SalesContracts[contract_type]","name":"\u5408\u540c\u7c7b\u578b","value":[{"key":"1","name":"\u4ea7\u54c1\u9500\u552e"},{"key":"2","name":"\u8fd0\u7ef4\u670d\u52a1"}]},{"key":"SalesContracts[handler]","name":"\u5ba2\u6237\u7ecf\u7406","value":[{"key":5500,"name":"\u6d4b\u8bd5"},{"key":5499,"name":"\u9648\u8c46\u8c46"},{"key":5332,"name":"\u970d\u536b\u8d85"},{"key":1001,"name":"\u5218\u4eba\u8bda"},{"key":5087,"name":"\u5218\u5fae"},{"key":5300,"name":"\u82cf\u6e05\u4e91"},{"key":5311,"name":"\u62d3\u5b9e\u79d1\u6280"},{"key":5295,"name":"\u9b4f\u6cfd\u6587"},{"key":1013,"name":"\u7fc1\u5bb6\u6210"},{"key":5476,"name":"\u6768\u5dcd"},{"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},{"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},{"key":0,"name":"\u516c\u6d77\u5ba2\u6237"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"223.104.40.7","ua":"jinchangxiao\/2.3.158 (iPhone 12; iOS 26.5.2; Scale\/3.00)"}', FALSE, '2026-07-15 13:44:04', 90146048) RETURNING "id" |
| 13:44:04.401 | 2.1 ms | yii\db\Command::query | SELECT "project_id", sum(amount) AS sum FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (2, 3)) AND ("project_id"=3796) GROUP BY "project_id" |
| 13:44:04.410 | 1.5 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "contract_id", "amount" AS "value", "created_by", "created_at", "description", "collected_date", "amount" FROM (SELECT * FROM ((SELECT '1' || r.id::varchar as id, 1 as ticket_type, r.sales_contract_id as contract_id, r.amount as amount, t.wrote_date as collected_date, t.created_at, t.created_by, t.abstract as description 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 is not null) AND ("t"."status" IN (2, 5))) UNION ALL ( SELECT '2' || r.id::varchar as id, 2 as ticket_type, r.sales_contract_id as contract_id, r.amount as amount, t.created_at as collected_date, t.created_at, t.created_by, t.abstract as description 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 is not null) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5)) ) UNION ALL ( SELECT '3' || r.id::varchar as id, 3 as ticket_type, r.sales_contract_id as contract_id, 0 - r.amount as amount, t.created_at as collected_date, t.created_at, t.created_by, t.abstract as description 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 is not null) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5)) )) "sub") "r" WHERE "contract_id"=4492 ORDER BY "id" DESC |
| 13:44:04.387 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "sales_contract_id"=4492 ORDER BY "id" DESC |
| 13:44:04.377 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm' |
| 13:44:04.391 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3796) |
| 13:44:04.385 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3796) |
| 13:44:04.463 | 0.6 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE ("id" IN (5049, 5500, 5301, 5499, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) AND ("user_status"='1') ORDER BY pinyin1 nulls first, namecut1 nulls first, pinyin2 nulls first, namecut2 nulls first, pinyin3 nulls first, namecut3 nulls first, pinyin4 nulls first, namecut4 nulls first |
| 13:44:04.392 | 0.6 ms | yii\db\Command::query | SELECT "id", "product_type_id", "product_type_id" AS "key", "name", "budget", "pct", "project_id", "profit" FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3796 |
| 13:44:04.393 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796 ORDER BY "id" |
| 13:44:04.379 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 13:44:04.381 | 0.4 ms | yii\db\Command::query | SELECT "c".* FROM "a57be577deb434"."tbl_sales_contracts" "c" WHERE "c"."id"='4492' |
| 13:44:04.407 | 0.4 ms | yii\db\Command::query | SELECT "id", "user_id", "user_id" AS "key", "contract_id" FROM "a57be577deb434"."tbl_sales_contract_remind_receivers" WHERE "contract_id"=4492 |
| 13:44:04.394 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id" IN (2261, 2177, 2267, 2171) |
| 13:44:04.383 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
| 13:44:04.403 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_supplier_rels" WHERE "contract_id"=4492 |
| 13:44:04.457 | 0.4 ms | yii\db\Command::query | SELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_invoices" WHERE "contract_id"=4492 |
| 13:44:04.410 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "contract_id", "remind_date" AS "name", "amount" AS "value", "overdue_days", "status", "remind_date" FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4492 ORDER BY "remind_date" |
| 13:44:04.384 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087 |
| 13:44:04.397 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "id" IN (2266, 2267, 2270, 2271) |
| 13:44:04.408 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "user_id" AS "key", "contract_id" FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4492 |
| 13:44:04.384 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5087) |
| 13:44:04.388 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1716 ORDER BY "id" |
| 13:44:04.387 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_stop_verify_rels" WHERE "erp_sales_order_id"=1716 ORDER BY "id" |
| 13:44:04.386 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1716 ORDER BY "id" |
| 13:44:04.405 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5087) |
| 13:44:04.391 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name", "description", "total_contact_point", "paid_contact_point", "is_sales_order_ready", "project_product_version_id", "bargain_date", "collected", "profit_pct", "budget" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
| 13:44:04.407 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "contract_id", "remind_date" FROM "a57be577deb434"."tbl_service_contract_remind_dates" WHERE ("reminded"=FALSE) AND ("contract_id"=4492) ORDER BY "remind_date" |
| 13:44:04.377 | 0.3 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:44:04.395 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id" IN (23, 4, 7) |
| 13:44:04.412 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "contract_id", "amount" AS "value", "attachment_id", "from_date", "description", "is_draft", "is_cancel" FROM "a57be577deb434"."tbl_sales_contract_invoices" WHERE "contract_id"=4492 ORDER BY "id" |
| 13:44:04.389 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:44:04.396 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id" IN (1784, 1769, 1730, 1724) |
| 13:44:04.395 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id" IN (221, 52, 139, 159) |
| 13:44:04.404 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087 |
| 13:44:04.389 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 13:44:04.409 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087 |
| 13:44:04.406 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5087) |
| 13:44:04.416 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=32759 |
| 13:44:04.409 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5087) |
| 13:44:04.385 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
| 13:44:04.396 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id" IN (287, 4, 12, 270) |
| 13:44:04.390 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_cancel_verify_rels" WHERE "erp_sales_order_id"=1716 ORDER BY "id" |
| 13:44:04.406 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087 |
| 13:44:04.397 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id" IN (3, 2) |
| 13:44:04.405 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=1 |
| 13:44:04.398 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3796 |
| 13:44:04.407 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "contract_id", "remind_date" AS "name" FROM "a57be577deb434"."tbl_service_contract_remind_dates" WHERE "contract_id"=4492 |
| 13:44:04.390 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_stop_verify_rels" WHERE "erp_sales_order_id"=1716 ORDER BY "id" |
| 13:44:04.404 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "type" AS "name" FROM "a57be577deb434"."tbl_contract_types" WHERE "id"=1 |
| 13:44:04.408 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_service_contract_remind_receivers" WHERE "contract_id"=4492 |