From 5dc571229a36f47bb1b25f46ed80ff7ed8118f96 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Wed, 27 May 2026 16:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E9=9C=80=E6=B1=82=E8=B0=83?= =?UTF-8?q?=E6=9F=A5=E5=A1=AB=E6=8A=A5=20=20=E4=B8=8D=E8=83=BD=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=B0=83=E6=9F=A5=E4=BA=BA=E5=91=98=20=20IS=5FDELETE?= =?UTF-8?q?=20=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/Api/SEController/2SETrainSurveyController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APT.MicroApi/APT.SC.WebApi/Controllers/Api/SEController/2SETrainSurveyController.cs b/APT.MicroApi/APT.SC.WebApi/Controllers/Api/SEController/2SETrainSurveyController.cs index 3f4285d..962a096 100644 --- a/APT.MicroApi/APT.SC.WebApi/Controllers/Api/SEController/2SETrainSurveyController.cs +++ b/APT.MicroApi/APT.SC.WebApi/Controllers/Api/SEController/2SETrainSurveyController.cs @@ -58,9 +58,9 @@ namespace APT.SC.WebApi.Controllers.Api.SE { throw new Exception("截止时间至少比发起时间要大于一天"); } - if (Demands == null || !Demands.Any() || Demands.Count() < 1) + if (Demands == null || !Demands.Any() || Demands.Count() < 1 || Demands.Where(e => !e.IS_DELETED).Count() < 1) { - throw new Exception("请添加培训人员信息!"); + throw new Exception("请添加调查人员信息!"); } if (entity.LAUNCH_USER_ID == Guid.Empty) {