Log Messages

总计231条数据
TimeLevelCategoryMessage
 
16:24:28.420traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:24:28.420traceyii\base\Module::getModuleLoading module: debug
16:24:28.420traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:24:28.420traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:24:28.420traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:24:28.420traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.421traceyii\base\Module::getModuleLoading module: gii
16:24:28.421traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
16:24:28.421traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:24:28.421traceyii\web\Application::handleRequestRoute requested: 'vue/purchase-contract/save-edit'
16:24:28.421traceyii\base\Module::getModuleLoading module: vue
16:24:28.421infoyii\web\Session::openSession started
16:24:28.422infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
16:24:28.422infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:24:28.426traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.426traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.426traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.427traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.427infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:24:28.429traceyii\base\Controller::runActionRoute to run: vue/purchase-contract/save-edit
16:24:28.429traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.430traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:24:28.430traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\PurchaseContractController::actionSaveEdit()
16:24:28.430infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='4141'
16:24:28.431traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.431traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.431traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.431traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'product_number' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'product_amount' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractProductRels' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'receiptScans' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseClientRels' in 'app\models\PurchaseContracts'.
16:24:28.432traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'PurchaseContractInvoices' in 'app\models\PurchaseContracts'.
16:24:28.433infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "serial_no"='而特热舞' LIMIT 2
16:24:28.434infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='431')
16:24:28.434infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1011')
16:24:28.435infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
16:24:28.435traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.435traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.435infoyii\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 (2, 'amount', 4141, 13, 1001, 'now()', '["6868\u5143"]', '["3434\u5143"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5408\u540c\u603b\u989d","d4":["3434\u5143 <b>\u53d8\u4e3a<\/b> 6868\u5143"]}')
16:24:28.437infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=4141)
16:24:28.439infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=4141)
16:24:28.441infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=111) AND ("object_id"=4141)
16:24:28.443infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=111) AND ("object_id"=4141)
16:24:28.445infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=4141
16:24:28.445traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.445traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.445infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=4141
16:24:28.447infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_sales_supplier_rels" WHERE "purchase_id"=4141
16:24:28.452infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_client_rels" ("contract_id", "client_id", "project_id") VALUES (4141, 1661, 1791) RETURNING "id"
16:24:28.456traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.456traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.456infoyii\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\PurchaseClientRels', 3804, 'a:4:{s:2:"id";i:3804;s:11:"contract_id";i:4141;s:9:"client_id";s:4:"1661";s:10:"project_id";s:4:"1791";}', '', 1001, '114.246.237.213')
16:24:28.457infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"='1791'
16:24:28.458traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.459traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.459traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.459infoyii\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_supplier_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:24:28.463infoyii\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_supplier_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:24:28.468traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.468traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:24:28.468infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_supplier_rels" ("contract_id", "supplier_id", "purchase_id") VALUES (1558, 431, 4141) RETURNING "id"
16:24:28.474infoyii\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\SalesSupplierRels', 3208, 'a:4:{s:2:"id";i:3208;s:11:"contract_id";i:1558;s:11:"supplier_id";s:3:"431";s:11:"purchase_id";i:4141;}', '', 1001, '114.246.237.213')
16:24:28.475infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE "contract_id"=4141
16:24:28.476infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=4141
16:24:28.476infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE 0=1
16:24:28.477infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE 0=1
16:24:28.477infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "supplier_id"=431, "contract_type"=1, "amount"='6868', "handler"=1011, "updated_at"='now()', "including_tax"=TRUE, "is_draft"=FALSE WHERE "id"=4141
16:24:28.478infoyii\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\PurchaseContracts', 4141, 'a:2:{s:6:"amount";s:4:"6868";s:8:"is_draft";s:1:"0";}', '', 1001, '114.246.237.213')
16:24:28.479infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='431'
16:24:28.479traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.479traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.479infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_product_rels" WHERE "purchase_contract_id"=4141
16:24:28.480traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.480traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.480traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.480traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.480infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=1040
16:24:28.481infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"='1040'
16:24:28.481infoyii\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 (2, 'purchaseContractProductRels', 4141, 13, 1001, 'now()', '[["\u5b81\u76fe\u4ee4\u724c\u8f6f\u4ef6V1.0:\u6570\u91cf 2 \u91d1\u989d 3434\u5143"]]', '[["\u5b81\u76fe\u4ee4\u724c\u8f6f\u4ef6V1.0:\u6570\u91cf 1 \u91d1\u989d 3434\u5143"]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u4ea7\u54c1\u660e\u7ec6","d4":["\u5b81\u76fe\u4ee4\u724c\u8f6f\u4ef6V1.0:\u6570\u91cf 1 \u91d1\u989d 3434\u5143; <b>\u53d8\u4e3a<\/b> \u5b81\u76fe\u4ee4\u724c\u8f6f\u4ef6V1.0:\u6570\u91cf 2 \u91d1\u989d 3434\u5143;"]}')
16:24:28.482infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contract_product_rels" WHERE "purchase_contract_id"=4141
16:24:28.482infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_product_rels" WHERE "id"=96
16:24:28.483infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contract_product_rels" SET "product_id"=1040, "number"='2', "total_amount"='6868.00' WHERE "id"=96
16:24:28.483infoyii\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\PurchaseContractProductRels', 96, 'a:2:{s:6:"number";s:1:"2";s:12:"total_amount";s:7:"6868.00";}', '', 1001, '114.246.237.213')
16:24:28.484infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_product_rels" WHERE 0=1
16:24:28.484infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4141
16:24:28.485infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=4141 ORDER BY "id"
16:24:28.485traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.486traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.486infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
16:24:28.512infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1661
16:24:28.514infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1661) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
16:24:28.536traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.536infoyii\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_client_am_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:24:28.539infoyii\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_client_am_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:24:28.543traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.543traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:24:28.543infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1661, 1001, 'now()', NULL) RETURNING "id"
16:24:28.548infoyii\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\ClientAmChangeLogs', 180870, 'a:5:{s:2:"id";i:180870;s:9:"client_id";i:1661;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.246.237.213')
16:24:28.549infoyii\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\Clients', 1661, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.550infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 1661, 10, 4141, 13, 1001, '[4141]', '[4141]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u800c\u7279\u70ed\u821e"]}') RETURNING "id"
16:24:28.551infoyii\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\ObjectChangeLogs', 565463, 'a:13:{s:2:"id";i:565463;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:4141;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4141]";s:9:"new_value";s:6:"[4141]";s:11:"description";s:144:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u800c\u7279\u70ed\u821e"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
16:24:28.552traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.552traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.552infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791
16:24:28.554infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1791
16:24:28.555infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1791) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
16:24:28.561traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.561traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.561infoyii\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', 1791, 'a:1:{s:6:"end_at";s:19:"2021-04-19 22:25:38";}', '', 1001, '114.246.237.213')
16:24:28.562infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
16:24:28.562infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 1791, 1, 4141, 13, 1001, '[4141]', '[4141]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u800c\u7279\u70ed\u821e"]}') RETURNING "id"
16:24:28.563infoyii\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\ObjectChangeLogs', 565464, 'a:13:{s:2:"id";i:565464;s:9:"object_id";i:1791;s:11:"object_type";i:1;s:9:"target_id";i:4141;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4141]";s:9:"new_value";s:6:"[4141]";s:11:"description";s:144:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u800c\u7279\u70ed\u821e"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
16:24:28.564infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 431, 12, 4141, 13, 1001, '[4141]', '[4141]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u800c\u7279\u70ed\u821e"]}') RETURNING "id"
16:24:28.565infoyii\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\ObjectChangeLogs', 565465, 'a:13:{s:2:"id";i:565465;s:9:"object_id";i:431;s:11:"object_type";i:12;s:9:"target_id";i:4141;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4141]";s:9:"new_value";s:6:"[4141]";s:11:"description";s:144:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u800c\u7279\u70ed\u821e"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
16:24:28.566infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_orders" WHERE "purchase_contract_id"=4141
16:24:28.567traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.567traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.567infoyii\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\ErpPurchaseOrders', 2044, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.568infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_purchase_order_projects" WHERE "erp_purchase_order_id"=2044
16:24:28.569traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.569infoyii\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_purchase_order_projects' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:24:28.572infoyii\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_purchase_order_projects' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:24:28.576traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.576traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:24:28.576infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_purchase_order_projects" ("client_id", "project_id", "erp_purchase_order_id") VALUES (1661, 1791, 2044)
16:24:28.579infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "is_verify"=TRUE WHERE "id"=4141
16:24:28.580infoyii\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\PurchaseContracts', 4141, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.581infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='431'
16:24:28.582infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_product_rels" WHERE "purchase_contract_id"=4141
16:24:28.582infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_orders" SET "number"='2', "amount"='6868' WHERE "id"=2044
16:24:28.583infoyii\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\ErpPurchaseOrders', 2044, 'a:1:{s:6:"amount";d:6868;}', '', 1001, '114.246.237.213')
16:24:28.584traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.584infoyii\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_purchase_order_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:24:28.586infoyii\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_purchase_order_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:24:28.590traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.590traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:24:28.590infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_order_verify_rels" SET "status"=3 WHERE ("erp_purchase_order_id"=2044) AND ("status"=0)
16:24:28.591infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_purchase_order_stop_verify_rels" WHERE "erp_purchase_order_id"=2044
16:24:28.591infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_purchase_order_stop_products" WHERE "erp_purchase_order_id"=2044
16:24:28.592infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_orders" SET "stop_at"='now()' WHERE "id"=2044
16:24:28.592infoyii\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\ErpPurchaseOrders', 2044, 'a:1:{s:7:"stop_at";s:5:"now()";}', '', 1001, '114.246.237.213')
16:24:28.593traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.593infoyii\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_purchase_order_stop_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:24:28.596infoyii\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_purchase_order_stop_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:24:28.600traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.600traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:24:28.600infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_purchase_order_stop_products" ("erp_purchase_order_id", "erp_purchase_order_product_id", "product_id", "erp_store_id", "amount", "total_amount", "number", "description") VALUES (2044, 67, 1040, NULL, '3434', '6868.00', '2', '')
16:24:28.602traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.602traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.602infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_verify_processes" WHERE "id"=1
16:24:28.603infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE ("id"='1011') AND ("user_status"='1') ORDER BY array_position(array[1011], id)
16:24:28.603traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.603infoyii\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_purchase_order_stop_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:24:28.606infoyii\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_purchase_order_stop_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:24:28.610traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.610traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:24:28.610infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_purchase_order_stop_verify_rels" ("erp_purchase_order_id", "user_id", "status") VALUES (2044, 1011, 0)
16:24:28.611infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_order_stop_verify_rels" WHERE ("erp_purchase_order_id"=2044) AND ("status"=0) ORDER BY "id"
16:24:28.612infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_orders" SET "status"=5, "next_stop_verify_user"=1011, "updated_at"='now()' WHERE "id"=2044
16:24:28.613infoyii\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\ErpPurchaseOrders', 2044, 'a:1:{s:6:"status";i:5;}', '', 1001, '114.246.237.213')
16:24:28.614infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:24:28.614infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_order_stop_verify_rels" WHERE ("status"=0) AND ("erp_purchase_order_id"=2044) ORDER BY "id"
16:24:28.614infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_order_stop_verify_rels" WHERE ("status"=0) AND ("erp_purchase_order_id"=2044) ORDER BY "id"
16:24:28.615infoyii\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\ErpPurchaseOrders', 2044, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.616traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.616traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.616infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_orders" WHERE "id"=2044
16:24:28.616infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
16:24:28.617infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20001', 2044, '刘人诚 有一个采购订单需要审批', TRUE, 'CGDD-20250912-00001') RETURNING "id"
16:24:28.618infoyii\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', 191375, 'a:11:{s:2:"id";i:191375;s:9:"object_id";i:2044;s:11:"object_type";s:5:"20001";s:6:"parent";N;s:11:"description";s:43:"刘人诚 有一个采购订单需要审批";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:19:"CGDD-20250912-00001";}', '', 1001, '114.246.237.213')
16:24:28.619traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.619traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.619infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (2044, '20001', 191375, 1011)
16:24:28.620infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1011) AND ("id" != 1001) AND (channel_id IS NOT NULL)
16:24:28.621infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:24:28.622traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
16:24:28.622traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
16:24:28.622traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
16:24:28.622infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=431
16:24:28.622infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4141
16:24:28.623traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
16:24:28.623traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
16:24:28.623traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
16:24:28.623infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:24:28.623infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:24:28.624infoyii\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 (11, 'status', 2044, 20001, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u7f16\u8f91\u4e86","d3":"\u91c7\u8d2d\u8ba2\u5355\u7533\u8bf7","d4":""}')
16:24:28.624infoyii\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\ErpPurchaseOrders', 2044, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.625infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_order_products" WHERE "erp_purchase_order_id"=2044
16:24:28.626traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.626traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.626infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "erp_purchase_order_product_id"=67
16:24:28.626traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.627traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.627infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id" IN (36, 37, 35)
16:24:28.627traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.628traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.628infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_order_products" SET "into_inventory"='1' WHERE "id"=67
16:24:28.629infoyii\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\ErpPurchaseOrderProducts', 67, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.629infoyii\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\ErpPurchaseOrders', 2044, 'a:0:{}', '', 1001, '114.246.237.213')
16:24:28.630infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_income_ticket_purchase_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_income_tickets" "t" ON r.erp_other_income_ticket_id = t.id WHERE ("r"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5))
16:24:28.631infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5))
16:24:28.632infoyii\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"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
16:24:28.633infoyii\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"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5))
16:24:28.634infoyii\db\Command::querySELECT EXISTS(SELECT "r".* FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."purchase_contract_id"=4141) AND ("t"."status"=1))
16:24:28.634infoyii\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"."purchase_contract_id"=4141) AND ("t"."status"=1))
16:24:28.635infoyii\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"."purchase_contract_id"=4141) AND ("t"."status"=1)
16:24:28.635infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "erp_settle_amount"='44', "erp_un_settle_amount"='6824' WHERE "id"=4141
16:24:28.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\PurchaseContracts', 4141, 'a:1:{s:20:"erp_un_settle_amount";i:6824;}', '', 1001, '114.246.237.213')
16:24:28.637infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=431
16:24:28.637infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_costs" WHERE "purchase_contract_id"=4141
16:24:28.638infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4141
16:24:28.638traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.638traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.638infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4141
16:24:28.639infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_other_income_ticket_purchase_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_income_tickets" "t" ON r.erp_other_income_ticket_id = t.id WHERE ("r"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5, 1))
16:24:28.639traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.639traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.639infoyii\db\Command::querySELECT r.amount, t.created_at FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5, 1))
16:24:28.640infoyii\db\Command::querySELECT r.amount, t.created_at 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"."purchase_contract_id"=4141) AND ("t"."status" IN (2, 5, 1))
16:24:28.640traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.640traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.641infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE ("contract_id"=4141) AND (amount > paid_amount) ORDER BY "remind_date"
16:24:28.641traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.641traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:24:28.641infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/purchase-contract/save-edit', '{"PurchaseContracts":{"id":"4141","supplier_id":"431","is_draft":"0","amount":"6868","handler":"1011","contract_type":"1","serial_no":"\u800c\u7279\u70ed\u821e","signed_at":"2025-09-12","description":"","including_tax":"1","product_number":"2","product_amount":"6868","purchaseContractProductRels":{"96":{"product_id":"1040","number":"2","amount":"3434","total_amount":"6868.00","erp_store_id":"","description":""}},"contractScans":"","receiptScans":"","purchaseClientRels":[{"client_id":"1661","project_id":"1791"}],"PurchaseContractInvoices":""},"web_access_token":"S7OJrULURAq348jTGnVvRiAMpe10N7Zn"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u91c7\u8d2d\u5408\u540c\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-09-15 16:24:28') RETURNING "id"
16:24:28.643traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:24:28.643traceyii\redis\Connection::executeCommandExecuting Redis Command: SET