From 33c0304e55a80d841188e26ce63b6b36bf922f13 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Mon, 30 Mar 2026 10:11:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=A4=96=E5=8C=85=E5=B7=A5=E5=8F=B7?= =?UTF-8?q?=E7=BA=A6=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Organization/Request/GainfoOutsourceRequest.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Src/Dlhis.Basic/Organization/Request/GainfoOutsourceRequest.cs b/Src/Dlhis.Basic/Organization/Request/GainfoOutsourceRequest.cs index 4cce07ed..c762e532 100644 --- a/Src/Dlhis.Basic/Organization/Request/GainfoOutsourceRequest.cs +++ b/Src/Dlhis.Basic/Organization/Request/GainfoOutsourceRequest.cs @@ -86,6 +86,11 @@ public class GainfoOutsourceRequest : IValidatableObject { yield return new ValidationResult($"工号[{Code}]不能包含中文", new[] { nameof(Code) }); } + + if (Code.StartsWith("LS")) + { + yield return new ValidationResult($"工号[{Code}]不能以LS开头", new[] { nameof(Code) }); + } } } } \ No newline at end of file