| 16:53:15.763 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 16:53:15.763 | trace | yii\base\Module::getModule | Loading module: debug |
| 16:53:15.763 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 16:53:15.763 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 16:53:15.763 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 16:53:15.763 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.763 | info | time tracing start | 1780390395763910912 |
| 16:53:15.764 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 16:53:15.764 | trace | yii\web\Application::handleRequest | Route requested: 'vue/project/save-edit' |
| 16:53:15.764 | trace | yii\base\Module::getModule | Loading module: vue |
| 16:53:15.764 | info | yii\web\Session::open | Session started |
| 16:53:15.764 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 16:53:15.764 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 16:53:15.765 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.766 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.766 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.766 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.766 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.767 | trace | yii\base\Controller::runAction | Route to run: vue/project/save-edit |
| 16:53:15.767 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.768 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 16:53:15.768 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ProjectController::actionSaveEdit() |
| 16:53:15.768 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4174' |
| 16:53:15.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'profit' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'from_contact_name' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesForecast' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchaseType' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'opportunityFrom' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'payment_collection_remind_ahead' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductRels' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectContactPoints' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectContactPointRels' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectUsedClient' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectArchitects' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesContractPaymentCollectionRemindReceivers' in 'app\models\Projects'. |
| 16:53:15.771 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesContractPaymentCollectionRemindDates' in 'app\models\Projects'. |
| 16:53:15.771 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=4174 |
| 16:53:15.772 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (5, 226, 184, 189, 349)) ORDER BY "sort" |
| 16:53:15.772 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='3462') AND ("project_title"='销售线索生成20260602001') AND ("id" != 4174)) |
| 16:53:15.773 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1') |
| 16:53:15.773 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3462') |
| 16:53:15.774 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='3') |
| 16:53:15.774 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='3') |
| 16:53:15.774 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 16:53:15.775 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 16:53:15.775 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=4174) |
| 16:53:15.776 | trace | yii\db\Transaction::begin | Begin transaction |
| 16:53:15.776 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.777 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=4174 |
| 16:53:15.777 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.778 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.778 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.778 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.778 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=2 |
| 16:53:15.778 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=2 |
| 16:53:15.779 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.779 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.779 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.779 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'projectProductTypes', 4174, 1, 1001, 'now()', '[["\u670d\u52a1\u5668:0\u5143 0%"]]', '[["\u670d\u52a1\u5668:\u5143 %"]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u91d1\u989d","d4":["\u670d\u52a1\u5668:\u5143 %; <b>\u53d8\u4e3a<\/b> \u670d\u52a1\u5668:0\u5143 0%;"]}') |
| 16:53:15.781 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3462' |
| 16:53:15.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.782 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.783 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.783 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.783 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'projectProductTypes', 4174, 1, 1001, 'now()', '[["\u670d\u52a1\u5668:0\u5143 0%"]]', '[["\u670d\u52a1\u5668:\u5143 %"]]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u91d1\u989d","d4":["\u670d\u52a1\u5668:\u5143 %; <b>\u53d8\u4e3a<\/b> \u670d\u52a1\u5668:0\u5143 0%;"]}') |
| 16:53:15.788 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4174 |
| 16:53:15.790 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=4174 |
| 16:53:15.791 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=2 |
| 16:53:15.791 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (4174, 2, '服务器', '0', 0, '0') |
| 16:53:15.795 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4174 ORDER BY "id" |
| 16:53:15.796 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:15.796 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4174 ORDER BY "id" |
| 16:53:15.798 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:15.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.803 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.803 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.803 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:15.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:15.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:15.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4174 ORDER BY "id" |
| 16:53:15.810 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_order_items" WHERE ("project_id"=4174) AND (erp_sales_outbound_id is not null) |
| 16:53:15.821 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "is_sales_order_ready"=TRUE WHERE "id"=4174 |
| 16:53:15.823 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:15.824 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:15.824 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:15.825 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:15.825 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=4174 |
| 16:53:15.826 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=4174 |
| 16:53:15.828 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.828 | info | yii\db\Command::query | SELECT
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_progresses'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:15.841 | info | yii\db\Command::query | select
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_progresses'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:15.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:15.854 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='3' |
| 16:53:15.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.854 | info | yii\db\Command::query | SELECT
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_types'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:15.857 | info | yii\db\Command::query | select
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_types'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:15.868 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.868 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:15.868 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1' |
| 16:53:15.868 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'project_progress', 4174, 1, 1001, 'now()', '["\u65b9\u6848\u8bbe\u8ba1"]', '[null]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u9636\u6bb5","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u65b9\u6848\u8bbe\u8ba1"]}'), (2, 'bargain_date', 4174, 1, 1001, 'now()', '["2026-06-02"]', '[null]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6210\u4ea4\u65e5\u671f","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 2026-06-02"]}'), (2, 'contract_type', 4174, 1, 1001, 'now()', '["\u4ea7\u54c1\u9500\u552e"]', '[null]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5408\u540c\u7c7b\u578b","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4ea7\u54c1\u9500\u552e"]}') |
| 16:53:15.869 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='3' |
| 16:53:15.869 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1' |
| 16:53:15.869 | info | yii\db\Command::execute | INSERT 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_progress', 4174, 1, 1001, 'now()', '["\u65b9\u6848\u8bbe\u8ba1"]', '[null]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u9636\u6bb5","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u65b9\u6848\u8bbe\u8ba1"]}'), (2, 'bargain_date', 4174, 1, 1001, 'now()', '["2026-06-02"]', '[null]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6210\u4ea4\u65e5\u671f","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 2026-06-02"]}'), (2, 'contract_type', 4174, 1, 1001, 'now()', '["\u4ea7\u54c1\u9500\u552e"]', '[null]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5408\u540c\u7c7b\u578b","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4ea7\u54c1\u9500\u552e"]}') |
| 16:53:15.871 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "client_id"=3462, "project_progress"=3, "budget"='0', "profit_pct"='0', "bargain_date"='2026-06-02', "updated_at"='now()', "status_updated_at"='now()', "contract_type"=1, "progress_updated_at"='now()', "forecast_updated_at"='now()', "from_contact"=NULL, "change_status_to"=3 WHERE "id"=4174 |
| 16:53:15.871 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:15.873 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:3:{s:16:"project_progress";s:1:"3";s:12:"bargain_date";s:10:"2026-06-02";s:16:"change_status_to";i:3;}', '', 1001, '221.216.117.119') |
| 16:53:15.873 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3462' |
| 16:53:15.874 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.874 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=4174 |
| 16:53:15.875 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=4174 |
| 16:53:15.876 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=9) AND ("id" IN (5, 226, 184, 189, 349)) ORDER BY "sort" |
| 16:53:15.876 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.876 | info | yii\db\Command::query | SELECT
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_term_taxonomies'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:15.879 | info | yii\db\Command::query | select
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_term_taxonomies'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:15.887 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.887 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:15.888 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='128' |
| 16:53:15.888 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.888 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'purchaseType', 4174, 1, 1001, 'now()', '["\u516c\u5f00\u62db\u6807"]', '[""]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u65b9\u5f0f","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u516c\u5f00\u62db\u6807"]}') |
| 16:53:15.889 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.889 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'purchaseType', 4174, 1, 1001, 'now()', '["\u516c\u5f00\u62db\u6807"]', '[""]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u91c7\u8d2d\u65b9\u5f0f","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u516c\u5f00\u62db\u6807"]}') |
| 16:53:15.890 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=4174) AND ("term_id"=9) |
| 16:53:15.890 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.890 | info | yii\db\Command::query | SELECT
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_term_taxonomy_relationships'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:15.892 | info | yii\db\Command::query | select
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_term_taxonomy_relationships'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:15.901 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.901 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:15.901 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 128, 4174) |
| 16:53:15.907 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='181' |
| 16:53:15.907 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.908 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'salesForecast', 4174, 1, 1001, 'now()', '["\u6211\u81ea\u5df1\u505a\u5e84"]', '[""]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u9884\u6d4b","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u6211\u81ea\u5df1\u505a\u5e84"]}') |
| 16:53:15.908 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:15.908 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'salesForecast', 4174, 1, 1001, 'now()', '["\u6211\u81ea\u5df1\u505a\u5e84"]', '[""]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u9884\u6d4b","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u6211\u81ea\u5df1\u505a\u5e84"]}') |
| 16:53:15.909 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=4174) AND ("term_id"=13) |
| 16:53:15.909 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 181, 4174) |
| 16:53:15.909 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=4174 |
| 16:53:15.910 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4174 |
| 16:53:15.910 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_clients" WHERE "project_id"=4174 |
| 16:53:15.911 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:15.911 | info | yii\db\Command::query | SELECT
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_used_clients'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:15.914 | info | yii\db\Command::query | select
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_used_clients'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:15.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:15.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:15.927 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_receivers" WHERE 0=1 |
| 16:53:15.930 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE 0=1 |
| 16:53:15.931 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE 0=1 |
| 16:53:15.933 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE 0=1 |
| 16:53:15.934 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3462' |
| 16:53:15.935 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3462 |
| 16:53:15.936 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3462) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:16.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.865 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3462, 1001, 'now()', NULL) RETURNING "id" |
| 16:53:16.867 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199808, 'a:5:{s:2:"id";i:199808;s:9:"client_id";i:3462;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 16:53:16.867 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3462, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:16.869 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:16.869 | info | yii\db\Command::query | INSERT 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', 3462, 10, 4174, 1, 1001, '[4174]', '[4174]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u9500\u552e\u7ebf\u7d22\u751f\u621020260602001"]}') RETURNING "id" |
| 16:53:16.870 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640915, 'a:13:{s:2:"id";i:640915;s:9:"object_id";s:4:"3462";s:11:"object_type";i:10;s:9:"target_id";i:4174;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4174]";s:9:"new_value";s:6:"[4174]";s:11:"description";s:130:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u9500\u552e\u7ebf\u7d22\u751f\u621020260602001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 16:53:16.870 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3462' |
| 16:53:16.871 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2026-01-01 00:00:00') AND ("bargain_date" <= '2026-12-31 23:59:59') AND ("client_id"=3462) |
| 16:53:16.872 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3462) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:16.888 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3462, 1001, 'now()', NULL) RETURNING "id" |
| 16:53:16.889 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199809, 'a:5:{s:2:"id";i:199809;s:9:"client_id";i:3462;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 16:53:16.889 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3462, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:16.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 16:53:16.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 16:53:16.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 16:53:16.892 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 16:53:16.892 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 16:53:16.892 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 16:53:16.892 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:16.893 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=4174) |
| 16:53:16.894 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "is_verify"=TRUE WHERE "id"=4174 |
| 16:53:16.895 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:16.896 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:16.896 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:16.897 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4174 |
| 16:53:16.898 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("created_at" >= '2026-06-02 00:00:00') AND ("created_at" <= '2026-06-02 23:59:59') AND ("serial_no" ILIKE '%XSDD-20260602-%') AND (LENGTH(serial_no) = 19) ORDER BY "serial_no" DESC |
| 16:53:16.902 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.902 | info | yii\db\Command::query | SELECT
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_sales_orders'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:16.906 | info | yii\db\Command::query | select
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_sales_orders'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:16.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:16.927 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4174 ORDER BY "id" |
| 16:53:16.928 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.928 | info | yii\db\Command::query | SELECT
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_verify_processes'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:16.934 | info | yii\db\Command::query | select
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_verify_processes'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:16.944 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.944 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:16.944 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_verify_processes" WHERE "id"=6 |
| 16:53:16.947 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_orders" ("serial_no", "handler", "created_by", "amount", "wrote_date", "created_at", "verify_type", "status", "client_id", "project_id", "description", "extra", "outbound_status") VALUES ('XSDD-20260602-00001', 1001, 1001, '0', '2026-06-02', 'now()', 2, 1, 3462, 4174, NULL, '{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["1001"],"salesContractPaymentCollectionRemindDates":null}', FALSE) RETURNING "id" |
| 16:53:16.956 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpSalesOrders', 1711, 'a:37:{s:2:"id";i:1711;s:9:"serial_no";s:19:"XSDD-20260602-00001";s:9:"from_date";N;s:10:"wrote_date";s:10:"2026-06-02";s:7:"handler";i:1001;s:9:"client_id";i:3462;s:20:"purchase_contract_id";N;s:10:"project_id";i:4174;s:17:"sales_contract_id";N;s:12:"erp_store_id";N;s:6:"status";i:1;s:16:"erp_send_type_id";N;s:8:"abstract";N;s:11:"description";N;s:11:"verify_type";s:1:"2";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:23:"next_cancel_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:9:"cancel_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";N;s:7:"is_done";N;s:6:"number";N;s:6:"amount";s:1:"0";s:10:"created_by";i:1001;s:16:"stop_description";N;s:5:"extra";s:149:"{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["1001"],"salesContractPaymentCollectionRemindDates":null}";s:15:"outbound_status";b:0;s:7:"is_used";N;s:9:"is_cancel";N;s:9:"is_settle";N;s:6:"is_old";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"print_times";N;}', '', 1001, '221.216.117.119') |
| 16:53:16.957 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1711) ORDER BY "id" |
| 16:53:16.960 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='0', "number"='0', "next_verify_user"=NULL WHERE "id"=1711 |
| 16:53:16.960 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1711, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:16.960 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1711 |
| 16:53:16.961 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:16.961 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1711) ORDER BY "id" |
| 16:53:16.962 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=1711 |
| 16:53:16.962 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1711, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.119') |
| 16:53:16.963 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:16.963 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1711 |
| 16:53:16.963 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:16.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.964 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3 |
| 16:53:16.964 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=1 |
| 16:53:16.965 | info | yii\db\Command::execute | INSERT 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', 4174, 1, 1001, 'now()', '["\u5546\u673a\u6210\u4ea4"]', '["\u9690\u6027\u9700\u6c42"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u9690\u6027\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u5546\u673a\u6210\u4ea4"]}') |
| 16:53:16.965 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3 |
| 16:53:16.965 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=1 |
| 16:53:16.965 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:16.966 | info | yii\db\Command::execute | INSERT 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', 4174, 1, 1001, 'now()', '["\u5546\u673a\u6210\u4ea4"]', '["\u9690\u6027\u9700\u6c42"]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u9690\u6027\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u5546\u673a\u6210\u4ea4"]}') |
| 16:53:16.966 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.966 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.966 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "old_status", "new_status", "created_by", "created_at") VALUES (4174, 1, 3, 1001, 'now()') RETURNING "id" |
| 16:53:16.970 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectStatusLogs', 4344, 'a:6:{s:2:"id";i:4344;s:10:"project_id";i:4174;s:10:"new_status";i:3;s:10:"old_status";i:1;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 16:53:16.971 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "project_status"=3, "end_at"='now()', "change_status_to"=NULL, "is_verify"=FALSE WHERE "id"=4174 |
| 16:53:16.972 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:16.973 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=17841 |
| 16:53:16.974 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ProjectChangeLogs', 17841, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 16:53:16.975 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (4174, 3, '0', '0', '0', 'now()', NULL) RETURNING "id" |
| 16:53:16.977 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectChangeLogs', 17842, 'a:8:{s:2:"id";i:17842;s:10:"project_id";i:4174;s:14:"project_status";i:3;s:6:"budget";s:1:"0";s:10:"profit_pct";s:1:"0";s:9:"collected";s:1:"0";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 16:53:16.977 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 16:53:16.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.978 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.978 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sources" SET "project_status"=3 WHERE "project_id"=4174 |
| 16:53:16.979 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:16.980 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:16.980 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=1 |
| 16:53:16.981 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=3 |
| 16:53:16.981 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=4174 |
| 16:53:16.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.981 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:16.982 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 16:53:16.982 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '1', 4174, TRUE, '刘人诚更新了一条商机状态隐性需求变为商机成交', '个电饭锅多少') RETURNING "id" |
| 16:53:16.984 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220643, 'a:11:{s:2:"id";i:220643;s:9:"object_id";i:4174;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:18:"个电饭锅多少";}', '', 1001, '221.216.117.119') |
| 16:53:16.985 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 16:53:16.985 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:16.986 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 16:53:16.986 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 16:53:16.986 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 16:53:16.986 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4174 |
| 16:53:16.986 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.987 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:16.987 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE ("created_at" >= '2026-06-02 00:00:00') AND ("created_at" <= '2026-06-02 23:59:59') AND ("serial_no" ILIKE '%2026-06-02-%') AND (LENGTH(serial_no) = 14) ORDER BY "serial_no" DESC |
| 16:53:16.988 | info | yii\db\Command::query | INSERT 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 (1, 3462, 4174, 4174, '0', '2026-06-02', 1001, 1001, TRUE, TRUE, '2026-06-02-001', '0') RETURNING "id" |
| 16:53:16.992 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContracts', 4486, 'a:45:{s:2:"id";i:4486;s:9:"client_id";i:3462;s:9:"signed_at";s:10:"2026-06-02";s:6:"amount";s:1:"0";s:7:"handler";i:1001;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:1;s:10:"project_id";i:4174;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:"2026-06-02-001";s:31:"payment_collection_remind_ahead";N;s:12:"from_project";i:4174;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:1:"0";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;s:21:"erp_all_settle_amount";N;s:21:"receipt_scan_uploaded";N;s:20:"verify_scan_uploaded";N;s:22:"contract_scan_uploaded";N;s:14:"is_edit_verify";N;s:20:"is_chargeback_verify";N;}', '', 1001, '221.216.117.119') |
| 16:53:16.993 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:16.993 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:16.994 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "sales_contract_id"=4486 WHERE "id"=1711 |
| 16:53:16.994 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4486 |
| 16:53:16.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:16.995 | info | yii\db\Command::query | SELECT
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_cash_cost_tickets'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:17.003 | info | yii\db\Command::query | select
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_cash_cost_tickets'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:17.024 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.024 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:17.024 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "sales_contract_id"=4486 WHERE "reimbursement_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_reimbursements" WHERE "project_id"=4174) |
| 16:53:17.029 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 4486, 7, 1001, '2026-06-02 16:53:15', '{"id":4486,"client_id":3462,"signed_at":"2026-06-02","amount":"0","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-02 16:53:15","updated_at":"2026-06-02 16:53:15","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4174,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-02-001","payment_collection_remind_ahead":"00:00:00","from_project":4174,"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":"0","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}', '{"id":4486,"client_id":3462,"signed_at":"2026-06-02","amount":"0","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-02 16:53:15","updated_at":"2026-06-02 16:53:15","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4174,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-02-001","payment_collection_remind_ahead":"00:00:00","from_project":4174,"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":"0","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":[]}') RETURNING "id" |
| 16:53:17.029 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640917, 'a:13:{s:2:"id";i:640917;s:9:"object_id";i:4486;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:1063:"{"id":4486,"client_id":3462,"signed_at":"2026-06-02","amount":"0","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-02 16:53:15","updated_at":"2026-06-02 16:53:15","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4174,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-02-001","payment_collection_remind_ahead":"00:00:00","from_project":4174,"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":"0","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_verify":false}";s:9:"new_value";s:1063:"{"id":4486,"client_id":3462,"signed_at":"2026-06-02","amount":"0","handler":1001,"description":null,"created_by":1001,"created_at":"2026-06-02 16:53:15","updated_at":"2026-06-02 16:53:15","contract_scan":null,"receipt_scan":null,"contract_type":1,"project_id":4174,"valid_date":null,"expire_date":null,"sla":null,"remind_ahead":null,"expire_remind_ahead":null,"expire_reminded":false,"serial_no":"2026-06-02-001","payment_collection_remind_ahead":"00:00:00","from_project":4174,"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":"0","erp_payment_ticket_is_verify":false,"erp_collect_ticket_is_verify":false,"erp_cash_cost_ticket_is_verify":false,"erp_all_settle_amount":"0","receipt_scan_uploaded":false,"verify_scan_uploaded":false,"contract_scan_uploaded":false,"is_edit_verify":false,"is_chargeback_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:"2026-06-02 16:53:15";s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.029 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.030 | info | yii\db\Command::query | INSERT 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', 3462, 10, 4486, 7, 1001, '[4486]', '[4486]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-02-001"]}') RETURNING "id" |
| 16:53:17.030 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640918, 'a:13:{s:2:"id";i:640918;s:9:"object_id";i:3462;s:11:"object_type";i:10;s:9:"target_id";i:4486;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4486]";s:9:"new_value";s:6:"[4486]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-02-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.030 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.031 | info | yii\db\Command::query | INSERT 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', 4174, 1, 4486, 7, 1001, '[4486]', '[4486]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-02-001"]}') RETURNING "id" |
| 16:53:17.031 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640919, 'a:13:{s:2:"id";i:640919;s:9:"object_id";i:4174;s:11:"object_type";i:1;s:9:"target_id";i:4486;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4486]";s:9:"new_value";s:6:"[4486]";s:11:"description";s:134:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-02-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.032 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.032 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.032 | info | yii\db\Command::query | INSERT 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', 4174, 1, 4486, 7, 1001, '4486', '4486', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:2026-06-02-001"]}') RETURNING "id" |
| 16:53:17.033 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 171867, 'a:15:{s:2:"id";i:171867;s:9:"object_id";i:4174;s:11:"object_type";i:1;s:9:"target_id";i:4486;s:18:"target_object_type";i:7;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"4486";s:9:"new_value";s:4:"4486";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";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:2026-06-02-001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.034 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "project_id"=4174 |
| 16:53:17.040 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.040 | info | yii\db\Command::execute | INSERT 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', 4174, 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"]}') |
| 16:53:17.040 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.041 | info | yii\db\Command::execute | INSERT 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', 4174, 1, 1001, 'now()', '["\u63d0\u524d1\u5929"]', '["\u4e0d\u63d0\u9192"]', array[1001], '{"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"]}') |
| 16:53:17.041 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4174 ORDER BY "id") |
| 16:53:17.042 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contracts" SET "payment_collection_remind_ahead"='1 day', "is_draft"=TRUE, "is_save_collection"=TRUE, "save_collection_at"='now()' WHERE "id"=4486 |
| 16:53:17.042 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4486, 'a:28:{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;s:21:"erp_all_settle_amount";N;s:21:"receipt_scan_uploaded";N;s:20:"verify_scan_uploaded";N;s:22:"contract_scan_uploaded";N;s:14:"is_edit_verify";N;s:20:"is_chargeback_verify";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.043 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.043 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.044 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=1001) AND ("type"=1) |
| 16:53:17.044 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.044 | info | yii\db\Command::query | SELECT
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; |
| 16:53:17.046 | info | yii\db\Command::query | select
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 |
| 16:53:17.058 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.058 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:17.058 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (1001, 1001, 1) |
| 16:53:17.060 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4486 |
| 16:53:17.063 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001' |
| 16:53:17.064 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.064 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'salesContractPaymentCollectionRemindReceivers', 4486, 7, 1001, 'now()', '[["\u5218\u4eba\u8bda"]]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u63d0\u9192\u4eba","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u5218\u4eba\u8bda;"]}') |
| 16:53:17.064 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4486 |
| 16:53:17.065 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.065 | info | yii\db\Command::query | SELECT
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; |
| 16:53:17.067 | info | yii\db\Command::query | select
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 |
| 16:53:17.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:17.079 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4486, 1001) RETURNING "id" |
| 16:53:17.083 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesContractPaymentCollectionRemindReceivers', 10146, 'a:3:{s:2:"id";i:10146;s:11:"contract_id";i:4486;s:7:"user_id";s:4:"1001";}', '', 1001, '221.216.117.119') |
| 16:53:17.084 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4486 |
| 16:53:17.084 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.084 | info | yii\db\Command::query | SELECT
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; |
| 16:53:17.087 | info | yii\db\Command::query | select
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 |
| 16:53:17.097 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.097 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:17.097 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4486 |
| 16:53:17.099 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status" IN (2, 5, 1)) |
| 16:53:17.105 | info | yii\db\Command::query | SELECT r.amount, t.wrote_date as created_at FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4486) AND ("t"."status" IN (2, 5, 1)) |
| 16:53:17.112 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.113 | info | yii\db\Command::query | SELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4486 |
| 16:53:17.114 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:17.115 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:1:{s:6:"end_at";s:19:"2026-06-02 16:53:15";}', '', 1001, '221.216.117.119') |
| 16:53:17.115 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.116 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4486) AND (amount > paid_amount) ORDER BY "remind_date" |
| 16:53:17.117 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4486 |
| 16:53:17.117 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5)) |
| 16:53:17.118 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status" IN (2, 5)) |
| 16:53:17.119 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
| 16:53:17.132 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status"=1)) |
| 16:53:17.132 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status"=1)) |
| 16:53:17.133 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status"=1)) |
| 16:53:17.133 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (1, 2, 5)) |
| 16:53:17.134 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status" IN (1, 2, 5)) |
| 16:53:17.134 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status" IN (1, 2, 5)) |
| 16:53:17.135 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contracts" SET "erp_settle_amount"='0', "erp_un_settle_amount"='0', "erp_all_settle_amount"='0' WHERE "id"=4486 |
| 16:53:17.135 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContracts', 4486, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:17.136 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.136 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.136 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.137 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "collected"='0', "end_at"='now()' WHERE "id"=4174 |
| 16:53:17.138 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:17.140 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 16:53:17.140 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.140 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_status_logs" WHERE "project_id"=4174 ORDER BY "created_at" DESC |
| 16:53:17.142 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "old_status", "new_status", "created_by", "created_at") VALUES (4174, 3, 0, 1001, 'now()') RETURNING "id" |
| 16:53:17.143 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectStatusLogs', 4345, 'a:6:{s:2:"id";i:4345;s:10:"project_id";i:4174;s:10:"new_status";i:0;s:10:"old_status";i:3;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 16:53:17.144 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.144 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.145 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 16:53:17.145 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '1', 4174, TRUE, '此商机已收回全部款项', '商机:销售线索生成20260602001;客户:大姑说的风格') RETURNING "id" |
| 16:53:17.145 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220644, 'a:11:{s:2:"id";i:220644;s:9:"object_id";i:4174;s:11:"object_type";s:1:"1";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:68:"商机:销售线索生成20260602001;客户:大姑说的风格";}', '', 1001, '221.216.117.119') |
| 16:53:17.146 | info | yii\db\Command::execute | |
| 16:53:17.146 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 16:53:17.147 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.147 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 16:53:17.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 16:53:17.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 16:53:17.148 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_sales_contracts" WHERE "project_id"=4174 |
| 16:53:17.148 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "reminded"=TRUE WHERE "contract_id"=4486 |
| 16:53:17.149 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.149 | info | yii\db\Command::execute | INSERT 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', 4174, 1, 1001, 'now()', '["\u6536\u6b3e\u5b8c\u6210"]', '["\u5546\u673a\u6210\u4ea4"]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u5546\u673a\u6210\u4ea4 <b>\u53d8\u4e3a<\/b> \u6536\u6b3e\u5b8c\u6210"]}') |
| 16:53:17.149 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.150 | info | yii\db\Command::execute | INSERT 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', 4174, 1, 1001, 'now()', '["\u6536\u6b3e\u5b8c\u6210"]', '["\u5546\u673a\u6210\u4ea4"]', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u5546\u673a\u6210\u4ea4 <b>\u53d8\u4e3a<\/b> \u6536\u6b3e\u5b8c\u6210"]}') |
| 16:53:17.150 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4486 |
| 16:53:17.150 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=4486 |
| 16:53:17.151 | info | yii\db\Command::query | SELECT 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"=4486) AND ("t"."status" IN (2, 5, 1)) |
| 16:53:17.151 | info | yii\db\Command::query | SELECT r.amount, t.wrote_date as created_at FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."sales_contract_id"=4486) AND ("t"."status" IN (2, 5, 1)) |
| 16:53:17.152 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.152 | info | yii\db\Command::query | SELECT SUM(amount) FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4486 |
| 16:53:17.153 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4174) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:17.154 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4174, 'a:1:{s:6:"end_at";s:19:"2026-06-02 16:53:15";}', '', 1001, '221.216.117.119') |
| 16:53:17.155 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.156 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE ("contract_id"=4486) AND (amount > paid_amount) ORDER BY "remind_date" |
| 16:53:17.156 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.157 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3462 |
| 16:53:17.159 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3462) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:17.175 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3462, 1001, 'now()', NULL) RETURNING "id" |
| 16:53:17.176 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199810, 'a:5:{s:2:"id";i:199810;s:9:"client_id";i:3462;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.176 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3462, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:17.176 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.177 | info | yii\db\Command::query | INSERT 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', 3462, 10, 4174, 1, 1001, '[4174]', '[4174]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u9500\u552e\u7ebf\u7d22\u751f\u621020260602001"]}') RETURNING "id" |
| 16:53:17.177 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640923, 'a:13:{s:2:"id";i:640923;s:9:"object_id";i:3462;s:11:"object_type";i:10;s:9:"target_id";i:4174;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[4174]";s:9:"new_value";s:6:"[4174]";s:11:"description";s:130:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u9500\u552e\u7ebf\u7d22\u751f\u621020260602001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.177 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3462 |
| 16:53:17.178 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2026-01-01 00:00:00') AND ("bargain_date" <= '2026-12-31 23:59:59') AND ("client_id"=3462) |
| 16:53:17.179 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "cooperate_count"=1 WHERE "id"=3462 |
| 16:53:17.179 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3462) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 16:53:17.196 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3462, 1001, 'now()', NULL) RETURNING "id" |
| 16:53:17.196 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199811, 'a:5:{s:2:"id";i:199811;s:9:"client_id";i:3462;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.197 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3462, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:17.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 16:53:17.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 16:53:17.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 16:53:17.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 16:53:17.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 16:53:17.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 16:53:17.198 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 16:53:17.199 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=4174) |
| 16:53:17.199 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1711, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:17.200 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1 |
| 16:53:17.201 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1711 |
| 16:53:17.201 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.201 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_erp_ticket_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:53:17.205 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_erp_ticket_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:53:17.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:17.221 | info | yii\db\Command::query | INSERT 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-20260602-00001', '2026-06-02', NULL, NULL, '0', 3462, NULL, NULL, NULL, 1001, '2026-06-02 16:53:15', '2026-06-02 16:53:15', 1711, '2026-06-02 16:53:15.776765+08') RETURNING "id" |
| 16:53:17.227 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpTicketChangeLogs', 2919, 'a:17:{s:2:"id";i:2919;s:9:"serial_no";s:19:"XSDD-20260602-00001";s:11:"ticket_type";i:20007;s:10:"wrote_date";s:10:"2026-06-02";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:3462;s:8:"abstract";N;s:11:"description";N;s:9:"verify_at";s:29:"2026-06-02 16:53:15.776765+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-02 16:53:15";s:10:"updated_at";s:19:"2026-06-02 16:53:15";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:1:"0";s:9:"object_id";i:1711;}', '', 1001, '221.216.117.119') |
| 16:53:17.228 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.228 | info | yii\db\Command::query | SELECT
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; |
| 16:53:17.231 | info | yii\db\Command::query | select
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 |
| 16:53:17.242 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.242 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:53:17.242 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (2919, 1001) |
| 16:53:17.248 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:53:17.249 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 1711, 20007, 1001, '2026-06-02 16:53:15', '{"id":1711,"serial_no":"XSDD-20260602-00001","from_date":null,"wrote_date":"2026-06-02","handler":1001,"client_id":3462,"purchase_contract_id":null,"project_id":4174,"sales_contract_id":null,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"now()","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-02 16:53:15","updated_at":"1970-01-01 08:00:00","print_times":null}', '{"id":1711,"serial_no":"XSDD-20260602-00001","from_date":null,"wrote_date":"2026-06-02","handler":1001,"client_id":3462,"purchase_contract_id":null,"project_id":4174,"sales_contract_id":null,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"now()","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-02 16:53:15","updated_at":"1970-01-01 08:00:00","print_times":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
| 16:53:17.250 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640924, 'a:13:{s:2:"id";i:640924;s:9:"object_id";i:1711;s:11:"object_type";i:20007;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:916:"{"id":1711,"serial_no":"XSDD-20260602-00001","from_date":null,"wrote_date":"2026-06-02","handler":1001,"client_id":3462,"purchase_contract_id":null,"project_id":4174,"sales_contract_id":null,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"now()","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-02 16:53:15","updated_at":"1970-01-01 08:00:00","print_times":null}";s:9:"new_value";s:916:"{"id":1711,"serial_no":"XSDD-20260602-00001","from_date":null,"wrote_date":"2026-06-02","handler":1001,"client_id":3462,"purchase_contract_id":null,"project_id":4174,"sales_contract_id":null,"erp_store_id":null,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":"now()","stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-02 16:53:15","updated_at":"1970-01-01 08:00:00","print_times":null}";s:11:"description";s:105:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-02 16:53:15";s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 16:53:17.251 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='0' WHERE "id"=1711 |
| 16:53:17.251 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1711, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:17.252 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1711 |
| 16:53:17.258 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "is_used"=FALSE WHERE "id"=1711 |
| 16:53:17.258 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpSalesOrders', 1711, 'a:0:{}', '', 1001, '221.216.117.119') |
| 16:53:17.259 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1 |
| 16:53:17.259 | trace | yii\db\Transaction::commit | Commit transaction |
| 16:53:17.260 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.260 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:53:17.260 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/project/save-edit', '{"Projects":{"id":"4174","client_name":"\u5927\u59d1\u8bf4\u7684\u98ce\u683c","client_id":"3462","project_status":"3","project_progress":"3","profit":"0","profit_pct":"0","bargain_date":"2026-06-02","project_title":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260602001","from_contact_name":"","from_contact":"","salesForecast":"181","purchaseType":"128","opportunityFrom":"","contract_type":"1","comment":"\u4e2a\u7535\u996d\u9505\u591a\u5c11","payment_collection_remind_ahead":"1 day","project_product_version_id":"","projectProductRels":"","projectContactPoints":"","projectContactPointRels":"","projectUsedClient":{"used_client":"","budget":"","profit":"","profit_pct":"","projectUsedClientPaymentCollectionRemindReceivers":"","projectUsedClientPaymentCollectionRemindDates":"","remind_ahead":"","projectUsedClientPayments":"","projectUsedClientInvoices":""},"projectProductTypes":{"2":{"budget":"0","profit":"0","pct":"0"}},"projectArchitects":"","projectRemindReceivers":"","salesContractPaymentCollectionRemindReceivers":["1001"],"salesContractPaymentCollectionRemindDates":""},"web_access_token":"RxNsgwK6AoRe247CZ3IJbk6VpAgcDvb0"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-02 16:53:17', 1496623104) RETURNING "id" |
| 16:53:17.261 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:53:17.261 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |