Files
django-vue3-admin/backend
Lewis_yan 4c681805cd fix(dashboard): replace .extra() with TruncDate to fix SQL Server column name issues
.extra(select={'day': 'DAY(create_time)'}) uses Django field name but
Inquiry.create_time has db_column='CreateTime' causing SQL Server error.
TruncDate is the proper ORM approach for date truncation.
2026-04-07 11:02:51 +08:00
..
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00
2026-03-19 20:03:10 +08:00