public void MoveToNext(Yw_SubjectProcess process) { SubjectProcessService.Insert(process); IEnumerable <Yw_SubjectIndex> subjectIdnexes = SubjectIndexService.GetSubjectIndexBySubject(process.Ysp_SubjectId); foreach (var item in subjectIdnexes) { item.EnableAudit(); item.Ysi_Status = process.Ysp_Status; SubjectIndexService.Update(item); } }
private void MoveSubjectProcessToNext(Yw_SubjectProcess entity) { SubjectProcessService.Insert(entity); }