123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.DataLogic.SupervisionManage;
- using EMIS.ViewModel.SupervisionManage;
- using EMIS.ViewModel;
- namespace EMIS.CommonLogic.SupervisionManage
- {
- public class SupervisionCollegeServices : BaseServices, ISupervisionCollegeServices
- {
- public SupervisionCollegeDAL SupervisionCollegeDAL { get; set; }
- public List<SupervisionCollegeView> GetSupervisionCollegeViewList()
- {
- return SupervisionCollegeDAL.GetSupervisionCollegeViewQuery(x => x.RecordStatus > (int)SYS_STATUS.UNUSABLE)
- .OrderBy(x => x.CollegeNo.Length).ThenBy(x => x.CollegeNo)
- .ToList();
- }
- public SupervisionCollegeView GetSupervisionCollegeViewByCollegeID(Guid collegeID)
- {
- return SupervisionCollegeDAL.GetSupervisionCollegeViewQuery(x => x.CollegeID == collegeID).FirstOrDefault();
- }
- }
- }
|