18:55:44.709 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
18:55:44.709 | trace | yii\base\Module::getModule | Loading module: debug |
18:55:44.709 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
18:55:44.710 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
18:55:44.710 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
18:55:44.710 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.710 | trace | yii\base\Module::getModule | Loading module: gii |
18:55:44.710 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
18:55:44.710 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
18:55:44.710 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-payment-ticket/of-purchase-contract' |
18:55:44.710 | trace | yii\base\Module::getModule | Loading module: vue |
18:55:44.711 | info | yii\web\Session::open | Session started |
18:55:44.711 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5016 |
18:55:44.711 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
18:55:44.715 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.716 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:55:44.716 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.716 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:55:44.716 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
18:55:44.718 | trace | yii\base\Controller::runAction | Route to run: vue/erp-payment-ticket/of-purchase-contract |
18:55:44.718 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.719 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
18:55:44.719 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpPaymentTicketController::actionOfPurchaseContract() |
18:55:44.719 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.719 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:55:44.719 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.720 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.721 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
18:55:44.722 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT r.* FROM "a57be577deb434"."tbl_erp_payment_tickets" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_ticket_verify_rels" "rvr" ON rvr.erp_payment_ticket_id = r.id LEFT JOIN "a57be577deb434"."tbl_erp_payment_ticket_settles" "eptss" ON eptss.erp_payment_ticket_id = r.id WHERE "eptss"."purchase_contract_id"='4079' GROUP BY "r"."id" ORDER BY r.created_at DESC) "c" |
18:55:44.724 | info | yii\db\Command::query | SELECT r.* FROM "a57be577deb434"."tbl_erp_payment_tickets" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_ticket_verify_rels" "rvr" ON rvr.erp_payment_ticket_id = r.id LEFT JOIN "a57be577deb434"."tbl_erp_payment_ticket_settles" "eptss" ON eptss.erp_payment_ticket_id = r.id WHERE "eptss"."purchase_contract_id"='4079' GROUP BY "r"."id" ORDER BY r.created_at DESC LIMIT 20 OFFSET 20 |
18:55:44.725 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
18:55:44.725 | info | yii\db\Command::query | SELECT count(*) as count, sum(amount) as sum, "status" FROM (SELECT r.amount,
CASE WHEN r.status = 2 and r.is_payment_settle = false THEN 21
WHEN r.status = 2 and r.is_payment_settle = true THEN 22
ELSE r.status END as status FROM "a57be577deb434"."tbl_erp_payment_tickets" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_ticket_verify_rels" "rvr" ON rvr.erp_payment_ticket_id = r.id WHERE ("r"."created_by"=5016) OR ("rvr"."user_id"=5016) 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" |
18:55:44.727 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.728 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:55:44.728 | 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', 5016, 5, 'vue/erp-payment-ticket/of-purchase-contract', '{"id":"4079","page":"2","web_access_token":"POegKS4EpeWp9q2F-96BFFHj5EMI_RkV"}', '{"code":2000,"result":{"list":[],"can_create":true,"pagenation":{"totalcount":1,"thispage":2,"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":910,"key":22,"name":"\u5df2\u5b8c\u6210","color":"#E7F3D5","border":"#70B603","sum":"95691573.71"},{"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-11 18:55:44') RETURNING "id" |
18:55:44.729 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:55:44.730 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |