fix 优化任务生成
This commit is contained in:
@@ -123,10 +123,10 @@ public class SyncPersonJob
|
||||
//CarNo
|
||||
Remark = item.remark,
|
||||
Werks = item.WERKS,
|
||||
Employed = item.isowner,
|
||||
};
|
||||
await _dbContext.InsertAsync(info);
|
||||
}
|
||||
|
||||
private async Task UpdatePerson(GainfoSapEntity item)
|
||||
{
|
||||
var gainfo = await _dbContext.Queryable<GainfoEntity>().Where(x => x.IdNo == item.idno).FirstAsync();
|
||||
@@ -138,7 +138,6 @@ public class SyncPersonJob
|
||||
Position = item.web,
|
||||
Phone = item.phone,
|
||||
DepartmentNo = item.appellation,
|
||||
Employed = item.isowner,
|
||||
Remark = item.remark,
|
||||
Degree = item.email,
|
||||
Werks = item.WERKS
|
||||
|
||||
Reference in New Issue
Block a user