123
This commit is contained in:
@@ -63,7 +63,7 @@ namespace DOAN.ServiceCore
|
||||
inventorylog.PackageNum = 2;
|
||||
inventorylog.CreatedBy = "PLC";
|
||||
inventorylog.CreatedTime = DateTime.Now.ToLocalTime();
|
||||
await DbScoped.SugarScope.CopyNew().Insertable(storagelocation).ExecuteCommandAsync();
|
||||
await DbScoped.SugarScope.CopyNew().Updateable(storagelocation).ExecuteCommandAsync();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -75,7 +75,7 @@ namespace DOAN.ServiceCore
|
||||
inventorylog.PackageNum = 4;
|
||||
inventorylog.CreatedBy = "PLC";
|
||||
inventorylog.CreatedTime = DateTime.Now.ToLocalTime();
|
||||
await DbScoped.SugarScope.CopyNew().Insertable(storagelocation).ExecuteCommandAsync();
|
||||
await DbScoped.SugarScope.CopyNew().Updateable(storagelocation).ExecuteCommandAsync();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user