fix 调整同步字段
This commit is contained in:
@@ -204,6 +204,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
InternalNo = item.PERNR,
|
||||
Type = GainfoUserTypeEnumType.Normal,
|
||||
Name = item.gname,
|
||||
NameEn = item.gname2,
|
||||
Code = item.ename,
|
||||
CountryNo = item.country,
|
||||
IdClass = item.idcls,
|
||||
@@ -240,6 +241,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
{
|
||||
PERNR = item.PERNR,
|
||||
gname = item.gname,
|
||||
gname2 = item.gname2,
|
||||
phone = item.phone,
|
||||
appellation = item.appellation,
|
||||
isowner = item.isowner,
|
||||
@@ -365,7 +367,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
await _gainfoPermissionService.ResetPermissionsAsync(gainfo.No, DeviceTaskEnumType.Delete, null, null, "人员离职生成");
|
||||
|
||||
@@ -463,6 +465,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
return gainfos.Select(x => new SapPersonItem
|
||||
{
|
||||
NAME = x.gname,
|
||||
NAME2 = x.gname2,
|
||||
ZWORKCODE = x.ename,
|
||||
ZZ_SFZH = x.idno,
|
||||
GBDAT = x.birthday,
|
||||
@@ -473,7 +476,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
ZRZRQ = x.createdate,
|
||||
PERNR = x.PERNR,
|
||||
WERKS = x.WERKS,
|
||||
KOSTL = x.KOSTL,
|
||||
KOSTL_XJ = x.KOSTL,
|
||||
ZZ_ZD = x.ZZ_ZD,
|
||||
Z_ZJ = x.Z_ZJ,
|
||||
PLANS = x.STELL, //x.STELL, 20251129变更
|
||||
@@ -511,6 +514,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
GainfoSapEntity o = new()
|
||||
{
|
||||
gname = person.NAME,
|
||||
gname2 = person.NAME2,
|
||||
ename = person.ZWORKCODE,
|
||||
idno = person.ZZ_SFZH,
|
||||
birthday = person.GBDAT,
|
||||
@@ -521,7 +525,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
createdate = person.ZRZRQ,
|
||||
PERNR = person.PERNR,
|
||||
WERKS = person.WERKS,
|
||||
KOSTL = person.KOSTL,
|
||||
KOSTL = person.KOSTL_XJ,
|
||||
ZZ_ZD = person.ZZ_ZD,
|
||||
Z_ZJ = person.Z_ZJ,
|
||||
STELL = person.PLANS,//person.STELL, 20251129变更
|
||||
|
||||
Reference in New Issue
Block a user