| | |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info5), u => u.Info5.Contains(input.Info5.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info5), u => u.Info5.Contains(input.Info5.Trim())) |
| | | .Where(x => ((DateTime)x.CreateTime).ToString("yyyyMMdd") == DateTime.Now.ToString("yyyyMMdd")) |
| | | .Where(x => x.IsKitting == false) |
| | | .Where(x => x.IsUnline == null || x.IsUnline == false) |
| | | .OrderBy(g => g.Id) |
| | | .ToListAsync(); // 确保获取结果为 List |
| | | |
| | |
| | | DateTime currentDate = DateTime.Now; |
| | | // 计算一周之前的时间 |
| | | //DateTime oneWeekAgo = currentDate.AddDays(-7); |
| | | |
| | | |
| | | // 获取当前文化信息 |
| | | CultureInfo cultureInfo = CultureInfo.CurrentCulture; |
| | | |