Performance Profiling

Total processing time: 137 ms; Peak memory: 5.451 MB. Show Profiling Timeline

总计64条数据
TimeDurationCategoryInfo
  
21:32:16.67335.1 msyii\db\Command::querySELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=7) AND ("object_id"=4322) GROUP BY "object_id"
21:32:16.70920.3 msyii\db\Command::querySELECT "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"=4322) GROUP BY "object_id"
21:32:16.7413.6 msyii\db\Command::queryINSERT 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":"4322","posttime":"1783603968","token":"b779b1e9b7145acf66287bea2824a754","version_code":"1161"}', '{"code":200,"data":{"model":{"id":4322,"client_id":2166,"signed_at":"2025-12-18","amount":"148320","handler":5300,"description":"","created_by":5300,"created_at":"2025-12-18 17:43:18","updated_at":"2026-01-30 16:07:51","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":3955,"valid_date":null,"expire_date":"2026-11-14","sla":"","remind_ahead":"","expire_remind_ahead":"30 days","expire_reminded":false,"serial_no":"\u6df1\u5733\u6c5f\u539fTS-SQY-20251114001","payment_collection_remind_ahead":"1 day","from_project":3955,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":true,"is_deliver":true,"is_outbound":true,"is_save_collection":true,"save_collection_at":"2025-12-18 17:43:18","is_verify":false,"is_draft":true,"erp_settle_amount":"148320","erp_un_settle_amount":"0","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"148320","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":true,"is_edit_verify":false,"is_chargeback_verify":false,"client":{"id":2166,"key":2166,"name":"\u6c5f\u539f\u521b\u82af\u79d1\u6280(\u5317\u4eac)\u6709\u9650\u516c\u53f8\/\u6df1\u5733\u6c5f\u539f\u79d1\u6280\u6709\u9650\u516c\u53f8","logo":null,"sales_rep":5300,"salesRep":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"}}},"project":{"id":3955,"key":3955,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u65b0\u8d2d-G-2025","erpSalesOrder":{"id":1650,"serial_no":"XSDD-20251218-00004","from_date":null,"wrote_date":"2025-12-18","handler":5300,"client_id":2166,"purchase_contract_id":null,"project_id":3955,"sales_contract_id":4322,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"2025-12-18 17:43:18","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"206","amount":"148320","created_by":5300,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5300\"],\"salesContractPaymentCollectionRemindDates\":[{\"remind_date\":\"2026-02-21\",\"amount\":\"148320\",\"pct\":\"100\"}]}","outbound_status":true,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-12-18 17:38:28","updated_at":"2025-12-18 17:43:18","print_times":null,"erpSalesOrderVerifyRels":[{"id":88,"erp_sales_order_id":1650,"user_id":1001,"status":1,"description":null,"verify_at":"2025-12-18 17:43:18"}],"erpSalesOrderStopVerifyRels":[]}},"erpSalesOrder":{"id":1650,"serial_no":"XSDD-20251218-00004","from_date":null,"wrote_date":"2025-12-18","handler":5300,"client_id":2166,"purchase_contract_id":null,"project_id":3955,"sales_contract_id":4322,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"2025-12-18 17:43:18","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"206","amount":"148320","created_by":5300,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5300\"],\"salesContractPaymentCollectionRemindDates\":[{\"remind_date\":\"2026-02-21\",\"amount\":\"148320\",\"pct\":\"100\"}]}","outbound_status":true,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-12-18 17:38:28","updated_at":"2025-12-18 17:43:18","print_times":null,"erpSalesOrderVerifyRels":[{"id":88,"erp_sales_order_id":1650,"user_id":1001,"status":1,"description":null,"verify_at":"2025-12-18 17:43:18"}],"erpSalesOrderStopVerifyRels":[],"erpSalesOrderCancelVerifyRels":[]},"fromProject":{"id":3955,"key":3955,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u65b0\u8d2d-G-2025","description":"","total_contact_point":null,"paid_contact_point":null,"is_sales_order_ready":true,"project_product_version_id":1128,"bargain_date":"2025-12-18","collected":"148320","profit_pct":"26.19","budget":"148320","erpSalesOrder":{"id":1650,"serial_no":"XSDD-20251218-00004","from_date":null,"wrote_date":"2025-12-18","handler":5300,"client_id":2166,"purchase_contract_id":null,"project_id":3955,"sales_contract_id":4322,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"2025-12-18 17:43:18","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"206","amount":"148320","created_by":5300,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5300\"],\"salesContractPaymentCollectionRemindDates\":[{\"remind_date\":\"2026-02-21\",\"amount\":\"148320\",\"pct\":\"100\"}]}","outbound_status":true,"is_used":true,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-12-18 17:38:28","updated_at":"2025-12-18 17:43:18","print_times":null},"projectProductTypes":[{"id":8360,"product_type_id":7,"key":7,"name":"\u8f6f\u4ef6","budget":"148320","pct":"26.19","project_id":3955,"profit":"38845.00"}],"projectProductRels":[{"id":11330,"project_id":3955,"product_id":2205,"amount":"760","number":2,"cost":"100","description":"","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"1520","total_cost":"200","erp_sales_order_product_id":2069,"supplier":null,"product":{"id":2205,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u8bbf\u95ee\u63a7\u5236\u7cfb\u7edf\u8f6f\u4ef6V2.0\uff08aTrust-1000 V2.0C\uff08\u4e70\u65ad\u6a21\u5f0f\uff09\uff09","product_type":7,"product_component":41,"product_brand":12,"product_serie":1276,"product_misc":null,"product_qa":null,"pn":"","description":"","created_by":1013,"created_at":"2025-12-19 10:08:23","updated_at":"2025-12-23 17:44:29","pinyin_shortcut":"sxflxrfwkzxtrjV20aTrust1000V20Cmdms","product_unit":2,"is_renew":false,"in_out_at":"2025-12-23 17:44:29.767572+08","productType":{"id":7,"key":7,"name":"\u8f6f\u4ef6"},"productComponent":{"id":41,"key":41,"name":"\u5b89\u5168\u8f6f\u4ef6"},"productBrand":{"id":12,"key":12,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1276,"key":1276,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u8bbf\u95ee\u63a7\u5236\u7cfb\u7edf\u8f6f\u4ef6V2.0"},"productUnit":{"id":2,"key":2,"name":"\u5957"}},"erpSalesOrderProduct":{"id":2069,"erp_sales_order_id":1650,"erp_store_id":null,"product_id":2205,"description":"","number":"2","outbound":"2","amount":"760","total_amount":"1520","last_number":null,"last_amount":null,"last_total_amount":null,"cost":"100","total_cost":"200","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}},{"id":11331,"project_id":3955,"product_id":2206,"amount":"15000","number":2,"cost":"12080.28","description":"","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"30000","total_cost":"24160.56","erp_sales_order_product_id":2070,"supplier":null,"product":{"id":2206,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u5c0a\u4eab\u7248\u6388\u6743\u8f6f\u4ef6V2.0\uff08\u9002\u7528\u4e8eaTrust-1000 V2.0C\uff08\u4e70\u65ad\u6a21\u5f0f\uff09\uff09","product_type":7,"product_component":41,"product_brand":12,"product_serie":1748,"product_misc":null,"product_qa":null,"pn":"","description":"\u96f6\u4fe1\u4efb\u5c0a\u4eab\u7248\u6a21\u5757\uff0c\u5305\u542b\u6301\u7eed\u7684\u5b89\u5168\u529f\u80fd\u5f3a\u5316\uff08\u5982\u5e94\u7528\u9632\u62a4\u3001\u53ef\u4fe1\u8fdb\u7a0b\u3001\u5b89\u5168\u6982\u89c8\uff09\u7b49\u529f\u80fd\u6743\u76ca\u3001\u5c0a\u4eab\u7248\u8f6f\u4ef6\u89c4\u683c\u6743\u76ca\uff08\u598215\u7ea7\u7528\u6237\u76ee\u5f55\u3001200\u4e07\u89c4\u683c\u7528\u6237\u5e10\u53f7\u6570\u300110\u4e07\u96a7\u9053\u5e94\u7528\u6570\u300110\u4e07WEB\u5e94\u7528\u6570\u7b49\uff09\u3001\u4e2a\u6027\u5316\u670d\u52a1\u6269\u5c55\u6743\u76ca\u7b49\u3002\n\u8bf4\u660e\uff1a\u8f6f\u4ef6\u89c4\u683c\u6743\u76ca\u6307\u7684\u662f\u89c4\u683c\u4e0a\u9650\uff0c\u662f\u5426\u80fd\u627f\u8f7d\u8fd9\u4e9b\u5bb9\u91cf\u89c4\u683c\u53d6\u51b3\u4e8e\u8bbe\u5907\u914d\u7f6e\u5927\u5c0f","created_by":1013,"created_at":"2025-12-19 10:09:34","updated_at":"2025-12-23 17:44:29","pinyin_shortcut":"sxflxrzxbsqrjV20syyaTrust1000V20Cmdms","product_unit":2,"is_renew":false,"in_out_at":"2025-12-23 17:44:29.767572+08","productType":{"id":7,"key":7,"name":"\u8f6f\u4ef6"},"productComponent":{"id":41,"key":41,"name":"\u5b89\u5168\u8f6f\u4ef6"},"productBrand":{"id":12,"key":12,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1748,"key":1748,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u5c0a\u4eab\u7248\u6388\u6743\u8f6f\u4ef6V2.0"},"productUnit":{"id":2,"key":2,"name":"\u5957"}},"erpSalesOrderProduct":{"id":2070,"erp_sales_order_id":1650,"erp_store_id":null,"product_id":2206,"description":"","number":"2","outbound":"2","amount":"15000","total_amount":"30000","last_number":null,"last_amount":null,"last_total_amount":null,"cost":"12080.28","total_cost":"24160.56","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}},{"id":11332,"project_id":3955,"product_id":2207,"amount":"200","number":200,"cost":"119.35","description":"","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"40000","total_cost":"23870","erp_sales_order_product_id":2071,"supplier":null,"product":{"id":2207,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u63a5\u5165\u6388\u6743\u8f6f\u4ef6V2.0\uff08\u9002\u7528\u4e8eaTrust-1000 V2.0C\uff08\u4e70\u65ad\u6a21\u5f0f\uff09\u9002\u7528\u4e8e200M\u6d41\u91cf\u7f51\u5173\u6388\u6743\u4e70\u65ad\uff09","product_type":7,"product_component":41,"product_brand":12,"product_serie":1275,"product_misc":null,"product_qa":null,"pn":"","description":"\u9996\u6b21\u81f3\u5c11\u8d2d\u4e7050\u70b9\u6388\u6743\u3002\uff08\u6bcf\u589e\u52a01\u4e2a\u7ec8\u7aef\u7528\u6237\u767b\u5f55\u4e0a\u7ebf\u96f6\u4fe1\u4efb\u7cfb\u7edf\uff0c\u5360\u7528\u4e00\u4e2a\u5e76\u53d1\u63a5\u5165\u6388\u6743\u3002\u82e5\u540c\u4e00\u4e2a\u5e10\u53f7\u5728N\u4e2a\u4e0d\u540c\u7ec8\u7aef\u767b\u5f55\uff0c\u5c5e\u4e8eN\u4e2a\u7ec8\u7aef\u7528\u6237\u5e76\u53d1\u4e0a\u7ebf\uff0c\u6309N\u4e2a\u5e76\u53d1\u63a5\u5165\u6388\u6743\u8ba1\u7b97\u5360\u7528\uff09\u3002","created_by":1013,"created_at":"2025-12-19 10:11:37","updated_at":"2025-12-23 17:44:29","pinyin_shortcut":"sxflxrjrsqrjV20syyaTrust1000V20Cmdmssyy200Mllwgsqmd","product_unit":2,"is_renew":false,"in_out_at":"2025-12-23 17:44:29.767572+08","productType":{"id":7,"key":7,"name":"\u8f6f\u4ef6"},"productComponent":{"id":41,"key":41,"name":"\u5b89\u5168\u8f6f\u4ef6"},"productBrand":{"id":12,"key":12,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1275,"key":1275,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u63a5\u5165\u6388\u6743\u8f6f\u4ef6V2.0"},"productUnit":{"id":2,"key":2,"name":"\u5957"}},"erpSalesOrderProduct":{"id":2071,"erp_sales_order_id":1650,"erp_store_id":null,"product_id":2207,"description":"","number":"200","outbound":"200","amount":"200","total_amount":"40000","last_number":null,"last_amount":null,"last_total_amount":null,"cost":"119.35","total_cost":"23870","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}},{"id":11333,"project_id":3955,"product_id":2208,"amount":"38400","number":2,"cost":"25884.72","description":"","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null,"total_amount":"76800","total_cost":"51769.44","erp_sales_order_product_id":2072,"supplier":null,"product":{"id":2208,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u8bbf\u95ee\u63a7\u5236\u7cfb\u7edf\u8f6f\u4ef6V2.0\uff08aTrust-1000 V2.0G\uff08\u4e70\u65ad\u6a21\u5f0f\uff09\u7528\u4e8e200M\u6d41\u91cf\u7f51\u5173\u6388\u6743\u4e70\u65ad\uff09","product_type":7,"product_component":41,"product_brand":12,"product_serie":1276,"product_misc":null,"product_qa":null,"pn":"","description":"\u96f6\u4fe1\u4efb\u4ee3\u7406\u7f51\u5173\u63a5\u5165\u6d41\u91cf\u4e0a\u9650200M\uff0c\u5efa\u8bae\u7528\u6237\u6570\uff1a\u4e00\u822c\u529e\u516c\u573a\u666f2000\u3001\u5c0f\u5305\u573a\u666f2000\u3001\u8fdc\u7a0b\u684c\u9762\u573a\u666f1000\u3001\u684c\u9762\u4e91\u573a\u666f200\n\u865a\u62df\u673a\u914d\u7f6e\u63a8\u8350\u53c2\u6570\uff1a\u7f51\u53e3\u914d\u7f6e\u22654\u4e2a,\u5355\u865a\u62df\u673a\u78c1\u76d8\u914d\u7f6e\u2265500G\uff1b\u82e5\u5355\u865a\u62df\u673a\u5e76\u53d120000\u4ee5\u4e0a\u78c1\u76d8\u914d\u7f6e\u2265900G\u3002\n\u3010\u4e00\u822c\u529e\u516c\u573a\u666f\u3011CPU\u914d\u7f6e\uff1a4\u6838\uff0c\u5185\u5b58\u914d\u7f6e\uff1a16G\u3002\n\u3010\u5c0f\u5305\u573a\u666f\u3011CPU\u914d\u7f6e\uff1a12\u6838\uff0c\u5185\u5b58\u914d\u7f6e\uff1a24G\u3002","created_by":1013,"created_at":"2025-12-19 10:14:58","updated_at":"2025-12-23 17:44:29","pinyin_shortcut":"sxflxrfwkzxtrjV20aTrust1000V20Gmdmsyy200Mllwgsqmd","product_unit":2,"is_renew":false,"in_out_at":"2025-12-23 17:44:29.767572+08","productType":{"id":7,"key":7,"name":"\u8f6f\u4ef6"},"productComponent":{"id":41,"key":41,"name":"\u5b89\u5168\u8f6f\u4ef6"},"productBrand":{"id":12,"key":12,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":1276,"key":1276,"name":"\u6df1\u4fe1\u670d\u96f6\u4fe1\u4efb\u8bbf\u95ee\u63a7\u5236\u7cfb\u7edf\u8f6f\u4ef6V2.0"},"productUnit":{"id":2,"key":2,"name":"\u5957"}},"erpSalesOrderProduct":{"id":2072,"erp_sales_order_id":1650,"erp_store_id":null,"product_id":2208,"description":"","number":"2","outbound":"2","amount":"38400","total_amount":"76800","last_number":null,"last_amount":null,"last_total_amount":null,"cost":"25884.72","total_cost":"51769.44","supplier_id":null,"hardware_from":null,"software_from":null,"maintenance_from":null,"hardware_to":null,"software_to":null,"maintenance_to":null}}],"projectContactPoints":[],"buildSalesOrderItems":[{"id":13727,"project_id":3955},{"id":13723,"project_id":3955},{"id":13725,"project_id":3955},{"id":13724,"project_id":3955},{"id":13721,"project_id":3955},{"id":13726,"project_id":3955},{"id":13722,"project_id":3955}],"reimbursementAmountSum":{"project_id":3955,"sum":"567.79"},"profit":38845.008,"contact_points_status_display":"\u672a\u8bbe\u7f6e","total_contact_paid_point":0,"total_contact_un_paid_point":0},"salesSupplierRels":[{"id":4095,"contract_id":4322,"supplier_id":236,"purchase_id":4326,"supplier":{"id":236,"key":236,"name":"\u5317\u4eac\u5929\u4fe1\u5b8f\u8fbe\u4fe1\u606f\u6280\u672f\u6709\u9650\u516c\u53f8"},"purchase":{"id":4326,"key":4326,"serial_no":"TSKJ20251219-HYF-01"}}],"contractScan":null,"receiptScan":null,"contractType":{"id":1,"key":1,"name":"\u4ea7\u54c1\u9500\u552e"},"createdBy":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","department_id":1,"avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"handleBy":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","department_id":1,"avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"}},"remindDate":null,"serviceContractRemindDates":[],"salesContractRemindReceivers":[{"id":8805,"user_id":5300,"key":5300,"contract_id":4322,"user":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"}}}],"serviceContractRemindReceivers":[],"salesContractPaymentCollectionRemindReceivers":[{"id":10005,"user_id":5300,"key":5300,"contract_id":4322,"user":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"}}}],"salesContractPaymentCollectionRemindDates":[{"id":2678,"key":2678,"contract_id":4322,"name":"2026-02-21","value":"148320","overdue_days":null,"status":1,"remind_date":"2026-02-21","pct":100,"overdue_display":""}],"salesContractPayments":[{"id":"12172","key":"12172","contract_id":4322,"value":"148320","created_by":1013,"created_at":"2026-01-30 15:37:54","description":null,"collected_date":"2026-01-30 00:00:00","amount":"148320","createdBy":{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210","sex":"M","department_id":7},"pct":100}],"salesContractInvoices":[{"id":2293,"key":2293,"contract_id":4322,"value":"148320","attachment_id":null,"from_date":"2026-01-23","description":"","is_draft":false,"is_cancel":false,"salesInvoiceAmounts":[{"id":2948,"sales_invoice_id":2293,"amount":"148320","tax_rate":"13"}],"attachment":null,"attachmentRelationships":[],"files":[{"id":55783,"object_type":102,"object_id":2293,"attachment_id":31561,"attachment":{"id":31561,"key":31561,"name":"50f4df12-6435-3876-b206-3c0bac2d7f73","extension":"pdf","path":"\/v2\/attachment\/view\/wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm\/50f4df12-6435-3876-b206-3c0bac2d7f73\/dzfp_26112000000296231341_\u6df1\u5733\u6c5f\u539f\u79d1\u6280\u6709\u9650\u516c\u53f8_20260123142910.pdf","orig_name":"dzfp_26112000000296231341_\u6df1\u5733\u6c5f\u539f\u79d1\u6280\u6709\u9650\u516c\u53f8_20260123142910.pdf"}}]}],"contractScans":[{"id":56082,"object_type":105,"object_id":4322,"attachment_id":30672,"attachment":{"id":30672,"key":30672,"name":"38bf2fba-7146-33f1-afba-951951aaa476","extension":"pdf","path":"\/v2\/attachment\/preview\/wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm\/38bf2fba-7146-33f1-afba-951951aaa476\/0755-25148P-EC1114 \u9500\u552e\u5408\u540c \u6df1\u4fe1\u670d \u96f6\u4fe1\u4efb\u8bbf\u95ee\u63a7\u5236 \u5317\u4eac\u62d3\u5b9e\u79d1\u6280\u6709\u9650\u516c\u53f8.pdf","orig_name":"0755-25148P-EC1114 \u9500\u552e\u5408\u540c \u6df1\u4fe1\u670d \u96f6\u4fe1\u4efb\u8bbf\u95ee\u63a7\u5236 \u5317\u4eac\u62d3\u5b9e\u79d1\u6280\u6709\u9650\u516c\u53f8.pdf"}}],"receiptScans":[],"verifyScans":[],"commentCount":{"object_id":4322,"comment":6},"unreadComments":null,"collected_plan":148320,"projectProductTotalAmount":148320,"projectProductAllAmount":true,"projectProductTotalCost":100000,"projectProductAllCost":true,"projectProductTotalCount":206,"invoiced":"148320","un_invoiced":0,"collected":"148320","un_collected":0,"is_collected":true,"handlerPerson":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","avatar":{"id":141,"user_id":5300,"name":"\/files\/cdn\/a57be577deb434\/avatar\/14dfd1a0-6df5-354a-8afd-f0a76fa8e852.png"}},"remind_date":"","remind_ahead_display":"\u65e0","expire_remind_ahead_display":"\u63d0\u524d30\u5929","payment_collection_remind_ahead_display":"\u63d0\u524d1\u5929","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":0},"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":"117.176.186.26","ua":"jinchangxiao\/2.3.158 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-07-09 21:32:16', 128122880) RETURNING "id"
21:32:16.6603.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=102) AND ("object_id"=2293)
21:32:16.6563.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20) AND ("object_id"=2293)
21:32:16.6373.1 msyii\db\Command::querySELECT "id", "project_id" FROM "a57be577deb434"."tbl_sales_order_items" WHERE ("is_system"=TRUE) AND ("project_id"=3955)
21:32:16.6643.0 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=105) AND ("object_id"=4322)
21:32:16.6702.9 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=107) AND ("object_id"=4322)
21:32:16.6672.9 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=106) AND ("object_id"=4322)
21:32:16.6402.4 msyii\db\Command::querySELECT "project_id", sum(amount) AS sum FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (2, 3)) AND ("project_id"=3955) GROUP BY "project_id"
21:32:16.6521.7 msyii\db\Command::querySELECT "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"=4322 ORDER BY "id" DESC
21:32:16.6160.9 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm'
21:32:16.7380.8 msyii\db\Command::querySELECT "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
21:32:16.6250.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3955)
21:32:16.6300.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3955)
21:32:16.7300.7 msyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_invoices" WHERE "contract_id"=4322
21:32:16.6270.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "sales_contract_id"=4322 ORDER BY "id" DESC
21:32:16.6180.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
21:32:16.6310.6 msyii\db\Command::querySELECT "id", "product_type_id", "product_type_id" AS "key", "name", "budget", "pct", "project_id", "profit" FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3955
21:32:16.6200.6 msyii\db\Command::querySELECT "c".* FROM "a57be577deb434"."tbl_sales_contracts" "c" WHERE "c"."id"='4322'
21:32:16.6320.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3955 ORDER BY "id"
21:32:16.6550.5 msyii\db\Command::querySELECT "id", "sales_invoice_id", "amount", "tax_rate" FROM "a57be577deb434"."tbl_sales_invoice_amounts" WHERE "sales_invoice_id"=2293 ORDER BY "id"
21:32:16.6150.4 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
21:32:16.6520.4 msyii\db\Command::querySELECT "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"=4322 ORDER BY "remind_date"
21:32:16.6430.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_supplier_rels" WHERE "contract_id"=4322
21:32:16.6230.4 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=2166
21:32:16.6330.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id" IN (2205, 2206, 2207, 2208)
21:32:16.6480.4 msyii\db\Command::querySELECT "id", "user_id", "user_id" AS "key", "contract_id" FROM "a57be577deb434"."tbl_sales_contract_remind_receivers" WHERE "contract_id"=4322
21:32:16.6500.3 msyii\db\Command::querySELECT "id", "user_id", "user_id" AS "key", "contract_id" FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4322
21:32:16.6260.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1650 ORDER BY "id"
21:32:16.6240.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5300)
21:32:16.6360.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "id" IN (2069, 2070, 2071, 2072)
21:32:16.6550.3 msyii\db\Command::querySELECT "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"=4322 ORDER BY "id"
21:32:16.6460.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5300)
21:32:16.6230.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5300
21:32:16.6280.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1650 ORDER BY "id"
21:32:16.6470.3 msyii\db\Command::querySELECT "id", "id" AS "key", "contract_id", "remind_date" FROM "a57be577deb434"."tbl_service_contract_remind_dates" WHERE ("reminded"=FALSE) AND ("contract_id"=4322) ORDER BY "remind_date"
21:32:16.6440.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=236
21:32:16.6350.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id" IN (1275, 1276, 1748)
21:32:16.6450.3 msyii\db\Command::querySELECT "id", "id" AS "key", "type" AS "name" FROM "a57be577deb434"."tbl_contract_types" WHERE "id"=1
21:32:16.6540.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013
21:32:16.6290.3 msyii\db\Command::querySELECT "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"=3955
21:32:16.6340.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=7
21:32:16.6670.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=30672
21:32:16.6360.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2
21:32:16.6470.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5300
21:32:16.6510.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5300
21:32:16.6350.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=12
21:32:16.6630.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=31561
21:32:16.6450.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5300
21:32:16.6240.3 msyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3955
21:32:16.6260.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_stop_verify_rels" WHERE "erp_sales_order_id"=1650 ORDER BY "id"
21:32:16.6370.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3955
21:32:16.6490.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5300
21:32:16.6470.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5300)
21:32:16.6510.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5300)
21:32:16.6490.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5300)
21:32:16.6290.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_cancel_verify_rels" WHERE "erp_sales_order_id"=1650 ORDER BY "id"
21:32:16.6340.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=41
21:32:16.6440.2 msyii\db\Command::querySELECT "id", "id" AS "key", "serial_no" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4326
21:32:16.6480.2 msyii\db\Command::querySELECT "id", "id" AS "key", "contract_id", "remind_date" AS "name" FROM "a57be577deb434"."tbl_service_contract_remind_dates" WHERE "contract_id"=4322
21:32:16.6500.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_service_contract_remind_receivers" WHERE "contract_id"=4322
21:32:16.6280.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_stop_verify_rels" WHERE "erp_sales_order_id"=1650 ORDER BY "id"
21:32:16.6460.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=1