debug .
This commit is contained in:
@@ -58,6 +58,13 @@ 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user