改bug
This commit is contained in:
@@ -218,8 +218,6 @@ namespace Tnb.ProductionMgr
|
||||
["Value"] = strs[4],
|
||||
};
|
||||
HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand).Wait();
|
||||
|
||||
|
||||
string codedata = _redisData.GetHash(strs[0], strs[2]).Result;
|
||||
JObject? coderes = JsonConvert.DeserializeObject<JObject>(codedata);
|
||||
string coderesult = coderes != null && coderes["Value"] != null ? coderes.Value<string>("Value")! : "";
|
||||
@@ -279,7 +277,10 @@ namespace Tnb.ProductionMgr
|
||||
string? result = res != null && res["Value"] != null ? res.Value<string>("Value") : "";
|
||||
if (!string.IsNullOrEmpty(result))
|
||||
{
|
||||
result = result.Replace("\r", "");
|
||||
if (result.Length < 5)
|
||||
{
|
||||
result = "LX" + result.Replace("\r", "");
|
||||
}
|
||||
var DistaskH = _repository.AsSugarClient().Queryable<WmsDistaskH>().Where(p => p.carry_code == result && p.status != WmsWareHouseConst.TASK_BILL_STATUS_COMPLE_ID).OrderByDescending(p => p.create_time).First();
|
||||
if (DistaskH != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user