提示优化

This commit is contained in:
2024-08-04 00:18:35 +08:00
parent 0c1e0f4aff
commit 5c601865f2

View File

@@ -520,6 +520,10 @@ namespace Tnb.WarehouseMgr
ePoint = await _dbScanInStockByRedis.Queryable<WmsPointH>().FirstAsync(it => it.location_id == endLocations[0].id);
}
else
{
throw new AppFriendlyException("没有可以入库的库位", 500);
}
sPoint = await _dbScanInStockByRedis.Queryable<WmsPointH>().FirstAsync(it => it.location_id == loc.id);
Logger.LogInformation($"【ScanInStockByRedis】sPoint:{JsonConvert.SerializeObject(sPoint)} ePoint:{JsonConvert.SerializeObject(ePoint)}");