IExamPaperServices.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Linq.Expressions;
  6. using EMISOnline.Entities;
  7. using EMISOnline.ViewModel.ExamView;
  8. using System.Data;
  9. namespace EMISOnline.CommonLogic.ExamServices
  10. {
  11. public interface IExamPaperServices
  12. {
  13. object ListPaper(int maximumRows, int startRowIndex, string PaperName);
  14. test_paper GetPaperByPaperID(decimal PaperID);
  15. object CountQuesSumByCondition(List<decimal> lib_ids, decimal diff_min, decimal diff_max, decimal err_rate,
  16. int usecount_min, int usecount_max);
  17. PageSetupParam SetPageSetupCondition(PaperAddView PaperAdd);
  18. bool ExamPaperSave(PaperAddView PaperAdd, string LoginID);
  19. DataTable GetQuestionByPaperID(decimal paperid);
  20. DataTable GetQuestionByParam(PageSetupParam psp);
  21. void AddPaperDetail(PageSetupParam psp, string question_str, string UserID);
  22. void PaperEdit(decimal paperid, string question_str);
  23. string GetPaperQuestions(decimal paperid);
  24. string GetDynamicPaperById(decimal paperid);
  25. }
  26. }