update framework

This commit is contained in:
2024-06-27 17:11:01 +08:00
parent 8c45dd123b
commit 71114b12a5
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Kurisu.AspNetCore" Version="0.9.18" /> <PackageReference Include="Kurisu.AspNetCore" Version="0.9.20" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -164,7 +164,7 @@ public class GainfoUpdateService : IGainfoUpdateService
try try
{ {
var no = await InsertPersonAsync(item); var no = await InsertPersonAsync(item);
_logger.LogWarning("执行新增成功 工号:{code},姓名:{name}", item.ename, item.gname); //_logger.LogWarning("执行新增成功 工号:{code},姓名:{name}", item.ename, item.gname);
} }
catch (Exception ex) catch (Exception ex)
{ {
@@ -183,7 +183,7 @@ public class GainfoUpdateService : IGainfoUpdateService
var dto = dtoResult.Data; var dto = dtoResult.Data;
var gainfoNo = await UpdatePersonAsync(item); var gainfoNo = await UpdatePersonAsync(item);
_logger.LogWarning("执行更新成功 工号:{code},姓名:{name}", item.ename, item.gname); //_logger.LogWarning("执行更新成功 工号:{code},姓名:{name}", item.ename, item.gname);
if (gainfoNo.IsPresent()) if (gainfoNo.IsPresent())
{ {