17:17:22.356 | 5.0 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "id"=5250 |
17:17:22.362 | 1.6 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250 |
17:17:22.368 | 0.9 ms | SELECT | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
17:17:22.369 | 1.6 ms | SELECT | SELECT COUNT(*) FROM (SELECT r.* FROM "a57be577deb434"."tbl_erp_sales_gifts" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_gift_verify_rels" "rvr" ON rvr.erp_sales_gift_id = r.id LEFT JOIN "a57be577deb434"."tbl_erp_sales_gift_products" "epop" ON epop.erp_sales_gift_id = r.id LEFT JOIN "a57be577deb434"."tbl_products" "product" ON epop.product_id = product.id WHERE ("r"."created_by"=5250) OR ("rvr"."user_id"=5250) OR ("r"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1017, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5388, 5446, 5449)) GROUP BY "r"."id" ORDER BY "r"."updated_at" DESC) "c" |
17:17:22.371 | 0.8 ms | SELECT | SELECT r.* FROM "a57be577deb434"."tbl_erp_sales_gifts" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_gift_verify_rels" "rvr" ON rvr.erp_sales_gift_id = r.id LEFT JOIN "a57be577deb434"."tbl_erp_sales_gift_products" "epop" ON epop.erp_sales_gift_id = r.id LEFT JOIN "a57be577deb434"."tbl_products" "product" ON epop.product_id = product.id WHERE ("r"."created_by"=5250) OR ("rvr"."user_id"=5250) OR ("r"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1017, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5388, 5446, 5449)) GROUP BY "r"."id" ORDER BY "r"."updated_at" DESC LIMIT 20 |
17:17:22.372 | 1.3 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5250, 5, 'vue/erp-sales-gift/list', '{"Filter":{"name":"updated_at","sort":"DESC"},"ErpSalesGiftSearch":{"wrote_date_period":"","created_at_period":"","status":"","erp_store_id":"","handler":"","created_by":"","number_range_to":"","number_range_from":"","amount_range_to":"","amount_range_from":""},"page":"1","web_access_token":"whZjM8ZfyqxulYW-_i5kn1yK2K5nH7iz"}', '{"code":2000,"result":{"list":[],"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-08-06 17:17:22') RETURNING "id" |