稽查增加电子签名展示字段
continuous-integration/drone/push Build is running

This commit is contained in:
2026-08-31 10:30:37 +08:00
parent 85f5c7104f
commit c04a24fb9b
5 changed files with 22680 additions and 3 deletions
@@ -95,5 +95,9 @@ public class DataInspection : BaseAddAuditEntity
/// 真实的Url和实体名称拼接
/// </summary>
public string RealUrlAndEntity { get; set; } = string.Empty;
public string Browser { get; set; }
public string OS { get; set; }
public string DeviceType { get; set; }
}
@@ -4511,7 +4511,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common
#endregion
inspection.OS = _userInfo.ClientInfo.OS;
inspection.DeviceType = _userInfo.ClientInfo.DeviceType;
inspection.Browser = _userInfo.ClientInfo.Browser;
inspection.CreateUserName = _userInfo.UserName;
inspection.CreateUserRealName = _userInfo.FullName;
inspection.RoleName = _userInfo.UserTypeShortName;
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,54 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class addClientInfo : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Browser",
table: "DataInspection",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DeviceType",
table: "DataInspection",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "OS",
table: "DataInspection",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Browser",
table: "DataInspection");
migrationBuilder.DropColumn(
name: "DeviceType",
table: "DataInspection");
migrationBuilder.DropColumn(
name: "OS",
table: "DataInspection");
}
}
}
@@ -979,6 +979,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("uniqueidentifier")
.HasComment("批次Id");
b.Property<string>("Browser")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid?>("ChildrenTypeId")
.HasColumnType("uniqueidentifier")
.HasComment("子类");
@@ -1000,6 +1005,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceType")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid?>("DoctorUserId")
.HasColumnType("uniqueidentifier")
.HasComment("阅片医生");
@@ -1042,6 +1052,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<Guid?>("ModuleTypeId")
.HasColumnType("uniqueidentifier");
b.Property<string>("OS")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid?>("ObjectRelationParentId")
.HasColumnType("uniqueidentifier")
.HasComment("被稽查对象外键1");
@@ -7480,7 +7495,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<Guid>("Id")
.HasColumnType("uniqueidentifier");
b.PrimitiveCollection<string>("AnswerCombination")
b.Property<string>("AnswerCombination")
.IsRequired()
.HasColumnType("nvarchar(max)")
.HasComment("答案组合");
@@ -21236,7 +21251,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.IsRequired();
b.HasOne("IRaCIS.Core.Domain.Models.Subject", "Subject")
.WithMany()
.WithMany("TrialImageDownloadList")
.HasForeignKey("SubjectId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
@@ -22323,6 +22338,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Navigation("SubjectVisitTaskList");
b.Navigation("TaskStudyList");
b.Navigation("TrialImageDownloadList");
});
modelBuilder.Entity("IRaCIS.Core.Domain.Models.SubjectUser", b =>