Esempio n. 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));
        }
Esempio n. 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);
        }
Esempio n. 3
0
 public bool PaperTactic_Edit(PaperTactic model)
 {
     return(PaperDAL.PaperTactic_Edit(model));
 }
Esempio n. 4
0
 public bool PaperGroupUpd(PaperGroup model)
 {
     return(PaperDAL.PaperGroupUpd(model));
 }
Esempio n. 5
0
 public bool PaperUpd(Paper model)
 {
     return(PaperDAL.PaperUpd(model));
 }
Esempio n. 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));
 }
Esempio n. 7
0
 public int PaperGroup_ADD(PaperGroup model)
 {
     return(PaperDAL.PaperGroup_ADD(model));
 }
Esempio n. 8
0
 public int Paper_ADD(Paper model)
 {
     return(PaperDAL.Paper_ADD(model));
 }
Esempio n. 9
0
 /// <summary>
 /// 创建试卷
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public IES.Resource.Model.IPaper   Paper_Get(Paper model)
 {
     return(PaperDAL.CreatePaper(model));
 }
Esempio n. 10
0
 public List <Paper> Paper_Search(Paper paper, int PageSize, int PageIndex)
 {
     return(PaperDAL.Paper_Search(paper, PageSize, PageIndex));
 }
Esempio n. 11
0
 public bool Exercise_Del(Paper mode)
 {
     return(PaperDAL.Paper_Del(mode));
 }