赵新宇 2 weeks ago
parent
commit
79d8bed58c
  1. 8
      API/TaskManager.EntityFramework/JobDbContext.cs
  2. 5223
      API/TaskManager.EntityFramework/Migrations/20250604031956_2025060402.Designer.cs
  3. 22
      API/TaskManager.EntityFramework/Migrations/20250604031956_2025060402.cs
  4. 1
      API/Wood.Service/Datas/SupplierEmployeeDtService.cs

8
API/TaskManager.EntityFramework/JobDbContext.cs

@ -1570,7 +1570,7 @@ namespace TaskManager.EntityFramework
b.Property(e => e.ReadState).HasDefaultValue(false); b.Property(e => e.ReadState).HasDefaultValue(false);
b.Property(e => e.WriteState).HasDefaultValue(false); b.Property(e => e.WriteState).HasDefaultValue(false);
b.HasKey(e => e.UId); b.HasKey(e => e.UId);
b.Ignore(e => e.TaskId);
}); });
//人员资质信息 //人员资质信息
@ -1620,7 +1620,7 @@ namespace TaskManager.EntityFramework
b.Property(e => e.ReadState).HasDefaultValue(false); b.Property(e => e.ReadState).HasDefaultValue(false);
b.Property(e => e.WriteState).HasDefaultValue(false); b.Property(e => e.WriteState).HasDefaultValue(false);
b.HasKey(e => e.UId); b.HasKey(e => e.UId);
b.Ignore(e => e.TaskId);
}); });
//附件类数据 //附件类数据
@ -1666,7 +1666,7 @@ namespace TaskManager.EntityFramework
b.Property(e => e.ReadState).HasDefaultValue(false); b.Property(e => e.ReadState).HasDefaultValue(false);
b.Property(e => e.WriteState).HasDefaultValue(false); b.Property(e => e.WriteState).HasDefaultValue(false);
b.HasKey(e => e.UId); b.HasKey(e => e.UId);
b.Ignore(e => e.TaskId);
}); });
//工艺装备 //工艺装备
@ -1738,7 +1738,7 @@ namespace TaskManager.EntityFramework
b.Property(e => e.ReadState).HasDefaultValue(false); b.Property(e => e.ReadState).HasDefaultValue(false);
b.Property(e => e.WriteState).HasDefaultValue(false); b.Property(e => e.WriteState).HasDefaultValue(false);
b.HasKey(e => e.UId); b.HasKey(e => e.UId);
b.Ignore(e => e.TaskId);
}); });
#endregion #endregion

5223
API/TaskManager.EntityFramework/Migrations/20250604031956_2025060402.Designer.cs

File diff suppressed because it is too large

22
API/TaskManager.EntityFramework/Migrations/20250604031956_2025060402.cs

@ -0,0 +1,22 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace TaskManager.EntityFramework.Migrations
{
/// <inheritdoc />
public partial class _2025060402 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}

1
API/Wood.Service/Datas/SupplierEmployeeDtService.cs

@ -21,6 +21,7 @@ namespace Wood.Service.Datas
public class SupplierEmployeeDtService : NormalBaseController<SUPPLIER_EMPLOYEE_DT> public class SupplierEmployeeDtService : NormalBaseController<SUPPLIER_EMPLOYEE_DT>
{ {
public SupplierEmployeeDtService(JobDbContext context, IServiceProvider builder, IConfiguration configuration, IRepository<SUPPLIER_EMPLOYEE_DT> repository) : base(context, builder, configuration, repository) public SupplierEmployeeDtService(JobDbContext context, IServiceProvider builder, IConfiguration configuration, IRepository<SUPPLIER_EMPLOYEE_DT> repository) : base(context, builder, configuration, repository)
{ {
} }

Loading…
Cancel
Save