1 Commits (3ed43adcb30dfc33d9ca9446bda90c8e5f64ecdb)

Author SHA1 Message Date
821644@qq.com 816621dcb9 Continue fixing compilation errors after .NET 8 upgrade
- Fix CNCBusinessDbContext: remove BaseEntity/charset references, fix UseMySql ServerVersion
- Add missing DbSets to CNCDbContext (Employees, DeviceAssignments, Roles, TemplateFieldMappings, ProductionSummaries)
- Fix LogEntry model to use LogLevel enum instead of string Level property
- Fix LogRepository to use correct property names (Level, Timestamp, Id)
- Fix CollectionRepository LogLevel comparisons (remove .ToString())
- Fix ProductionRepository to use ProductionRecordBasic
- Fix ProductionSummaryRepository decimal conversions
- Fix ScheduledTaskRepository TaskStatus ambiguity with full namespace qualification
- Fix ScheduledTaskRepository ExecuteTaskAsync to use proper query
- Fix SystemRepository decimal division (alarms.Count to alarms.Count())
- Exclude Migrations folder from build (uses legacy EF Core 6.0 API)

Note: Haoliang.Core project still has many errors due to namespace mismatches
and duplicate class definitions - needs significant architectural review.
4 weeks ago