| | |
| | | WebResponseContent webResponseContent = new WebResponseContent(); |
| | | try |
| | | { |
| | | var carInfo = _carBodyInfoRepository.QueryFirst(x => x.PVI == json.PVI); |
| | | var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.PVI); |
| | | if (carInfo != null) throw new Exception($"PVI{json.PVI}è½¦èº«æ°æ®å·²åå¨"); |
| | | |
| | | ///请æ±çè£
车身ç¹å¾ |
| | | WebResponseContent webResponse = _mesService.issuedCharacter(json.PVI, json.Position, json.PalletCode); |
| | | if (webResponse.Status) throw new Exception($"{webResponse.Message}"); |
| | | if (!webResponse.Status) throw new Exception($"{webResponse.Message}"); |
| | | |
| | | ///BDC01 è¿ç¹ |
| | | WebResponseContent content = _mesService.PassPoint(json); |
| | | if (content.Status) throw new Exception($"{content.Message}"); |
| | | if (!content.Status) throw new Exception($"{content.Message}"); |
| | | |
| | | return webResponseContent.OK(); |
| | | |