仓位接口-支持多个仓位ID
This commit is contained in:
@@ -87,6 +87,22 @@ namespace WMS.Web.Repositories
|
||||
return result.Data;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取仓位详情:根据仓位ID集合和公司ID
|
||||
/// </summary>
|
||||
/// <param name="ids"></param>
|
||||
/// <param name="companyId"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<UcSubStockResponse> GetSubUcStockAsync(List<int> ids, int companyId)
|
||||
{
|
||||
var result = await _singleDataService.GetSysConfigData<Result<UcSubStockResponse>, IdsRequest>
|
||||
(new IdsRequest(ids, companyId),
|
||||
SysConfigAction.GetWmsSubWarehouseByIdsAndCompany);
|
||||
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