예제 #1
0
        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);
            }
        }
예제 #2
0
 private void MoveSubjectProcessToNext(Yw_SubjectProcess entity)
 {
     SubjectProcessService.Insert(entity);
 }