隐藏内容修改
This commit is contained in:
@@ -32,6 +32,8 @@ namespace ZR.Service.mes.wms.IService
|
||||
|
||||
List<WmOutOrderPlan> Generate_outorderplan(string shipment_num);
|
||||
|
||||
int PersistenceOutorderplan(string shipment_num);
|
||||
|
||||
(int, int) DoMaterialOut(WmDoMaterialOut_Dto doMaterialOut, string Createby);
|
||||
|
||||
|
||||
|
||||
@@ -196,6 +196,14 @@ namespace ZR.Service.mes.wms
|
||||
{
|
||||
model.Id = SnowFlakeSingle.Instance.NextId().ToString();//也可以在程序中直接获取ID
|
||||
}
|
||||
if(string.IsNullOrEmpty(model.PackageCode))
|
||||
{
|
||||
model.PackageCode=model.PackageCodeClient;
|
||||
}
|
||||
if (string.IsNullOrEmpty(model.PackageCodeOriginal))
|
||||
{
|
||||
model.PackageCodeOriginal = model.PackageCodeClient;
|
||||
}
|
||||
return Context.Insertable(model).ExecuteReturnEntity();
|
||||
}
|
||||
|
||||
|
||||
@@ -567,5 +567,20 @@ namespace ZR.Service.mes.wms
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 持久化存储
|
||||
/// </summary>
|
||||
/// <param name="shipment_num"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
public int PersistenceOutorderplan(string shipment_num)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user