From bf5f9662a9b0c13d6418609f8edff91430c887d8 Mon Sep 17 00:00:00 2001 From: xiaolipro <2357729423@qq.com> Date: Mon, 30 Sep 2024 10:21:09 +0800 Subject: [PATCH] =?UTF-8?q?change=EF=BC=9A=E5=8E=BB=E6=8E=89=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E4=BB=A3=E7=A0=81=E5=8F=AA=E8=83=BD=E7=9A=84=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E5=AD=97=E7=AC=A6=E7=9A=84=E6=A0=A1=E9=AA=8C=EF=BC=88?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=A0=A1=E9=AA=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SJZY.Track.Application/Helpers/ForewarningHelper.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/SJZY.Track.Application/Helpers/ForewarningHelper.cs b/src/SJZY.Track.Application/Helpers/ForewarningHelper.cs index d804518b..f91da6db 100644 --- a/src/SJZY.Track.Application/Helpers/ForewarningHelper.cs +++ b/src/SJZY.Track.Application/Helpers/ForewarningHelper.cs @@ -134,11 +134,6 @@ public class ForewarningHelper throw new BusinessException(message: "产品代码只接收字符串"); } - if (!StringHelper.IsValidEnglishString(value.ToString())) - { - throw new BusinessException(message: "产品代码只能的英文字符"); - } - rules[row].ProductCode = strValue; break; default: