模糊仓位

This commit is contained in:
tongfei
2023-11-02 15:31:00 +08:00
parent a26e6b89f9
commit b793758098
6 changed files with 78 additions and 11 deletions

View File

@@ -60,6 +60,16 @@ namespace WMS.Web.Repositories
return result.Data.ToList();
}
public async Task<List<UcStockResponse>> GetSubUcStockAsync(string systemCode, string name, int companyId)
{
var result = await _singleDataService.GetSysConfigData<ResultList<UcStockResponse>, SystemCodeRequest>
(new SystemCodeRequest(systemCode, name, companyId),
SysConfigAction.GetWmsSubWarehouseBySystemCodeAndNameAndCompany);
if (!result.Success)
return null;
return result.Data.ToList();
}
public async Task<List<UcStockResponse>> GetUcStockAsync(string systemCode, string name, int companyId)
{
var result = await _singleDataService.GetSysConfigData<ResultList<UcStockResponse>, SystemCodeRequest>