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) {