/// <summary> /// 根据名称集合得到对象实体 /// </summary> /// <param name="names"></param> /// <returns></returns> public static IList <DepartmentInfo> getDepartmentInfoBynames(string names) { return(DepartmentInfoService.getDepartmentBynames(names)); }
public static IList <DepartmentInfo> getDepartmentAll() { return(DepartmentInfoService.getDepartmentAll("")); }
public static DepartmentInfo getDepartmentInfoBydepartcname(string departcname) { return(DepartmentInfoService.getDepartmentInfoBydepartcname(departcname)); }
public static DepartmentInfo getDepartmentInfoById(int departid) { return(DepartmentInfoService.getDepartmentInfoById(departid)); }
public static int deleteDepartmentInfo(int departid) { return(DepartmentInfoService.deleteDepartmentInfoById(departid)); }
public static int updateDepartmentInfo(DepartmentInfo departmentinfo) { return(DepartmentInfoService.updateDepartmentInfoById(departmentinfo)); }
public static int addDepartmentInfo(DepartmentInfo departmentinfo) { return(DepartmentInfoService.addDepartmentInfo(departmentinfo)); }