11:01:46.564 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
11:01:46.564 | trace | yii\base\Module::getModule | Loading module: debug |
11:01:46.564 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
11:01:46.564 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
11:01:46.564 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
11:01:46.564 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.564 | trace | yii\base\Module::getModule | Loading module: gii |
11:01:46.564 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
11:01:46.565 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
11:01:46.565 | trace | yii\web\Application::handleRequest | Route requested: 'v2/project/save-new' |
11:01:46.565 | trace | yii\base\Module::getModule | Loading module: v2 |
11:01:46.565 | info | yii\web\Session::open | Session started |
11:01:46.566 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
11:01:46.567 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
11:01:46.570 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.571 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:46.572 | trace | yii\base\Controller::runAction | Route to run: v2/project/save-new |
11:01:46.572 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.573 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
11:01:46.573 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ProjectController::actionSaveNew() |
11:01:46.573 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.574 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'. |
11:01:46.574 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'. |
11:01:46.574 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchaseType' in 'app\models\Projects'. |
11:01:46.574 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesForecast' in 'app\models\Projects'. |
11:01:46.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.574 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:01:46.576 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='3337') AND ("project_title"='付款发货')) |
11:01:46.577 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1') |
11:01:46.577 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337') |
11:01:46.577 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='5') |
11:01:46.578 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='1') |
11:01:46.578 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5332) |
11:01:46.579 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_projects" ("bargain_date", "client_id", "comment", "contract_type", "from_contact", "project_progress", "project_status", "project_title", "used_client", "creator", "budget", "profit_pct", "created_by", "collected", "pinyin_shortcut") VALUES ('2025-12-04', 3337, '将错就错家', 1, NULL, 5, 1, '付款发货', NULL, 1000, '0', '0', 5332, '0', 'fkfh') RETURNING "id" |
11:01:46.586 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3815) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:01:46.587 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.587 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.587 | 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 (3815, 1, '0', '0', '0', 'now()', NULL) RETURNING "id" |
11:01:46.592 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.592 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.592 | 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', 16117, 'a:8:{s:2:"id";i:16117;s:10:"project_id";i:3815;s:14:"project_status";s:1:"1";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:9:"collected";i:0;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:01:46.593 | 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\Projects', 3815, 'a:30:{s:2:"id";i:3815;s:9:"client_id";s:4:"3337";s:14:"project_status";s:1:"1";s:16:"project_progress";s:1:"5";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:12:"bargain_date";s:10:"2025-12-04";s:11:"description";N;s:10:"created_by";i:5332;s:10:"created_at";N;s:10:"updated_at";N;s:11:"engineer_id";N;s:13:"project_title";s:12:"付款发货";s:9:"collected";i:0;s:17:"status_updated_at";N;s:12:"success_rate";N;s:7:"comment";s:15:"将错就错家";s:13:"contract_type";s:1:"1";s:19:"progress_updated_at";N;s:19:"forecast_updated_at";N;s:6:"end_at";N;s:15:"pinyin_shortcut";s:4:"fkfh";s:7:"creator";i:1000;s:11:"used_client";s:0:"";s:12:"from_contact";s:0:"";s:19:"total_contact_point";N;s:18:"paid_contact_point";N;s:26:"project_product_version_id";N;s:20:"is_sales_order_ready";N;s:14:"collected_plan";N;}', '', 1000, '223.104.41.148') |
11:01:46.594 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:01:46.595 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3815 |
11:01:46.596 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "end_at"=NULL WHERE "id"=3815 |
11:01:46.597 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3815) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:01:46.598 | 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', 3815, 'a:0:{}', '', 1000, '223.104.41.148') |
11:01:46.599 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:01:46.600 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.601 | 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_status_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
11:01:46.605 | 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_status_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
11:01:46.614 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.614 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
11:01:46.614 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "new_status", "created_by", "created_at") VALUES (3815, 1, 1000, 'now()') RETURNING "id" |
11:01:46.619 | 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', 3407, 'a:6:{s:2:"id";i:3407;s:10:"project_id";i:3815;s:10:"new_status";s:1:"1";s:10:"old_status";N;s:10:"created_by";i:1000;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1000, '223.104.41.148') |
11:01:46.620 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3815) AND ("term_id"=9) |
11:01:46.620 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.620 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.620 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 129, 3815) |
11:01:46.622 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3815) AND ("term_id"=13) |
11:01:46.622 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 181, 3815) |
11:01:46.623 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3815 |
11:01:46.623 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.623 | 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_remind_receivers'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
11:01:46.626 | 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_remind_receivers'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
11:01:46.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
11:01:46.635 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_remind_receivers" ("project_id", "user_id") VALUES (3815, 1017) RETURNING "id" |
11:01:46.639 | 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\ProjectRemindReceivers', 1611, 'a:3:{s:2:"id";i:1611;s:10:"project_id";i:3815;s:7:"user_id";s:4:"1017";}', '', 1000, '223.104.41.148') |
11:01:46.640 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3815 |
11:01:46.640 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.641 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='1' |
11:01:46.642 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.642 | 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_statuses'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
11:01:46.644 | 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_statuses'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
11:01:46.652 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.652 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
11:01:46.652 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.652 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.652 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815 |
11:01:46.653 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:01:46.653 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1000, '1', 3815, TRUE, '曹永生新建了一条状态为隐性需求的商机', '将错就错家') RETURNING "id" |
11:01:46.654 | 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', 170240, 'a:11:{s:2:"id";i:170240;s:9:"object_id";i:3815;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:54:"曹永生新建了一条状态为隐性需求的商机";s:10:"created_by";i:1000;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:15:"将错就错家";}', '', 1000, '223.104.41.148') |
11:01:46.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.655 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (3815, '1', 170240, 1017) |
11:01:46.657 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1017) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
11:01:46.657 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:46.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:01:46.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:01:46.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:01:46.658 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:01:46.659 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5332 |
11:01:46.660 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:01:46.660 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:01:46.660 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:01:46.660 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815 |
11:01:46.660 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:46.661 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.661 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.661 | 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', 3815, 1, 1000, '2025-07-04 11:01:46', '{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}', '{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id" |
11:01:46.662 | 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', 509951, 'a:13:{s:2:"id";i:509951;s:9:"object_id";i:3815;s:11:"object_type";i:1;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:783:"{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}";s:9:"new_value";s:783:"{"id":3815,"client_id":3337,"project_status":1,"project_progress":5,"budget":"0","profit_pct":"0","bargain_date":"2025-12-04","description":null,"created_by":5332,"created_at":"2025-07-04 11:01:46","updated_at":"2025-07-04 11:01:46","engineer_id":null,"project_title":"\u4ed8\u6b3e\u53d1\u8d27","collected":"0","status_updated_at":"2025-07-04 11:01:46.580051+08","success_rate":null,"comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":1,"progress_updated_at":"2025-07-04 11:01:46.580051+08","forecast_updated_at":"2025-07-04 11:01:46.580051+08","end_at":null,"pinyin_shortcut":"fkfh","creator":1000,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":null,"is_sales_order_ready":false,"collected_plan":null}";s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:01:46";s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:01:46.663 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:46.664 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.664 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.664 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3815, 1, 1000, '2025-07-04 11:01:46', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id" |
11:01:46.665 | 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', 136926, 'a:15:{s:2:"id";i:136926;s:9:"object_id";i:3815;s:11:"object_type";i:1;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:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[5332]";s:6:"params";a:0:{}}s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:01:46";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:01:46.666 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:01:46.667 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3337 |
11:01:46.668 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:01:46.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.677 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id" |
11:01:46.678 | 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', 165075, 'a:5:{s:2:"id";i:165075;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:01:46.679 | 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', 3337, 'a:0:{}', '', 1000, '223.104.41.148') |
11:01:46.680 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:46.680 | 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', 3337, 10, 3815, 1, 1000, '[3815]', '[3815]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u4ed8\u6b3e\u53d1\u8d27"]}') RETURNING "id" |
11:01:46.681 | 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', 509952, 'a:13:{s:2:"id";i:509952;s:9:"object_id";i:3337;s:11:"object_type";i:10;s:9:"target_id";i:3815;s:18:"target_object_type";i:1;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3815]";s:9:"new_value";s:6:"[3815]";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u4ed8\u6b3e\u53d1\u8d27"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:01:46.682 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:01:46.682 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2025-01-01 00:00:00') AND ("bargain_date" <= '2025-12-31 23:59:59') AND ("client_id"=3337) |
11:01:46.683 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:01:46.691 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id" |
11:01:46.692 | 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', 165076, 'a:5:{s:2:"id";i:165076;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:01:46.693 | 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', 3337, 'a:0:{}', '', 1000, '223.104.41.148') |
11:01:46.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:01:46.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:01:46.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:01:46.695 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:01:46.695 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:01:46.695 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:01:46.696 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:46.696 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:46.696 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/project/save-new', '{"ProjectArchitects":{"1017":"1.00"},"Projects":{"bargain_date":"2025-12-04","client_id":"3337","comment":"\u5c06\u9519\u5c31\u9519\u5bb6","contract_type":"1","from_contact":"","projectProductTypes":"","projectRemindReceivers":["1017"],"project_progress":"5","project_status":"1","project_title":"\u4ed8\u6b3e\u53d1\u8d27","purchaseType":"129","salesForecast":"181","used_client":""},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751598080","token":"3eefdc81cb6a572bfa8a2483f60748db","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u65b0\u5546\u673a\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 11:01:46') RETURNING "id" |