修复bug
This commit is contained in:
Binary file not shown.
@@ -57,6 +57,7 @@ namespace WMS.Web.Domain.Services
|
||||
var r = await _basicsRepositories.GetUcStockByHeadOfficeAsync("", 1);
|
||||
var codes = r.Where(w =>
|
||||
w.ManagementSystem == 1 || w.ManagementSystem == 4).Select(s => (s.Code, s.ErpOrgCode)).ToList();
|
||||
if (codes.Count() <= 0) return Result.ReSuccess();
|
||||
|
||||
var res = await _erpService.BillQueryForInventory(codes);
|
||||
if (!res.IsSuccess) return res;
|
||||
@@ -112,6 +113,7 @@ namespace WMS.Web.Domain.Services
|
||||
w.ManagementSystem == 2 && !string.IsNullOrEmpty(w.WarehouseCodeOfJushuitan))
|
||||
.Select(s => s.WarehouseCodeOfJushuitan)
|
||||
.ToList();
|
||||
if (listNames.Count() <= 0) return Result.ReSuccess();
|
||||
//获取领星仓库
|
||||
var resStock = await _juShuiTanService.GetStock();
|
||||
if (!resStock.IsSuccess) return resStock;
|
||||
@@ -186,6 +188,7 @@ namespace WMS.Web.Domain.Services
|
||||
w.ManagementSystem == 3 && !string.IsNullOrEmpty(w.WarehouseCodeOfLingxing))
|
||||
.Select(s => s.WarehouseCodeOfLingxing)
|
||||
.ToList();
|
||||
if (listNames.Count() <= 0) return Result.ReSuccess();
|
||||
//获取领星仓库
|
||||
var resStock = await _lingXingService.GetStock();
|
||||
if (!resStock.IsSuccess) return resStock;
|
||||
|
||||
Reference in New Issue
Block a user