修复bug
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user