fix 外包工号更新

This commit is contained in:
2024-06-18 17:29:54 +08:00
parent b28e695542
commit 6fa2c376a5

View File

@@ -58,6 +58,7 @@ public class GainfoOutsourceService : IGainfoOutsourceService
(outsource == null).ThrowIfTrue("不可编辑非外包人员档案数据");
request.Adapt(entity);
outsource.Code = entity.Code;
request.ExternalInfo.Adapt(outsource);
await _dbContext.UpdateAsync(entity);