| 17:58:05.462 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:58:05.462 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:58:05.463 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:58:05.463 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:58:05.463 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:58:05.464 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.464 | info | time tracing start | 1783504685464424960 |
| 17:58:05.464 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:58:05.464 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-collect-ticket/search-settle-items' |
| 17:58:05.464 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:58:05.465 | info | yii\web\Session::open | Session started |
| 17:58:05.466 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:58:05.466 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:58:05.468 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:05.469 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:58:05.470 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.471 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:05.471 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:58:05.472 | trace | yii\base\Controller::runAction | Route to run: vue/erp-collect-ticket/search-settle-items |
| 17:58:05.472 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCollectTicketController::actionSearchSettleItems() |
| 17:58:05.473 | info | yii\db\Command::query | SELECT COUNT(*) FROM ((SELECT
'1' || id::varchar as id,
id as purchase_contract_id,
null::integer as sales_contract_id,
null::integer as erp_other_income_ticket_id,
null::integer as erp_other_collect_ticket_id,
1 as ticket_type,
cost_type,
created_at,
amount,
amount - erp_all_settle_amount as un_settle_amount,
handler,
serial_no,
null as abstract
FROM "a57be577deb434"."tbl_purchase_contracts" WHERE ((amount - erp_all_settle_amount > 0) OR (0=1)) AND (1 = 0)) UNION ALL ( SELECT
'2' || id::varchar as id,
null::integer as purchase_contract_id,
id as sales_contract_id,
null::integer as erp_other_income_ticket_id,
null::integer as erp_other_collect_ticket_id,
2 as ticket_type,
null::integer as cost_type,
created_at,
amount,
amount - erp_all_settle_amount as un_settle_amount,
handler,
serial_no,
null as abstract
FROM "a57be577deb434"."tbl_sales_contracts" WHERE ((amount - erp_all_settle_amount > 0) OR (0=1)) AND (1 = 0) ) UNION ALL ( SELECT
'3' || id::varchar as id,
null::integer as purchase_contract_id,
null::integer as sales_contract_id,
id as erp_other_income_ticket_id,
null::integer as erp_other_collect_ticket_id,
3 as ticket_type,
null::integer as cost_type,
created_at,
amount,
amount - all_settle_amount as un_settle_amount,
null::integer as handler,
serial_no,
abstract
FROM "a57be577deb434"."tbl_erp_other_income_tickets" WHERE ("status"=2) AND ((amount - all_settle_amount > 0) OR (0=1)) AND (1 = 0) ) UNION ALL ( SELECT
'4' || id::varchar as id,
null::integer as purchase_contract_id,
null::integer as sales_contract_id,
null::integer as erp_other_income_ticket_id,
id as erp_other_collect_ticket_id,
4 as ticket_type,
null::integer as cost_type,
created_at,
amount,
amount - all_settle_amount as un_settle_amount,
handler,
serial_no,
abstract
FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE ("status"=2) AND (((bank_settle_at IS NOT NULL) AND (amount - all_settle_amount > 0)) OR (0=1)) AND ("contact_id"='6190') )) "sub" |
| 17:58:05.476 | info | yii\db\Command::query | SELECT * FROM ((SELECT
'1' || id::varchar as id,
id as purchase_contract_id,
null::integer as sales_contract_id,
null::integer as erp_other_income_ticket_id,
null::integer as erp_other_collect_ticket_id,
1 as ticket_type,
cost_type,
created_at,
amount,
amount - erp_all_settle_amount as un_settle_amount,
handler,
serial_no,
null as abstract
FROM "a57be577deb434"."tbl_purchase_contracts" WHERE ((amount - erp_all_settle_amount > 0) OR (0=1)) AND (1 = 0)) UNION ALL ( SELECT
'2' || id::varchar as id,
null::integer as purchase_contract_id,
id as sales_contract_id,
null::integer as erp_other_income_ticket_id,
null::integer as erp_other_collect_ticket_id,
2 as ticket_type,
null::integer as cost_type,
created_at,
amount,
amount - erp_all_settle_amount as un_settle_amount,
handler,
serial_no,
null as abstract
FROM "a57be577deb434"."tbl_sales_contracts" WHERE ((amount - erp_all_settle_amount > 0) OR (0=1)) AND (1 = 0) ) UNION ALL ( SELECT
'3' || id::varchar as id,
null::integer as purchase_contract_id,
null::integer as sales_contract_id,
id as erp_other_income_ticket_id,
null::integer as erp_other_collect_ticket_id,
3 as ticket_type,
null::integer as cost_type,
created_at,
amount,
amount - all_settle_amount as un_settle_amount,
null::integer as handler,
serial_no,
abstract
FROM "a57be577deb434"."tbl_erp_other_income_tickets" WHERE ("status"=2) AND ((amount - all_settle_amount > 0) OR (0=1)) AND (1 = 0) ) UNION ALL ( SELECT
'4' || id::varchar as id,
null::integer as purchase_contract_id,
null::integer as sales_contract_id,
null::integer as erp_other_income_ticket_id,
id as erp_other_collect_ticket_id,
4 as ticket_type,
null::integer as cost_type,
created_at,
amount,
amount - all_settle_amount as un_settle_amount,
handler,
serial_no,
abstract
FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE ("status"=2) AND (((bank_settle_at IS NOT NULL) AND (amount - all_settle_amount > 0)) OR (0=1)) AND ("contact_id"='6190') )) "sub" |
| 17:58:05.477 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.478 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.480 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.480 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:05.480 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-collect-ticket/search-settle-items', '{"id":"","contact_id":"6190","web_access_token":"1miv9vbRO-laHXjWHcrxyLIdOPR3NCIy"}', '{"code":2000,"result":{"list":[],"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":-1}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-08 17:58:05', 16132864) RETURNING "id" |
| 17:58:05.485 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:05.485 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |