修复bug

This commit is contained in:
18942506660
2023-11-11 16:20:15 +08:00
parent f889ac91db
commit e68d56b440

View File

@@ -62,7 +62,7 @@ namespace WMS.Web.Repositories.Configuration
ent.HasKey(x => x.Id);
});
//序列号操作记录
//定时任务时间记录
builder.Entity<ErpOpsSyncDate>(ent =>
{
ent.ToTable("t_wms_sync_date");
@@ -85,6 +85,10 @@ namespace WMS.Web.Repositories.Configuration
{
ent.ToTable("t_wms_outstock_details");
ent.HasKey(x => x.Id);
ent.Property(f => f.SerialNumbers).HasConversion(
v => JsonConvert.SerializeObject(v),
v => JsonConvert.DeserializeObject<List<string>>(v));
});
#endregion