Log Messages

总计283条数据
TimeLevelCategoryMessage
 
15:39:37.631traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:39:37.631traceyii\base\Module::getModuleLoading module: debug
15:39:37.631traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:39:37.631traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:39:37.632traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:39:37.632traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.632traceyii\base\Module::getModuleLoading module: gii
15:39:37.632traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
15:39:37.632traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:39:37.632traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-order/verify'
15:39:37.632traceyii\base\Module::getModuleLoading module: vue
15:39:37.632infoyii\web\Session::openSession started
15:39:37.633infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:39:37.633infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:39:37.637traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.637traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.638traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.638traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.638infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.640traceyii\base\Controller::runActionRoute to run: vue/erp-sales-order/verify
15:39:37.640traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.641traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewErp
15:39:37.641traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: AccountManager
15:39:37.641traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesOrderController::actionVerify()
15:39:37.641infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"='1573'
15:39:37.642traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.642traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.642traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.643traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.643infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status" = 0) AND ("user_id"=1001) AND ("erp_sales_order_id"=1573)
15:39:37.644traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.644traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.644infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_order_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=14
15:39:37.646traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.646traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.646infoyii\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\ErpSalesOrderVerifyRels', 14, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.194.148.30')
15:39:37.648infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1573) ORDER BY "id") "c"
15:39:37.648infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=1573
15:39:37.649infoyii\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', 1573, 'a:2:{s:6:"status";i:2;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.194.148.30')
15:39:37.650infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1573
15:39:37.651infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.651infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1573) ORDER BY "id"
15:39:37.651infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_carbon_copy_rels" WHERE "erp_sales_order_id"=1573
15:39:37.652infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1573 ORDER BY "id"
15:39:37.652traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.652traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.652infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1573
15:39:37.653infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:39:37.654infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20007', 1573, '刘人诚通过了这个审批', TRUE, 'XSDD-20250821-00002') RETURNING "id"
15:39:37.657infoyii\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', 186605, 'a:11:{s:2:"id";i:186605;s:9:"object_id";i:1573;s:11:"object_type";s:5:"20007";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:19:"XSDD-20250821-00002";}', '', 1001, '221.194.148.30')
15:39:37.659infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
15:39:37.660infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.661traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.661traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.661infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.662traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.662traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.664traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
15:39:37.664traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
15:39:37.664traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
15:39:37.664infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "next_verify_user"=NULL WHERE "id"=1573
15:39:37.665infoyii\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', 1573, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.666infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.668traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.668infoyii\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_statuses' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:39:37.673infoyii\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_statuses' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:39:37.679traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.679traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:39:37.679infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3
15:39:37.679infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2
15:39:37.680traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.680traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.681infoyii\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, 'project_status', 3915, 1, 1001, 'now()', '["\u5546\u673a\u6210\u4ea4"]', '["\u660e\u786e\u9700\u6c42"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u660e\u786e\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u5546\u673a\u6210\u4ea4"]}')
15:39:37.682infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.682infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3
15:39:37.683infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2
15:39:37.683infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.685traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.685traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.686infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'project_status', 3915, 1, 1001, 'now()', '["\u5546\u673a\u6210\u4ea4"]', '["\u660e\u786e\u9700\u6c42"]', array[5087], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u660e\u786e\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u5546\u673a\u6210\u4ea4"]}')
15:39:37.692traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.692infoyii\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:39:37.697infoyii\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:39:37.704traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.704traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:39:37.704infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "old_status", "new_status", "created_by", "created_at") VALUES (3915, 2, 3, 1001, 'now()') RETURNING "id"
15:39:37.708infoyii\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\ProjectStatusLogs', 3718, 'a:6:{s:2:"id";i:3718;s:10:"project_id";i:3915;s:10:"new_status";i:3;s:10:"old_status";i:2;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.194.148.30')
15:39:37.726infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "project_status"=3, "change_status_to"=NULL, "is_verify"=FALSE WHERE "id"=3915
15:39:37.728infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3915) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:39:37.730traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.730traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.730infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=16539
15:39:37.732infoyii\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\ProjectChangeLogs', 16539, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.194.148.30')
15:39:37.733infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (3915, 3, '200000', '100', '0', 'now()', NULL) RETURNING "id"
15:39:37.736infoyii\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\ProjectChangeLogs', 16706, 'a:8:{s:2:"id";i:16706;s:10:"project_id";i:3915;s:14:"project_status";i:3;s:6:"budget";s:6:"200000";s:10:"profit_pct";s:3:"100";s:9:"collected";s:1:"0";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.194.148.30')
15:39:37.737infoyii\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', 3915, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.738infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.739infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.739infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2
15:39:37.739infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3
15:39:37.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3915
15:39:37.741traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.741traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.741infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1573
15:39:37.742infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.742infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.743infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:39:37.744infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '1', 3915, TRUE, '刘人诚更新了一条商机状态明确需求变为商机成交', '') RETURNING "id"
15:39:37.745infoyii\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', 186606, 'a:11:{s:2:"id";i:186606;s:9:"object_id";i:3915;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:66:"刘人诚更新了一条商机状态明确需求变为商机成交";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:0:"";}', '', 1001, '221.194.148.30')
15:39:37.746traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.748traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.748infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (3915, '1', 186606, 5087)
15:39:37.754infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=5087) AND ("id" != 1001) AND (channel_id IS NOT NULL)
15:39:37.755infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.757traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
15:39:37.757traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
15:39:37.757traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
15:39:37.757infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5087
15:39:37.758traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
15:39:37.758traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
15:39:37.758traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
15:39:37.758infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3915
15:39:37.759traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.760traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.760infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE ("created_at" >= '2025-08-21 00:00:00') AND ("created_at" <= '2025-08-21 23:59:59') AND ("serial_no" ILIKE '%2025-08-21-%') AND (LENGTH(serial_no) = 14) ORDER BY "serial_no" DESC
15:39:37.761infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contracts" ("contract_type", "client_id", "project_id", "from_project", "amount", "signed_at", "handler", "created_by", "build_by_project", "need_analysis", "serial_no", "erp_un_settle_amount") VALUES (2, 2699, 3915, 3915, '200000', '2025-07-18', 5087, 1001, TRUE, TRUE, '2025-08-21-001', '200000') RETURNING "id"
15:39:37.767infoyii\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\SalesContracts', 4099, 'a:39:{s:2:"id";i:4099;s:9:"client_id";i:2699;s:9:"signed_at";s:10:"2025-07-18";s:6:"amount";s:6:"200000";s:7:"handler";i:5087;s:11:"description";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:13:"contract_scan";N;s:12:"receipt_scan";N;s:13:"contract_type";i:2;s:10:"project_id";i:3915;s:10:"valid_date";N;s:11:"expire_date";N;s:3:"sla";N;s:12:"remind_ahead";N;s:19:"expire_remind_ahead";N;s:15:"expire_reminded";N;s:9:"serial_no";s:14:"2025-08-21-001";s:31:"payment_collection_remind_ahead";N;s:12:"from_project";i:3915;s:12:"receipt_date";N;s:11:"verify_date";N;s:13:"including_tax";N;s:16:"build_by_project";b:1;s:13:"need_analysis";b:1;s:9:"is_settle";N;s:10:"is_deliver";N;s:11:"is_outbound";N;s:18:"is_save_collection";N;s:18:"save_collection_at";N;s:9:"is_verify";N;s:8:"is_draft";N;s:17:"erp_settle_amount";N;s:20:"erp_un_settle_amount";s:6:"200000";s:28:"erp_payment_ticket_is_verify";N;s:28:"erp_collect_ticket_is_verify";N;s:30:"erp_cash_cost_ticket_is_verify";N;}', '', 1001, '221.194.148.30')
15:39:37.768infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.769infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.769infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "sales_contract_id"=4099 WHERE "id"=1573
15:39:37.770infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4099
15:39:37.771infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.771infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 4099, 7, 1001, '2025-08-21 15:39:37', '{"id":4099,"client_id":2699,"signed_at":"2025-07-18","amount":"200000","handler":5087,"description":null,"created_by":1001,"created_at":"2025-08-21 15:39:37","updated_at":"2025-08-21 15:39:37","contract_scan":null,"receipt_scan":null,"contract_type":2,"project_id":3915,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2025-08-21-001","payment_collection_remind_ahead":"00:00:00","from_project":3915,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"200000","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false}', '{"id":4099,"client_id":2699,"signed_at":"2025-07-18","amount":"200000","handler":5087,"description":null,"created_by":1001,"created_at":"2025-08-21 15:39:37","updated_at":"2025-08-21 15:39:37","contract_scan":null,"receipt_scan":null,"contract_type":2,"project_id":3915,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2025-08-21-001","payment_collection_remind_ahead":"00:00:00","from_project":3915,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"200000","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":[]}') RETURNING "id"
15:39:37.773infoyii\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', 554060, 'a:13:{s:2:"id";i:554060;s:9:"object_id";i:4099;s:11:"object_type";i:7;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:903:"{"id":4099,"client_id":2699,"signed_at":"2025-07-18","amount":"200000","handler":5087,"description":null,"created_by":1001,"created_at":"2025-08-21 15:39:37","updated_at":"2025-08-21 15:39:37","contract_scan":null,"receipt_scan":null,"contract_type":2,"project_id":3915,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2025-08-21-001","payment_collection_remind_ahead":"00:00:00","from_project":3915,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"200000","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false}";s:9:"new_value";s:903:"{"id":4099,"client_id":2699,"signed_at":"2025-07-18","amount":"200000","handler":5087,"description":null,"created_by":1001,"created_at":"2025-08-21 15:39:37","updated_at":"2025-08-21 15:39:37","contract_scan":null,"receipt_scan":null,"contract_type":2,"project_id":3915,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2025-08-21-001","payment_collection_remind_ahead":"00:00:00","from_project":3915,"receipt_date":null,"verify_date":null,"including_tax":true,"build_by_project":true,"need_analysis":true,"is_settle":false,"is_deliver":false,"is_outbound":false,"is_save_collection":false,"save_collection_at":null,"is_verify":false,"is_draft":false,"erp_settle_amount":null,"erp_un_settle_amount":"200000","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-08-21 15:39:37";s:9:"is_delete";N;}', '', 1001, '221.194.148.30')
15:39:37.774infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.775infoyii\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 (1, 'create', 2699, 10, 4099, 7, 1001, '[4099]', '[4099]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-08-21-001"]}') RETURNING "id"
15:39:37.776infoyii\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', 554061, 'a:13:{s:2:"id";i:554061;s:9:"object_id";i:2699;s:11:"object_type";i:10;s:9:"target_id";i:4099;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4099]";s:9:"new_value";s:6:"[4099]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-08-21-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.194.148.30')
15:39:37.776infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.777infoyii\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 (1, 'create', 3915, 1, 4099, 7, 1001, '[4099]', '[4099]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-08-21-001"]}') RETURNING "id"
15:39:37.778infoyii\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', 554062, 'a:13:{s:2:"id";i:554062;s:9:"object_id";i:3915;s:11:"object_type";i:1;s:9:"target_id";i:4099;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4099]";s:9:"new_value";s:6:"[4099]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-08-21-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.194.148.30')
15:39:37.779infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.780infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.780infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3915, 1, 4099, 7, 1001, '4099', '4099', array[5087], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-08-21-001"]}') RETURNING "id"
15:39:37.781infoyii\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\UserActionLogs', 149630, 'a:15:{s:2:"id";i:149630;s:9:"object_id";i:3915;s:11:"object_type";i:1;s:9:"target_id";i:4099;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"4099";s:9:"new_value";s:4:"4099";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[5087]";s:6:"params";a:0:{}}s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2025-08-21-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.194.148.30')
15:39:37.783infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "project_id"=3915
15:39:37.790infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.790infoyii\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, 'payment_collection_remind_ahead', 3915, 1, 1001, 'now()', '["\u63d0\u524d1\u5929"]', '["\u4e0d\u63d0\u9192"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["\u4e0d\u63d0\u9192 <b>\u53d8\u4e3a<\/b> \u63d0\u524d1\u5929"]}')
15:39:37.791infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.792infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'payment_collection_remind_ahead', 3915, 1, 1001, 'now()', '["\u63d0\u524d1\u5929"]', '["\u4e0d\u63d0\u9192"]', array[5087], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["\u4e0d\u63d0\u9192 <b>\u53d8\u4e3a<\/b> \u63d0\u524d1\u5929"]}')
15:39:37.794infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3915)
15:39:37.795infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "payment_collection_remind_ahead"='1 day', "is_draft"=TRUE, "is_save_collection"=TRUE, "save_collection_at"='now()' WHERE "id"=4099
15:39:37.796infoyii\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', 4099, 'a:22:{s:11:"description";N;s:13:"contract_scan";N;s:12:"receipt_scan";N;s:10:"valid_date";N;s:11:"expire_date";N;s:3:"sla";N;s:12:"remind_ahead";N;s:19:"expire_remind_ahead";N;s:15:"expire_reminded";N;s:31:"payment_collection_remind_ahead";s:5:"1 day";s:12:"receipt_date";N;s:11:"verify_date";N;s:13:"including_tax";N;s:9:"is_settle";N;s:10:"is_deliver";N;s:11:"is_outbound";N;s:18:"save_collection_at";s:5:"now()";s:9:"is_verify";N;s:17:"erp_settle_amount";N;s:28:"erp_payment_ticket_is_verify";N;s:28:"erp_collect_ticket_is_verify";N;s:30:"erp_cash_cost_ticket_is_verify";N;}', '', 1001, '221.194.148.30')
15:39:37.797infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.797infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.798infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=1001) AND ("type"=1)
15:39:37.800traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.800infoyii\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_contract_default_remind_users' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:39:37.803infoyii\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_contract_default_remind_users' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:39:37.810traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.810traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:39:37.810infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (1001, 1004, 1), (1001, 1000, 1), (1001, 5250, 1), (1001, 5016, 1), (1001, 5064, 1), (1001, 5311, 1), (1001, 5300, 1), (1001, 1001, 1), (1001, 5087, 1)
15:39:37.815infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4099
15:39:37.816infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1004'
15:39:37.817infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000'
15:39:37.817infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5250'
15:39:37.818infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5016'
15:39:37.819infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5064'
15:39:37.819infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5311'
15:39:37.820infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5300'
15:39:37.821infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001'
15:39:37.821infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5087'
15:39:37.822infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.823infoyii\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, 'salesContractPaymentCollectionRemindReceivers', 4099, 7, 1001, 'now()', '[["\u4f0a\u5cfb\u8fb0","\u66f9\u6c38\u751f","\u8463\u8363","\u9ad8\u90e1\u9633","\u59da\u96ea\u7eaf","\u62d3\u5c0f\u6587","\u82cf\u6e05\u4e91","\u5218\u4eba\u8bda","\u5218\u5fae"]]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u4eba","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4f0a\u5cfb\u8fb0;\u66f9\u6c38\u751f;\u8463\u8363;\u9ad8\u90e1\u9633;\u59da\u96ea\u7eaf;\u62d3\u5c0f\u6587;\u82cf\u6e05\u4e91;\u5218\u4eba\u8bda;\u5218\u5fae;"]}')
15:39:37.824infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4099
15:39:37.824traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.824infoyii\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_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:39:37.828infoyii\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_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:39:37.839traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.839traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:39:37.839infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 1004) RETURNING "id"
15:39:37.846infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8995, 'a:3:{s:2:"id";i:8995;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"1004";}', '', 1001, '221.194.148.30')
15:39:37.847infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 1000) RETURNING "id"
15:39:37.848infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8996, 'a:3:{s:2:"id";i:8996;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"1000";}', '', 1001, '221.194.148.30')
15:39:37.850infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 5250) RETURNING "id"
15:39:37.851infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8997, 'a:3:{s:2:"id";i:8997;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"5250";}', '', 1001, '221.194.148.30')
15:39:37.852infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 5016) RETURNING "id"
15:39:37.853infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8998, 'a:3:{s:2:"id";i:8998;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"5016";}', '', 1001, '221.194.148.30')
15:39:37.854infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 5064) RETURNING "id"
15:39:37.855infoyii\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\SalesContractPaymentCollectionRemindReceivers', 8999, 'a:3:{s:2:"id";i:8999;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"5064";}', '', 1001, '221.194.148.30')
15:39:37.856infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 5311) RETURNING "id"
15:39:37.857infoyii\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\SalesContractPaymentCollectionRemindReceivers', 9000, 'a:3:{s:2:"id";i:9000;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"5311";}', '', 1001, '221.194.148.30')
15:39:37.858infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 5300) RETURNING "id"
15:39:37.859infoyii\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\SalesContractPaymentCollectionRemindReceivers', 9001, 'a:3:{s:2:"id";i:9001;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"5300";}', '', 1001, '221.194.148.30')
15:39:37.860infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 1001) RETURNING "id"
15:39:37.861infoyii\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\SalesContractPaymentCollectionRemindReceivers', 9002, 'a:3:{s:2:"id";i:9002;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"1001";}', '', 1001, '221.194.148.30')
15:39:37.862infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4099, 5087) RETURNING "id"
15:39:37.863infoyii\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\SalesContractPaymentCollectionRemindReceivers', 9003, 'a:3:{s:2:"id";i:9003;s:11:"contract_id";i:4099;s:7:"user_id";s:4:"5087";}', '', 1001, '221.194.148.30')
15:39:37.864infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4099
15:39:37.865traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.866infoyii\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:39:37.870infoyii\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:39:37.876traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.876traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:39:37.876infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4099
15:39:37.877infoyii\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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.879infoyii\db\Command::querySELECT r.amount, t.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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.880infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.880infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4099
15:39:37.881infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3915) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:39:37.883infoyii\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', 3915, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.884infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.884infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4099
15:39:37.885infoyii\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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.885infoyii\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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.887infoyii\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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.888infoyii\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"=4099) AND ("t"."status"=1))
15:39:37.888infoyii\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"=4099) AND ("t"."status"=1))
15:39:37.889infoyii\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"=4099) AND ("t"."status"=1))
15:39:37.889infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='200000' WHERE "id"=4099
15:39:37.890infoyii\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', 4099, 'a:1:{s:17:"erp_settle_amount";i:0;}', '', 1001, '221.194.148.30')
15:39:37.891infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.892infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.892infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.893infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "collected"='0' WHERE "id"=3915
15:39:37.894infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3915) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:39:37.895infoyii\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', 3915, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.896infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.897infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4099
15:39:37.897infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4099
15:39:37.897infoyii\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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.898infoyii\db\Command::querySELECT r.amount, t.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"=4099) AND ("t"."status" IN (2, 5, 1))
15:39:37.898infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.899infoyii\db\Command::querySELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4099
15:39:37.900infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3915) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:39:37.901infoyii\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', 3915, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.902infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.903infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.904infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2699
15:39:37.907infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2699) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:39:37.935traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.935traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.935infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2699, 5087, 'now()', NULL) RETURNING "id"
15:39:37.937infoyii\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', 178000, 'a:5:{s:2:"id";i:178000;s:9:"client_id";i:2699;s:9:"sales_rep";i:5087;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.194.148.30')
15:39:37.938infoyii\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', 2699, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.939infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:37.940infoyii\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', 2699, 10, 3915, 1, 1001, '[3915]', '[3915]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u6280\u672f\u670d\u52a1\u8d39\uff08\u534e\u8baf\u9879\u76ee\uff09"]}') RETURNING "id"
15:39:37.941infoyii\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', 554065, 'a:13:{s:2:"id";i:554065;s:9:"object_id";i:2699;s:11:"object_type";i:10;s:9:"target_id";i:3915;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3915]";s:9:"new_value";s:6:"[3915]";s:11:"description";s:149:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u6280\u672f\u670d\u52a1\u8d39\uff08\u534e\u8baf\u9879\u76ee\uff09"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.194.148.30')
15:39:37.942infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2699
15:39:37.943infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2025-01-01 00:00:00') AND ("bargain_date" <= '2025-12-31 23:59:59') AND ("client_id"=2699)
15:39:37.944infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "cooperate_count"=1 WHERE "id"=2699
15:39:37.946infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2699) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:39:37.968infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2699, 5087, 'now()', NULL) RETURNING "id"
15:39:37.981infoyii\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', 178001, 'a:5:{s:2:"id";i:178001;s:9:"client_id";i:2699;s:9:"sales_rep";i:5087;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.194.148.30')
15:39:37.982infoyii\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', 2699, 'a:1:{s:15:"cooperate_count";i:1;}', '', 1001, '221.194.148.30')
15:39:37.984traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
15:39:37.985traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
15:39:37.985traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
15:39:37.986traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
15:39:37.986traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
15:39:37.986traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
15:39:37.986infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915
15:39:37.986infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3915)
15:39:37.987infoyii\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', 1573, 'a:0:{}', '', 1001, '221.194.148.30')
15:39:37.988infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1
15:39:37.988infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1573
15:39:37.989traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.989traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:37.989infoyii\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, 20007, 'XSDD-20250821-00002', '2025-07-18', NULL, NULL, '0', 2699, NULL, NULL, NULL, 1001, '2025-08-21 15:36:05', '2025-08-21 15:39:37', 1573, '2025-08-21 15:39:37.648937+08') RETURNING "id"
15:39:37.995infoyii\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', 140, 'a:17:{s:2:"id";i:140;s:9:"serial_no";s:19:"XSDD-20250821-00002";s:11:"ticket_type";i:20007;s:10:"wrote_date";s:10:"2025-07-18";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:2699;s:8:"abstract";N;s:11:"description";N;s:9:"verify_at";s:29:"2025-08-21 15:39:37.648937+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-08-21 15:36:05";s:10:"updated_at";s:19:"2025-08-21 15:39:37";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:1:"0";s:9:"object_id";i:1573;}', '', 1001, '221.194.148.30')
15:39:37.997traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:37.997infoyii\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:39:37.999infoyii\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:39:38.005traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:38.005traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:39:38.005infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (140, 5087)
15:39:38.013infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:38.014infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:39:38.014infoyii\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', 1573, 20007, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":""}')
15:39:38.015traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:38.015traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:39:38.015infoyii\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/erp-sales-order/verify', '{"id":"1573","description":"","web_access_token":"0OmNcjMNpl7I6Nbm2bTJGMI-xreQBLAo"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u8ba2\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0}', FALSE, '2025-08-21 15:39:38') RETURNING "id"
15:39:38.017traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:39:38.017traceyii\redis\Connection::executeCommandExecuting Redis Command: SET