fix 时间处理问题

This commit is contained in:
2025-07-22 10:37:03 +08:00
parent 382c9f1b1a
commit 5bc2d78903

View File

@@ -318,7 +318,7 @@ public class GainfoUpdateService : IGainfoUpdateService
{ {
try try
{ {
var resignationDate = DateOnly.FromDateTime(gainfo.ModifiedTime); var resignationDate = DateOnly.FromDateTime(DateTime.Now);
var workGridSchedules = await _dbContext.Queryable<WorkGridScheduleEntity>() var workGridSchedules = await _dbContext.Queryable<WorkGridScheduleEntity>()
.Where(x => x.UserCode == gainfo.Code) .Where(x => x.UserCode == gainfo.Code)