This commit is contained in:
2026-01-04 17:37:18 +08:00
parent 270a724503
commit 0bcb80f101

View File

@@ -58,13 +58,6 @@ public class GainfoUpdateService : IGainfoUpdateService
{ {
var modifiedPersons = await GetModifiedPersonAsync(persons.OrderByDescending(x => x.ZSTATUS).ThenBy(x => x.ZRZRQ).ToList()); var modifiedPersons = await GetModifiedPersonAsync(persons.OrderByDescending(x => x.ZSTATUS).ThenBy(x => x.ZRZRQ).ToList());
if (werk == "1060")
{
_logger.LogInformation("1060差异:{json}", modifiedPersons.ToJson());
var codes = modifiedPersons.Select(x => x.ZWORKCODE).ToList();
var d = await LoadDataAsync();
_logger.LogInformation("1060原始:{json}", d.Where(x => codes.Contains(x.ZWORKCODE)).ToList().ToJson());
}
werkInfo.HandleMessage = "SAP人员差异数量" + modifiedPersons.Count; werkInfo.HandleMessage = "SAP人员差异数量" + modifiedPersons.Count;
werkInfo.DiffNumber = modifiedPersons.Count; werkInfo.DiffNumber = modifiedPersons.Count;
await _dbContext.UpdateAsync(werkInfo); await _dbContext.UpdateAsync(werkInfo);