修改日志展示

Uat_IRC_Net8
hang 2024-12-26 15:23:12 +08:00
parent 6238361bd2
commit aa60cb4822
5 changed files with 10 additions and 13 deletions

View File

@ -12033,6 +12033,13 @@
<param name="inDto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.ReadingImageTaskService.DeleteTableQuestionMark(IRaCIS.Core.Application.Service.Reading.Dto.DeleteTableQuestionMarkInDto)">
<summary>
删除表格问题标记
</summary>
<param name="inDto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.ReadingImageTaskService.SaveTableQuestionMark(IRaCIS.Core.Application.Service.Reading.Dto.SaveTableQuestionMarkInDto)">
<summary>
保存表格问题标记

View File

@ -27,7 +27,7 @@ namespace IRaCIS.Core.Application.ViewModel
public UserTypeEnum? OptUserTypeEnum { get; set; }
public UserLogJsonObj JsonObj { get; set; }
public string JsonObj { get; set; }
public string IPRegion { get; set; }
}

View File

@ -41,7 +41,7 @@ namespace IRaCIS.Core.Application.Triggers.AfterSaveTrigger
}).FirstOrDefaultAsync();
userlog.JsonObj = obj;
userlog.JsonObj = obj.ToJsonStr();
await _identityUserRepository.SaveChangesAsync();
}

View File

@ -27,7 +27,7 @@ public class UserLog : BaseAddAuditEntity
public string ActionUserName { get; set; }
[MaxLength]
public UserLogJsonObj JsonObj { get; set; }
public string JsonObj { get; set; }
[Comment("被操作的对象 admin 修改张三信息 张三是被操作对象")]
@ -66,7 +66,6 @@ public class UserLogJsonObj
public string DepartmentName { get; set; }
[NotMapped]
public List<UserRoleLogObj> UserRoleList { get; set; }
}

View File

@ -63,15 +63,6 @@ public class IRaCISDBContext : DbContext
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<UserLog>(entity =>
{
entity.OwnsOne(x => x.JsonObj, ownedNavigationBuilder =>
{
ownedNavigationBuilder.ToJson();
});
});
modelBuilder.Entity<TestLength>(entity =>
{
// 使用部分加密值转换器,前 2 个字符不加密,方便模糊搜索