Example #1
0
 public static bool UpdateRightUserGroup(RightUserGroup rightUserGroup, out string msg)
 {
     if (!RightUserGroupDal.Update(rightUserGroup))
     {
         msg = "修改失败";
         return(false);
     }
     msg = "修改成功";
     return(true);
 }
Example #2
0
 public static bool InsertRightUserGroup(RightUserGroup rightUserGroup, out string msg)
 {
     if (!RightUserGroupDal.Insert(rightUserGroup))
     {
         msg = "新增失败";
         return(false);
     }
     msg = "新增成功";
     return(true);
 }
Example #3
0
 public static List <RightUserGroup> QueryRightUserGroup(QueryCondition queryCondition)
 {
     return(RightUserGroupDal.QueryRightUserGroup(queryCondition));
 }
Example #4
0
 public static bool DeleteRightUserGroup(RightUserGroup rightUserGroup)
 {
     return(RightUserGroupDal.Delete(rightUserGroup));
 }
Example #5
0
 public static RightUserGroup QuerySingle(string sysid)
 {
     return(RightUserGroupDal.QuerySingle(sysid));
 }
Example #6
0
 public static List <RightUserGroup> QueryAll()
 {
     return(RightUserGroupDal.QueryAll());
 }