Пример #1
0
        public List <Paper> Paper_Search(string Searchkey, int OCID, int PaperType, int Scope, DateTime UploadTime, int ShareRange, int UserID, int PageSize, int PageIndex)
        {
            Paper paper = new Paper();

            paper.Papername    = Searchkey;
            paper.OCID         = OCID;
            paper.Type         = PaperType;
            paper.Scope        = Scope;
            paper.UpdateTime   = UploadTime;
            paper.ShareScope   = ShareRange;
            paper.CreateUserID = UserID;
            return(PaperDAL.Paper_Search(paper, 10000, 1));
        }
Пример #2
0
        public bool Paper_ADD(IResource model)
        {
            if (model is Paper)
            {
                PaperDAL.Paper_ADD(model as Paper);
            }

            if (model is  PaperCardInfo)
            {
                PaperDAL.PaperCardInfo_ADD(model as PaperCardInfo);
            }

            if (model is  PaperDefineInfo)
            {
                PaperDAL.PaperDefineInfo_ADD(model as PaperDefineInfo);
            }

            return(true);
        }
Пример #3
0
 public bool PaperTactic_Edit(PaperTactic model)
 {
     return(PaperDAL.PaperTactic_Edit(model));
 }
Пример #4
0
 public bool PaperGroupUpd(PaperGroup model)
 {
     return(PaperDAL.PaperGroupUpd(model));
 }
Пример #5
0
 public bool PaperUpd(Paper model)
 {
     return(PaperDAL.PaperUpd(model));
 }
Пример #6
0
 public bool PaperExercise_ADD(int PaperID, int PaperGroupID, int ExerciseID, int Score, int Order)
 {
     return(PaperDAL.PaperExercise_ADD(PaperID, PaperGroupID, ExerciseID, Score, Order));
 }
Пример #7
0
 public int PaperGroup_ADD(PaperGroup model)
 {
     return(PaperDAL.PaperGroup_ADD(model));
 }
Пример #8
0
 public int Paper_ADD(Paper model)
 {
     return(PaperDAL.Paper_ADD(model));
 }
Пример #9
0
 /// <summary>
 /// 创建试卷
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public IES.Resource.Model.IPaper   Paper_Get(Paper model)
 {
     return(PaperDAL.CreatePaper(model));
 }
Пример #10
0
 public List <Paper> Paper_Search(Paper paper, int PageSize, int PageIndex)
 {
     return(PaperDAL.Paper_Search(paper, PageSize, PageIndex));
 }
Пример #11
0
 public bool Exercise_Del(Paper mode)
 {
     return(PaperDAL.Paper_Del(mode));
 }