修复bug
This commit is contained in:
@@ -62,7 +62,7 @@ namespace WMS.Web.Repositories.Configuration
|
|||||||
ent.HasKey(x => x.Id);
|
ent.HasKey(x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
//序列号操作记录
|
//定时任务时间记录表
|
||||||
builder.Entity<ErpOpsSyncDate>(ent =>
|
builder.Entity<ErpOpsSyncDate>(ent =>
|
||||||
{
|
{
|
||||||
ent.ToTable("t_wms_sync_date");
|
ent.ToTable("t_wms_sync_date");
|
||||||
@@ -85,6 +85,10 @@ namespace WMS.Web.Repositories.Configuration
|
|||||||
{
|
{
|
||||||
ent.ToTable("t_wms_outstock_details");
|
ent.ToTable("t_wms_outstock_details");
|
||||||
ent.HasKey(x => x.Id);
|
ent.HasKey(x => x.Id);
|
||||||
|
|
||||||
|
ent.Property(f => f.SerialNumbers).HasConversion(
|
||||||
|
v => JsonConvert.SerializeObject(v),
|
||||||
|
v => JsonConvert.DeserializeObject<List<string>>(v));
|
||||||
});
|
});
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user