修改日志展示
parent
6238361bd2
commit
aa60cb4822
|
@ -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>
|
||||
保存表格问题标记
|
||||
|
|
|
@ -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; }
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace IRaCIS.Core.Application.Triggers.AfterSaveTrigger
|
|||
|
||||
}).FirstOrDefaultAsync();
|
||||
|
||||
userlog.JsonObj = obj;
|
||||
userlog.JsonObj = obj.ToJsonStr();
|
||||
|
||||
await _identityUserRepository.SaveChangesAsync();
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
|
||||
}
|
||||
|
|
|
@ -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 个字符不加密,方便模糊搜索
|
||||
|
|
Loading…
Reference in New Issue