修复bug
This commit is contained in:
@@ -214,6 +214,8 @@ namespace WMS.Web.Domain.Services
|
||||
var res_s = await sc_erpService.BillQueryForInventory(requestInventory);
|
||||
if (!res_s.IsSuccess)
|
||||
{
|
||||
entity.Sync(false, res_s.Message, SyncStatus.Fail, "");
|
||||
await sc_takeStockRepositories.Edit(entity, true);
|
||||
_logger.LogInformation($"及时库存获取异常->错误:{res_s.Message} 数据: {JsonConvert.SerializeObject(entity)}");
|
||||
return Result<ErpTakeStockSaveDto>.ReFailure(res_s.Message, res_s.Status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user