| | |
| | | //if (carInfo != null) throw new Exception($"æ¶è£
ç´éæ»è£
失败:PVI{json.Rfid}å·²åå¨ã"); |
| | | |
| | | var station = _stationManagerRepository.QueryFirst(x => x.stationChildCode == json.Position); |
| | | if (station == null) throw new Exception("ç«å°æªæ¾å°"); |
| | | if (station == null) throw new Exception($"{json.Position}å·¥ä½ç«å°æªæ¾å°"); |
| | | |
| | | WebResponseContent webResponse = _mesService.bindWorkOrder(json.Position, json.PVI); |
| | | if (!webResponse.Status) throw new Exception($"çæ¶ç»å®å¤±è´¥ï¼{webResponse.msg}"); |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | content.Error(ex.Message); |
| | | throw new Exception($"çè£
æåæºå¼å¸¸:{ex.Message}"); |
| | | //content.Error(ex.Message); |
| | | } |
| | | return content; |
| | | } |