1
huangxiaoqiang
2026-03-17 7a663544bda26aaabcad039c726b87d0c65be5f0
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/TZPassZZ.cs
@@ -17,7 +17,7 @@
            WebResponseContent content = new WebResponseContent();
            try
            {
                var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.Rfid);  ///*x.PalletCode == json.PalletCode ||*/
                var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.PVI);  ///*x.PalletCode == json.PalletCode ||*/
                if (carInfo != null) throw new Exception($"涂装直通总装失败:PVI{json.Rfid}已存在。");
                WebResponseContent responseContent = _mesService.issuedCharacter(json.PVI, json.Position, json.PalletCode);
@@ -30,20 +30,20 @@
                //json.PVI = json.PVI.Substring(0, 9);
                json.Position = "RB001";
                WebResponseContent content1 = _mesService.PassPoint(json);
                if (!content1.Status) throw new Exception($"过点失败:{content1.msg}");
                if (!content1.Status) throw new Exception($"BDC02过点失败:{content1.msg}");
                WebResponseContent webResponse = _mesService.bindWorkOrder("EL01RB", json.PVI);
                if (!responseContent.Status) throw new Exception($"绑定失败:{webResponse.msg}");
                if (!webResponse.Status) throw new Exception($"焊涂绑定失败:{webResponse.msg}");
                //过点信息 -BDC02
                json.Position = "EL01RB";
                WebResponseContent BDC02 = _mesService.PassPoint(json);
                if (!BDC02.Status) throw new Exception($"过点失败:{BDC02.msg}");
                if (!BDC02.Status) throw new Exception($"BDC02过点失败:{BDC02.msg}");
                ////过点信息 -BDC03
                json.Position = "EL01RB01";
                WebResponseContent BDC03 = _mesService.PassPoint(json);
                if (!BDC03.Status) throw new Exception($"过点失败:{BDC03.msg}");
                if (!BDC03.Status) throw new Exception($"BDC03过点失败:{BDC03.msg}");
                content.OK();
            }