Compare commits

...

2 Commits

Author SHA1 Message Date
wyw
8ea65eb6d1 Merge branch 'master' of http://121.41.2.71:3000/wyw/mh_jy_safe 2026-05-22 11:11:57 +08:00
wyw
bac598e5af 培训记录没人签到 做提示去PC取消 2026-05-22 11:11:44 +08:00

View File

@ -805,6 +805,15 @@ namespace APT.SC.WebApi.Controllers.Api.SE
List<T_SE_TRAIN_RECORD_PAPER> Nav_Papers = null;
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
{
var checkJoin = Nav_Users.Where(e => e.OK);
if (checkJoin == null)
{
checkJoin = Nav_Users.Where(e => e.STATUS == SETrainRecordUserStatusEnum.);
if (checkJoin == null)
{
throw new Exception("如果没人参加此次培训请在PC端操作取消");
}
}
sendNotice = new List<T_FM_NOTIFICATION_TASK>();
if (entity.NOTIFY_ID == Guid.Empty || entity.TaskID == Guid.Empty)
{