|
|
@ -101,7 +101,6 @@ namespace Win.Sfs.SettleAccount |
|
|
|
builder.ConfigureHBPO_SEC_DETAIL(options); |
|
|
|
builder.ConfigureBBAC_SEC_DETAIL(options); |
|
|
|
|
|
|
|
|
|
|
|
builder.ConfigurePUB_ADJ_DETAIL(options); |
|
|
|
builder.ConfigureBBAC_ADJ_DETAIL(options); |
|
|
|
builder.ConfigureHBPO_ADJ_DETAIL(options); |
|
|
@ -1158,10 +1157,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
private static void ConfigurePUB_ADJ_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
|
{ |
|
|
|
|
|
|
|
builder.Entity<PUB_ADJ_DETAIL>(b => |
|
|
|
{ |
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_ADJ_DETAIL", options.Schema); |
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
@ -1181,10 +1178,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
private static void ConfigureHBPO_ADJ_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
|
{ |
|
|
|
|
|
|
|
builder.Entity<HBPO_ADJ_DETAIL>(b => |
|
|
|
{ |
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_ADJ_DETAIL", options.Schema); |
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
@ -1200,12 +1195,11 @@ namespace Win.Sfs.SettleAccount |
|
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
private static void ConfigureBBAC_ADJ_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
|
{ |
|
|
|
|
|
|
|
builder.Entity<BBAC_ADJ_DETAIL>(b => |
|
|
|
{ |
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_ADJ_DETAIL", options.Schema); |
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
@ -1224,7 +1218,6 @@ namespace Win.Sfs.SettleAccount |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureVmi(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
|
{ |
|
|
|
builder.Entity<JobItem>(b => |
|
|
@ -1274,15 +1267,6 @@ namespace Win.Sfs.SettleAccount |
|
|
|
b.ConfigureByConvention(); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//seed
|
|
|
|
builder.Entity<JobItem>().HasData(new JobItem("vmi".ToGuid()) { Name = "库存快照", Cron = "0 0 8 26 *", Service = "Win.Sfs.SettleAccount.Entities.BQ.VmiService" }); |
|
|
|
builder.Entity<VmiCategory>().HasData(new VmiCategory("发运入库".ToGuid()) { Type = VmiType.In, Name = "发运入库", Number = "100" }); |
|
|
|