All Latest
6a3e31748a20a: POST https://beta.jinchangxiao.com/vue/erp-sales-return/verify at 2026-06-26 03:59:48 pm by 221.216.117.25

Log Messages

总计238条数据
TimeLevelCategoryMessage
 
15:59:48.564traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:59:48.564traceyii\base\Module::getModuleLoading module: debug
15:59:48.565traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:59:48.566traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:59:48.566traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:59:48.566traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.567infotime tracing start1782460788567444992
15:59:48.567traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:59:48.567traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-return/verify'
15:59:48.567traceyii\base\Module::getModuleLoading module: vue
15:59:48.568infoyii\web\Session::openSession started
15:59:48.570infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:59:48.570infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:59:48.571traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.572traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.573infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:59:48.574traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.574traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.575infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:59:48.575traceyii\base\Controller::runActionRoute to run: vue/erp-sales-return/verify
15:59:48.576traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.578traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewErp
15:59:48.578traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: StoreKeeper
15:59:48.578traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: FinancialAudit
15:59:48.578traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: AccountManager
15:59:48.578traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesReturnController::actionVerify()
15:59:48.578infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_returns" WHERE "id"='7'
15:59:48.579traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.579traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.580infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_verify_rels" WHERE ("status"=0) AND ("erp_sales_return_id"=7) ORDER BY "id"
15:59:48.580traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.580traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.581traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.582traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.583traceyii\db\Transaction::beginBegin transaction
15:59:48.584infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_return_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=12
15:59:48.585traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.585traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.585infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesReturnVerifyRels', 12, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.25')
15:59:48.586infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_sales_return_verify_rels" WHERE ("status"=0) AND ("erp_sales_return_id"=7) ORDER BY "id") "c"
15:59:48.586infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_returns" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=7
15:59:48.587infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesReturns', 7, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.25')
15:59:48.587infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_returns" WHERE "id"=7
15:59:48.588infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:59:48.589infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_verify_rels" WHERE ("status"=0) AND ("erp_sales_return_id"=7) ORDER BY "id"
15:59:48.589infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_carbon_copy_rels" WHERE "erp_sales_return_id"=7
15:59:48.590traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.590infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:59:48.594infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:59:48.600traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.600traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:59:48.600infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_returns" WHERE "id"=7
15:59:48.602infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:59:48.602infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20009', 7, '刘人诚通过了这个审批', TRUE, 'XSTHD-20260626-00001') RETURNING "id"
15:59:48.611infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220983, 'a:11:{s:2:"id";i:220983;s:9:"object_id";i:7;s:11:"object_type";s:5:"20009";s:6:"parent";N;s:11:"description";s:30:"刘人诚通过了这个审批";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:20:"XSTHD-20260626-00001";}', '', 1001, '221.216.117.25')
15:59:48.618infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
15:59:48.619infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3457
15:59:48.620traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.620traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.621infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4157
15:59:48.621traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.622traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.635traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
15:59:48.635traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
15:59:48.635traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
15:59:48.635infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_returns" SET "next_verify_user"=NULL WHERE "id"=7
15:59:48.636infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesReturns', 7, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.637infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_returns" WHERE "id"=7
15:59:48.637traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.637infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_ticket_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:59:48.641infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_ticket_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:59:48.647traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.647traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:59:48.648infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20009, 'XSTHD-20260626-00001', '2026-06-26', '', NULL, '33333', 3457, NULL, NULL, NULL, 1001, '2026-06-26 15:59:08', '2026-06-26 15:59:48', 7, '2026-06-26 15:59:48.583981+08') RETURNING "id"
15:59:48.658infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpTicketChangeLogs', 2955, 'a:17:{s:2:"id";i:2955;s:9:"serial_no";s:20:"XSTHD-20260626-00001";s:11:"ticket_type";i:20009;s:10:"wrote_date";s:10:"2026-06-26";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:3457;s:8:"abstract";N;s:11:"description";s:0:"";s:9:"verify_at";s:29:"2026-06-26 15:59:48.583981+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-26 15:59:08";s:10:"updated_at";s:19:"2026-06-26 15:59:48";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:5:"33333";s:9:"object_id";i:7;}', '', 1001, '221.216.117.25')
15:59:48.659traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.659infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_ticket_change_log_handlers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:59:48.662infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_ticket_change_log_handlers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:59:48.667traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.667traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:59:48.668infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (2955, 1001)
15:59:48.679infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_return_id"=7
15:59:48.680traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.680traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.680infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "id"=534
15:59:48.681traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.681traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.681infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2177
15:59:48.682traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.682traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.682infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "id"=447
15:59:48.685traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.686traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.686infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=152
15:59:48.686traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.687traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.687infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1695
15:59:48.688traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.688traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.688infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4453
15:59:48.689traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.689traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.689infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "is_chargeback_verify"=FALSE WHERE "id"=4453
15:59:48.690infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4453, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.690infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3457
15:59:48.691infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4157
15:59:48.692infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5))
15:59:48.693infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status" IN (2, 5))
15:59:48.694infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
15:59:48.695infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status"=1))
15:59:48.695infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status"=1))
15:59:48.696infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status"=1))
15:59:48.697infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (1, 2, 5))
15:59:48.698infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status" IN (1, 2, 5))
15:59:48.698infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status" IN (1, 2, 5))
15:59:48.699infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='555', "erp_un_settle_amount"='32778', "erp_all_settle_amount"='556' WHERE "id"=4453
15:59:48.700infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4453, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.701infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3457
15:59:48.702infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4157
15:59:48.702infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4157
15:59:48.704infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "collected"='555' WHERE "id"=4157
15:59:48.705infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4157) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:59:48.707traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.707traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.707infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4157, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.708infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3457
15:59:48.710infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_status_logs" WHERE "project_id"=4157 ORDER BY "created_at" DESC
15:59:48.712traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.712infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_project_status_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:59:48.716infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_project_status_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:59:48.721traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.721traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:59:48.721infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4453
15:59:48.722traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.723infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_sales_contract_payment_collection_remind_dates' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:59:48.726infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_sales_contract_payment_collection_remind_dates' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:59:48.730traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.731traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:59:48.731infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4453
15:59:48.731infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status" IN (2, 5, 1))
15:59:48.732infoyii\db\Command::querySELECT r.amount, t.wrote_date as created_at FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4453) AND ("t"."status" IN (2, 5, 1))
15:59:48.733traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.733infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_collect_ticket_settles' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:59:48.736infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_collect_ticket_settles' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:59:48.742traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.742traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:59:48.742infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4157
15:59:48.743infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4453
15:59:48.745infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4157) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:59:48.747infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4157, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.747infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3457
15:59:48.748infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4453) AND (amount > paid_amount) ORDER BY "remind_date"
15:59:48.749infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_return_id"=7
15:59:48.750infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "id"=534
15:59:48.750infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2177
15:59:48.751infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=152
15:59:48.751infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_id"=152
15:59:48.752infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_outbound_spent_product_id"=534
15:59:48.752infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_returns" WHERE "id"=7
15:59:48.753infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" WHERE "erp_sales_outbound_spent_product_id"=534
15:59:48.753infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_outbound_spent_products" SET "cancel_number"='1', "cancel_amount"='33333', "cancel_total_amount"='33333' WHERE "id"=534
15:59:48.754infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOutboundSpentProducts', 534, 'a:3:{s:13:"cancel_number";s:1:"0";s:13:"cancel_amount";s:1:"0";s:19:"cancel_total_amount";s:1:"0";}', '', 1001, '221.216.117.25')
15:59:48.755infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE 0=1
15:59:48.755infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_outbound_id"=152
15:59:48.756traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.756traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.756infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=152
15:59:48.757infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=447
15:59:48.757infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_id"=152
15:59:48.758infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_outbound_spent_product_id"=534
15:59:48.758infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_product_spents" SET "actual_total_amount"='0', "outbound"='0', "total_amount"='0', "sales_outbound"='0' WHERE "id"=730
15:59:48.759infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpInventoryProductSpents', 730, 'a:4:{s:19:"actual_total_amount";s:1:"0";s:8:"outbound";i:0;s:12:"total_amount";i:0;s:14:"sales_outbound";i:0;}', '', 1001, '221.216.117.25')
15:59:48.760infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_outbounds" SET "is_used"=TRUE WHERE "id"=152
15:59:48.765infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOutbounds', 152, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.765infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=2177
15:59:48.766traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.767traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.767infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=469
15:59:48.768infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=469
15:59:48.768infoyii\db\Command::querySELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=469
15:59:48.769infoyii\db\Command::querySELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=469
15:59:48.769infoyii\db\Command::querySELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=469
15:59:48.770infoyii\db\Command::querySELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=469
15:59:48.770infoyii\db\Command::querySELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=469
15:59:48.771infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='0', "inventory"='1', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=469
15:59:48.771infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpInventoryProducts', 469, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.772infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=414
15:59:48.772traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.773traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.773infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "inventory"='1', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=414
15:59:48.773infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpPurchaseInboundProducts', 414, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.774traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.774traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.774infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "is_used"=FALSE WHERE "id"=202
15:59:48.775infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1
15:59:48.776infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1
15:59:48.776infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1
15:59:48.777infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1
15:59:48.777infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1
15:59:48.778infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
15:59:48.778traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.778traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.778infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
15:59:48.779infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_total_amount"='1' WHERE "id"=469
15:59:48.785infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpInventoryProducts', 469, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.786infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1695
15:59:48.786infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1695
15:59:48.787traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.787traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.788infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id"=2217
15:59:48.788infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=152
15:59:48.789infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=447
15:59:48.789infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_outbound_spent_product_id"=534
15:59:48.790infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_returns" WHERE "id"=7
15:59:48.790infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2217
15:59:48.791infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrderProducts', 2217, 'a:1:{s:8:"outbound";i:0;}', '', 1001, '221.216.117.25')
15:59:48.791traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.791traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.792infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2217
15:59:48.793infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "outbound_status"=FALSE, "is_used"=FALSE WHERE "id"=1695
15:59:48.797infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1695, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.799infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4453
15:59:48.799infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "is_outbound"=FALSE WHERE "id"=4453
15:59:48.800infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4453, 'a:0:{}', '', 1001, '221.216.117.25')
15:59:48.801infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3457
15:59:48.801infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4157
15:59:48.802infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:59:48.803infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:59:48.803traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.804traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.804infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (6, 'status', 7, 20009, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u9500\u552e\u9000\u8d27\u5355\u7533\u8bf7","d4":""}')
15:59:48.804infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20009) AND ("object_id"=7) AND ("remind_user_id"=1001) AND ("is_read"=FALSE)
15:59:48.826traceyii\db\Transaction::commitCommit transaction
15:59:48.830traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.830traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:59:48.830infoyii\db\Command::queryINSERT 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-sales-return/verify', '{"id":"7","description":"","web_access_token":"r0J-lCBFZ2oBNvygnaGJSmtE8O_U85dp"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u9000\u8d27\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-06-26 15:59:48', 263330048) RETURNING "id"
15:59:48.833traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:59:48.833traceyii\redis\Connection::executeCommandExecuting Redis Command: SET