杨张扬
2025-06-13 abc98971653a3716274f947d41b080aa08887c36
api/ApiHelper.cs
@@ -684,15 +684,15 @@
            LogHelper.Info("触发API:PDA满托下线入库" + JsonConvert.SerializeObject(model), "API");
            try
            {
                //if( model.RfId.Length < 16)
                //{
                //    result.resultCode = 1;
                //    result.resultMsg = $"输入的RFID,长度不够,要大于16位";
                //    LogHelper.Info(result.resultMsg);
                //    return result;
                //}
                if (model.RfId.Length < 16)
                {
                    result.resultCode = 1;
                    result.resultMsg = $"输入的RFID,长度不够,要大于16位";
                    LogHelper.Info(result.resultMsg);
                    return result;
                }
                //model.RfId = WMSHelper.ConvertHexToAscii(model.RfId);
                model.RfId = WMSHelper.ConvertHexToAscii(model.RfId);
                //该产线的满托下线位置,起点
                var startPoint = Settings.ProductionLines.FirstOrDefault(a => a.PointOut == model.StartLoc);