转库单同步调整 库存报表调整

This commit is contained in:
2024-07-18 12:31:05 +08:00
parent 7f7f21c271
commit 5666f0262e
5 changed files with 114 additions and 97 deletions

View File

@@ -669,12 +669,12 @@ namespace Tnb.WarehouseMgr
throw new AppFriendlyException("点位" + input.targetName + "不存在", 500);
}
string data = await _redisData.GetHash(strs[0], strs[1]);
Logger.Information("联核请求CheckPut接口查询X2Server数据:" + data);
Logger.Information("wcs请求CheckPut接口查询X2Server数据:" + data);
JObject? res = JsonConvert.DeserializeObject<JObject>(data);
bool result = res != null && res["Value"] != null ? res.Value<bool>("Value") : false;
if (!result)
throw new AppFriendlyException("点位" + input.targetName + "不可放", 500);
Logger.Information("联核请求CheckPut接口结果CTU可放货" + data);
Logger.Information("wcs请求CheckPut接口结果CTU可放货" + data);
}
/// <summary>