入库模块init
This commit is contained in:
@@ -16,6 +16,18 @@ namespace ZR.Service.mes.wms
|
||||
[AppService(ServiceType = typeof(IWMlocationInfoService), ServiceLifetime = LifeTime.Transient)]
|
||||
public class WMlocationInfoService : BaseService<WmInfo>, IWMlocationInfoService
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询库位信息
|
||||
/// </summary>
|
||||
/// <param name="warehouse_num"></param>
|
||||
/// <param name="locationcode"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
public WmInfo Getlocationinfo(int warehouse_num, string locationcode)
|
||||
{
|
||||
return Context.Queryable<WmInfo>().Where(it=>it.WarehouseNum== warehouse_num && it.Location==locationcode).First();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取成品库库位信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user