11:02:22.659 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
11:02:22.659 | trace | yii\base\Module::getModule | Loading module: debug |
11:02:22.659 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
11:02:22.659 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
11:02:22.659 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
11:02:22.660 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.660 | trace | yii\base\Module::getModule | Loading module: gii |
11:02:22.660 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
11:02:22.660 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
11:02:22.660 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/save-new' |
11:02:22.660 | trace | yii\base\Module::getModule | Loading module: v2 |
11:02:22.660 | info | yii\web\Session::open | Session started |
11:02:22.661 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
11:02:22.663 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
11:02:22.666 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.666 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.666 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.666 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.666 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:22.667 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/save-new |
11:02:22.668 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.668 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
11:02:22.668 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionSaveNew() |
11:02:22.669 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.669 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.669 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'headUsers' in 'app\models\Schedules'. |
11:02:22.669 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337') |
11:02:22.670 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815') |
11:02:22.671 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:02:22.671 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:02:22.671 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_schedules" ("alarm_before", "client_id", "end_at", "is_public", "project_id", "schedule_title", "start_at", "creator", "created_by") VALUES (NULL, 3337, '2025-07-04 18:00', 1, 3815, '女女女', '2025-07-04 11:02', 1000, 1000) RETURNING "id" |
11:02:22.676 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.676 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.676 | 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\Schedules', 17699, 'a:24:{s:2:"id";i:17699;s:9:"client_id";s:4:"3337";s:14:"schedule_title";s:9:"女女女";s:11:"description";N;s:13:"schedule_week";N;s:8:"start_at";s:19:"2025-07-04 11:02:00";s:11:"complete_at";N;s:20:"complete_description";N;s:11:"is_complete";N;s:12:"alarm_before";N;s:10:"created_by";s:4:"1000";s:10:"created_at";N;s:9:"is_closed";N;s:9:"is_remind";N;s:9:"time_type";N;s:12:"schedule_end";N;s:9:"repeat_id";N;s:6:"end_at";s:19:"2025-07-04 18:00:00";s:9:"is_public";s:1:"1";s:18:"system_calendar_id";N;s:7:"creator";i:1000;s:10:"project_id";s:4:"3815";s:10:"updated_at";N;s:10:"set_top_at";N;}', '', 1000, '223.104.41.148') |
11:02:22.677 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=17699 |
11:02:22.678 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.678 | 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_schedule_carbon_copy_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
11:02:22.682 | 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_schedule_carbon_copy_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
11:02:22.692 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.692 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
11:02:22.692 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_schedule_carbon_copy_rels" ("schedule_id", "user_id") VALUES (17699, 1017), (17699, 5250) |
11:02:22.697 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=17699) |
11:02:22.698 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=17699 |
11:02:22.698 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000' |
11:02:22.699 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.699 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.699 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17699 |
11:02:22.700 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:02:22.700 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '9', 17699, '曹永生新建了一条待办事项', TRUE, '女女女') RETURNING "id" |
11:02:22.701 | 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', 170242, 'a:11:{s:2:"id";i:170242;s:9:"object_id";i:17699;s:11:"object_type";s:1:"9";s:6:"parent";N;s:11:"description";s:36:"曹永生新建了一条待办事项";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:9:"女女女";}', '', 1000, '223.104.41.148') |
11:02:22.702 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.702 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.702 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (17699, '9', 170242, 1017), (17699, '9', 170242, 5250) |
11:02:22.704 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN (1017, 5250)) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
11:02:22.705 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17699 |
11:02:22.705 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:22.706 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.706 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.706 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:02:22.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:02:22.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:02:22.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.708 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:02:22.708 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:02:22.708 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:02:22.708 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17699 |
11:02:22.708 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:22.709 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.709 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.709 | 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', 17699, 9, 1000, '2025-07-04 11:02:22', '{"id":17699,"client_id":3337,"schedule_title":"\u5973\u5973\u5973","description":null,"schedule_week":null,"start_at":"2025-07-04 11:02:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-07-04 11:02:22","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-07-04 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":3815,"updated_at":"2025-07-04 11:02:22","set_top_at":null}', '{"id":17699,"client_id":3337,"schedule_title":"\u5973\u5973\u5973","description":null,"schedule_week":null,"start_at":"2025-07-04 11:02:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-07-04 11:02:22","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-07-04 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":3815,"updated_at":"2025-07-04 11:02:22","set_top_at":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[]}') RETURNING "id" |
11:02:22.710 | 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', 509957, 'a:13:{s:2:"id";i:509957;s:9:"object_id";i:17699;s:11:"object_type";i:9;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:527:"{"id":17699,"client_id":3337,"schedule_title":"\u5973\u5973\u5973","description":null,"schedule_week":null,"start_at":"2025-07-04 11:02:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-07-04 11:02:22","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-07-04 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":3815,"updated_at":"2025-07-04 11:02:22","set_top_at":null}";s:9:"new_value";s:527:"{"id":17699,"client_id":3337,"schedule_title":"\u5973\u5973\u5973","description":null,"schedule_week":null,"start_at":"2025-07-04 11:02:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-07-04 11:02:22","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-07-04 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":3815,"updated_at":"2025-07-04 11:02:22","set_top_at":null}";s:11:"description";s:93:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:02:22";s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:02:22.711 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:22.712 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3337 |
11:02:22.714 | 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:02:22.723 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.723 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.723 | 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:02:22.724 | 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', 165079, 'a:5:{s:2:"id";i:165079;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:02:22.725 | 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:02:22.726 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:22.726 | 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, 17699, 9, 1000, '[17699]', '[17699]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
11:02:22.727 | 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', 509958, 'a:13:{s:2:"id";i:509958;s:9:"object_id";i:3337;s:11:"object_type";i:10;s:9:"target_id";i:17699;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[17699]";s:9:"new_value";s:7:"[17699]";s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:02:22.728 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:22.728 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:22.729 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.729 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.729 | 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', 3337, 10, 17699, 9, 1000, '17699', '17699', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
11:02:22.730 | 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', 136929, 'a:15:{s:2:"id";i:136929;s:9:"object_id";i:3337;s:11:"object_type";i:10;s:9:"target_id";i:17699;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"17699";s:9:"new_value";s:5:"17699";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:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:02:22.731 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.731 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.731 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815 |
11:02:22.732 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3815 |
11:02:22.733 | 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:02:22.735 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.735 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.735 | 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:02:22.736 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:22.736 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:22.737 | 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', 3815, 1, 17699, 9, 1000, '[17699]', '[17699]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
11:02:22.738 | 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', 509959, 'a:13:{s:2:"id";i:509959;s:9:"object_id";i:3815;s:11:"object_type";i:1;s:9:"target_id";i:17699;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[17699]";s:9:"new_value";s:7:"[17699]";s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:02:22.738 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815 |
11:02:22.739 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:22.739 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:22.740 | 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', 3815, 1, 17699, 9, 1000, '17699', '17699', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
11:02:22.741 | 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', 136930, 'a:15:{s:2:"id";i:136930;s:9:"object_id";i:3815;s:11:"object_type";i:1;s:9:"target_id";i:17699;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"17699";s:9:"new_value";s:5:"17699";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:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:02:22.743 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.743 | 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_schedule_head_of_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
11:02:22.745 | 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_schedule_head_of_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
11:02:22.754 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.754 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
11:02:22.754 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_schedule_head_of_rels" ("user_id", "schedule_id") VALUES (1000, 17699) |
11:02:22.757 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:22.757 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:22.758 | 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/schedule/save-new', '{"Schedules":{"alarm_before":"","client_id":"3337","end_at":"2025-07-04 18:00","form_scheduleCarbonCopyRels":["1017","5250"],"headUsers":["1000"],"is_public":"1","project_id":"3815","schedule_title":"\u5973\u5973\u5973","start_at":"2025-07-04 11:02"},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751598080","token":"3157e1c74f3c7f036902af3c02b6dd58","version_code":"1141"}', '{"code":200,"data":{"id":null},"status":1,"msg":[{"name":"success","success":"\u65b0\u5f85\u529e\u4e8b\u9879\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 11:02:22') RETURNING "id" |