| | |
| | | if (string.IsNullOrEmpty(clCode) || string.IsNullOrEmpty(clh)) |
| | | throw new Exception($"车轮æ¡ç ä¸è½ä¸ºç©º"); |
| | | |
| | | if (!clCode.Contains("/") && !clCode.ToUpper().StartsWith("L")) throw new Exception($"车轮æ¡ç é误,è¯·éæ°æ ¸å¯¹"); |
| | | //if ((!clCode.Contains("/") && !clCode.ToUpper().StartsWith("L")) || (!clCode.Contains("/") && !clCode.ToUpper().StartsWith("BVV"))) throw new Exception($"车轮æ¡ç é误,è¯·éæ°æ ¸å¯¹"); |
| | | |
| | | var clinfo = _InWheels_MesRepository.QueryFirst(x => x.Wheels_code == clCode || x.Wheels_Num == clh); |
| | | if (clinfo != null) throw new Exception("车轮å½å
¥ä¿¡æ¯å·²åå¨"); |