All Latest
6a1bf114d2b4b: POST https://beta.jinchangxiao.com/v2/erp-dashboard/get-ticket at 2026-05-31 04:28:04 pm by 117.133.85.104

Log Messages

总计67条数据
TimeLevelCategoryMessage
 
16:28:04.862traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:28:04.862traceyii\base\Module::getModuleLoading module: debug
16:28:04.862traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:28:04.863traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:28:04.863traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:28:04.863traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.863infotime tracing start1780216084863692032
16:28:04.863traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:28:04.863traceyii\web\Application::handleRequestRoute requested: 'v2/erp-dashboard/get-ticket'
16:28:04.863traceyii\base\Module::getModuleLoading module: v2
16:28:04.864infoyii\web\Session::openSession started
16:28:04.865infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:28:04.865infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='ONv_OQ6eSOxFL2I62K1e82WGipv8fS1S'
16:28:04.866traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.866traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:28:04.866traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.867traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:28:04.867infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
16:28:04.868traceyii\base\Controller::runActionRoute to run: v2/erp-dashboard/get-ticket
16:28:04.868traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ErpDashboardController::actionGetTicket()
16:28:04.868traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.868traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:28:04.868traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.869traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.872infoyii\db\Command::querySELECT * FROM (SELECT * FROM (SELECT (r.id::varchar || 20031::varchar) as id, r.id as id2, null::integer as supplier_id, null::integer as client_id, null::integer as user_id, null::integer as contact_id, r.wrote_date, r.serial_no, 20031 as ticket_type, r.abstract, r.description, r.created_by, r.amount, r.status, null::numeric as settle_amount, false as is_payment_settle, r.created_at, CASE WHEN 1 = r.verify_type THEN rvr.status ELSE ( CASE WHEN r.next_verify_user = 1000 THEN 0 ELSE (CASE WHEN rvr.status = 0 THEN NULL ELSE rvr.status END) END) END as verify_status, CASE WHEN 1 = r.verify_type THEN rsvr.status ELSE ( CASE WHEN r.next_stop_verify_user = 1000 THEN 0 ELSE (CASE WHEN rsvr.status = 0 THEN NULL ELSE rsvr.status END) END) END as stop_verify_status, null::integer as cancel_verify_status FROM "a57be577deb434"."tbl_erp_inventory_overflows" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_overflow_verify_rels" "rvr" ON rvr.erp_inventory_overflow_id = r.id AND rvr.user_id = 1000 LEFT JOIN "a57be577deb434"."tbl_erp_inventory_overflow_stop_verify_rels" "rsvr" ON rsvr.erp_inventory_overflow_id = r.id AND rsvr.user_id = 1000 WHERE "r"."status" != 0 GROUP BY "r"."id", "rvr"."status", "rsvr"."status") "sub") "sub" WHERE ("id2"='10') AND ("ticket_type"='20031')
16:28:04.874infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1004
16:28:04.874infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1004)
16:28:04.875infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=1
16:28:04.875infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflows" WHERE "id"=10
16:28:04.876infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1004
16:28:04.876infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1004)
16:28:04.876infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=1
16:28:04.877infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_carbon_copy_rels" WHERE "erp_inventory_overflow_id"=10
16:28:04.877infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_verify_rels" WHERE "erp_inventory_overflow_id"=10 ORDER BY "id"
16:28:04.877infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5064, 5250)
16:28:04.878infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5064, 5250))
16:28:04.878infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_verify_rels" WHERE ("status"=0) AND ("erp_inventory_overflow_id"=10) ORDER BY "id"
16:28:04.878infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
16:28:04.879infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5064)
16:28:04.879infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_verify_rels" WHERE ("status" != 0) AND ("erp_inventory_overflow_id"=10) ORDER BY "id"
16:28:04.879infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_verify_rels" WHERE ("status" = 0) AND ("user_id"=1000) AND ("erp_inventory_overflow_id"=10)
16:28:04.880infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_stop_verify_rels" WHERE "erp_inventory_overflow_id"=10 ORDER BY "id"
16:28:04.880infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_stop_verify_rels" WHERE ("status"=0) AND ("erp_inventory_overflow_id"=10) ORDER BY "id"
16:28:04.880infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_stop_verify_rels" WHERE ("status" != 0) AND ("erp_inventory_overflow_id"=10) ORDER BY "id"
16:28:04.881infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_stop_verify_rels" WHERE ("status" = 0) AND ("user_id"=1000) AND ("erp_inventory_overflow_id"=10)
16:28:04.881infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20057) AND ("object_id"=10)
16:28:04.885infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20058) AND ("object_id"=10)
16:28:04.889infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"=1
16:28:04.896infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE "erp_inventory_overflow_id"=10
16:28:04.904infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"=1
16:28:04.908infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261
16:28:04.909infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4
16:28:04.915infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=52
16:28:04.924infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4
16:28:04.927infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1769
16:28:04.928infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=3
16:28:04.928infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_product_sns" WHERE "erp_inventory_overflow_product_id"=14
16:28:04.928infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "erp_inventory_overflow_product_id"=14
16:28:04.929infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=20031) AND ("object_id"=10) GROUP BY "object_id"
16:28:04.954infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20031) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=10) GROUP BY "object_id"
16:28:04.977traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.978traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewProduct
16:28:04.978traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: StoreKeeper
16:28:04.978traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:28:04.979traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:28:04.979traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:28:04.979infoyii\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, 6, 176, 'v2/erp-dashboard/get-ticket', '{"id":"10","ticket_type":"20031","posttime":"1780216085","access_token":"ONv_OQ6eSOxFL2I62K1e82WGipv8fS1S","device_type":"6","version_code":"176","token":"dace7c48dd8fe64e36ebd08e1a4e8aa4"}', '{"code":200,"data":{"ticket":{"id":10,"id2":10,"supplier_id":null,"client_id":null,"user_id":null,"contact_id":null,"wrote_date":"2026-05-21","serial_no":"BYD-20260521-00003","ticket_type":"20031","abstract":"\u65b9\u5f0f\u662f\u5bf9\u65b9","description":null,"created_by":1004,"amount":"432","status":1,"settle_amount":null,"is_payment_settle":false,"created_at":"2026-05-21 18:20:28","verify_status":null,"stop_verify_status":null,"cancel_verify_status":null,"createdBy":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0","sex":"M","department_id":1,"avatar":{"id":10,"user_id":1004,"name":"\/files\/cdn\/a57be577deb434\/avatar\/1004.jpg"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"supplier":null,"client":null,"user":null,"contact":null,"ticket_type_display":"\u62a5\u6ea2\u5355","model":{"id":10,"serial_no":"BYD-20260521-00003","from_date":null,"wrote_date":"2026-05-21","need_handler":false,"handler":null,"erp_store_id":1,"status":1,"abstract":"\u65b9\u5f0f\u662f\u5bf9\u65b9","description":null,"verify_type":2,"next_verify_user":5064,"next_stop_verify_user":null,"verify_at":"","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"432","cancel_number":null,"cancel_amount":null,"created_by":1004,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-05-21 18:20:28","updated_at":"2026-05-21 18:20:28","createdBy":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0","sex":"M","department_id":1,"avatar":{"id":10,"user_id":1004,"name":"\/files\/cdn\/a57be577deb434\/avatar\/1004.jpg"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"handlerPerson":{"id":null,"key":null,"name":"\u516c\u53f8\u6536\u5165","sex":null,"department_id":null,"avatar":{"id":null,"user_id":null,"name":"\/files\/cdn\/a57be577deb434\/2021\/01\/51931101-63c0-36db-8e97-e68282eef06c.png"},"department":null},"erpInventoryOverflowCarbonCopyRels":[],"erpInventoryOverflowVerifyRels":[{"id":11,"erp_inventory_overflow_id":10,"user_id":5064,"status":0,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}},{"id":12,"erp_inventory_overflow_id":10,"user_id":5250,"status":0,"description":null,"verify_at":"","user":{"id":5250,"key":5250,"name":"\u8463\u8363","sex":"M","avatar":{"id":157,"user_id":5250,"name":"\/files\/cdn\/a57be577deb434\/avatar\/10f9a0d9-7ea7-3910-9465-6ece76a0dae4.png"}}}],"lastErpInventoryOverflowVerifyRel":{"id":11,"erp_inventory_overflow_id":10,"user_id":5064,"status":0,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}},"haveErpInventoryOverflowVerifyRel":null,"selfErpInventoryOverflowVerifyRel":null,"erpInventoryOverflowStopVerifyRels":[],"lastErpInventoryOverflowStopVerifyRel":null,"haveErpInventoryOverflowStopVerifyRel":null,"selfErpInventoryOverflowStopVerifyRel":null,"attachmentRelationships":[],"files":[],"erpStore":{"id":1,"key":1,"name":"\u62d3\u5b9e\u4ed3\u5e93"},"erpInventoryOverflowProducts":[{"id":14,"erp_inventory_overflow_id":10,"erp_purchase_order_product_id":null,"erp_store_id":1,"product_id":2261,"description":"","number":"1","outbound":"0","inventory":"0","amount":"432","total_amount":"432.00","lost_outbound":null,"build_spent_outbound":null,"disassemble_spent_outbound":null,"sales_outbound":null,"sales_gift_outbound":null,"cancel_number":null,"cancel_amount":null,"cancel_total_amount":null,"erpStore":{"id":1,"key":1,"name":"\u62d3\u5b9e\u4ed3\u5e93"},"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-05-21 18:10:51","pinyin_shortcut":"MKMC300","product_unit":3,"is_renew":false,"in_out_at":"2026-05-21 18:10:51.145864+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"}},"erpInventoryOverflowProductSns":[],"erpPurchaseOrderProduct":null,"erpInventoryProduct":null}],"commentCount":{"object_id":10,"comment":1},"unreadComments":null,"unread":0,"can_update":false,"can_import_sn":false,"can_delete":false,"can_resubmit":false,"can_verify":false,"can_refuse":false,"can_stop":true,"can_create_erp_purchase_return":false,"can_stop_verify":false,"can_stop_refuse":false,"bgcolor":"#EA8917","status_display":"\u5ba1\u6838\u4e2d","can_view_product":true},"fgcolor":"#EB6100","bgcolor":"#FBDFCC","status_display":"\u5ba1\u6838\u4e2d","unit":null}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"117.133.85.104","ua":"jinchangxiao\/1.0.40 (HUAWEI Mate 60 BRA-AL00; HarmonyOS 6.1.0)"}', FALSE, '2026-05-31 16:28:04', 115918848) RETURNING "id"