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