仓位详情方法
This commit is contained in:
@@ -71,6 +71,22 @@ namespace WMS.Web.Repositories
|
||||
return result.Data.ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取仓位详情:根据仓位ID和公司ID
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <param name="companyId"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<UcSubStockResponse> GetSubUcStockAsync(int id, int companyId)
|
||||
{
|
||||
var result = await _singleDataService.GetSysConfigData<Result<UcSubStockResponse>, IdRequest>
|
||||
(new IdRequest(id, companyId),
|
||||
SysConfigAction.GetWmsSubWarehouseByIdAndCompany);
|
||||
if (!result.Success)
|
||||
return null;
|
||||
return result.Data;
|
||||
}
|
||||
|
||||
public async Task<List<UcStockResponse>> GetUcStockAsync(string systemCode, string name, int companyId)
|
||||
{
|
||||
var result = await _singleDataService.GetSysConfigData<ResultList<UcStockResponse>, SystemCodeRequest>
|
||||
|
||||
Reference in New Issue
Block a user