21:14:14.565 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
21:14:14.565 | trace | yii\base\Module::getModule | Loading module: debug |
21:14:14.565 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
21:14:14.565 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
21:14:14.565 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
21:14:14.565 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.566 | trace | yii\base\Module::getModule | Loading module: gii |
21:14:14.566 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
21:14:14.566 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
21:14:14.566 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-cost-ticket/list' |
21:14:14.566 | trace | yii\base\Module::getModule | Loading module: vue |
21:14:14.566 | info | yii\web\Session::open | Session started |
21:14:14.567 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
21:14:14.567 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
21:14:14.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:14:14.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.572 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:14:14.572 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:14:14.574 | trace | yii\base\Controller::runAction | Route to run: vue/erp-cost-ticket/list |
21:14:14.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.575 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
21:14:14.575 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCostTicketController::actionList() |
21:14:14.575 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.575 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:14:14.575 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.576 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.576 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
21:14:14.578 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT r.* FROM "a57be577deb434"."tbl_erp_cost_tickets" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cost_ticket_verify_rels" "rvr" ON rvr.erp_cost_ticket_id = r.id WHERE ("r"."created_by"=1001) OR ("rvr"."user_id"=1001) 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.created_at DESC) "c" |
21:14:14.579 | info | yii\db\Command::query | SELECT r.* FROM "a57be577deb434"."tbl_erp_cost_tickets" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cost_ticket_verify_rels" "rvr" ON rvr.erp_cost_ticket_id = r.id WHERE ("r"."created_by"=1001) OR ("rvr"."user_id"=1001) 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.created_at DESC LIMIT 20 |
21:14:14.580 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
21:14:14.580 | info | yii\db\Command::query | SELECT count(*) as count, CASE WHEN status = 21 THEN sum(amount - settle_amount)
WHEN status = 22 THEN sum(settle_amount)
ELSE sum(amount) END as sum, "status" FROM (SELECT r.amount, r.settle_amount,
CASE WHEN r.status = 2 and settle_amount < r.amount THEN 21
WHEN r.status = 2 and settle_amount >= r.amount THEN 22
ELSE r.status END as status FROM "a57be577deb434"."tbl_erp_cost_tickets" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cost_ticket_verify_rels" "rvr" ON rvr.erp_cost_ticket_id = r.id WHERE ("r"."created_by"=1001) OR ("rvr"."user_id"=1001) 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") "sub" GROUP BY "status" |
21:14:14.581 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.581 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:14:14.581 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-cost-ticket/list', '[]', '{"code":2000,"result":{"list":[],"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":20},"count":{"statusCount":[{"count":0,"key":1,"name":"\u5ba1\u6838\u4e2d","color":"#FEF7EC","border":"#FACD91","sum":0},{"count":0,"key":21,"name":"\u5f85\u4ed8\u6b3e","color":"#F4E8FF","border":"#C280FF","sum":0},{"count":0,"key":22,"name":"\u5df2\u5b8c\u6210","color":"#E7F3D5","border":"#70B603","sum":0},{"count":0,"key":4,"name":"\u5df2\u62d2\u7edd","color":"#F9D4D9","border":"#D9001B","sum":0}]}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-08-08 21:14:14') RETURNING "id" |
21:14:14.583 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.583 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_browser_ua_statistics" "b" WHERE "user_agent"='Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)' |
21:14:14.584 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:14:14.584 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:14:14.584 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |