OA.BLL/UserInfoManager.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//============================================================
// Producnt name:		TenXiang.Code
// Coded by:			hotboart
// Auto generated at: 	2014-1-13 15:33:56
//============================================================

using System;
using System.Collections.Generic;
using System.Text;
using OA.DAL;
using OA.Models;

namespace OA.BLL
{								
	public static partial class UserInfoManager
	{
        public static bool GetUserInfoByUserName(string username)
        {
            return UserInfoService.GetUserInfoByUserName(username);
        }
        public static IList<UserInfo> GetUserInfoByUserName(string username, int dep)
        {
            return UserInfoService.GetUserInfoByUserName(username, dep);
        }
        public static UserInfo GetUserInfoByUserName(string userName, string userPwd)
        {
            return UserInfoService.GetUserInfoByUserName(userName, userPwd);
        }
	    public static int AddUserInfo(UserInfo userInfo)
	    {								
			return UserInfoService.AddUserInfo(userInfo);
		}  
		public static int UpdateUserInfo(UserInfo userInfo)
	    {								
			return UserInfoService.UpdateUserInfo(userInfo);
		}  
		public static int DelUserInfo(UserInfo userInfo)
	    {								
			return UserInfoService.DelUserInfo(userInfo);
		}
			
		public static UserInfo GetUserInfoByUserId(string UserId)  
		{								
			return UserInfoService.GetUserInfoByUserId(UserId);
		}
        //用户修改密码
        public static int Up(string Id, string Pass)
        {
            return UserInfoService.Up(Id, Pass);
        }
         //分页查询   
        public static IList<UserInfo> GetUserInfoByUserName(string username, int dep, string PageIndex, ref int PageCount)
        {
            return UserInfoService.GetUserInfoByUserName(username, dep, PageIndex, ref PageCount);
        }
        //分页查询全部方法
        public static IList<UserInfo> GetAllList(int pageIndex, ref int pageCount)
        {
            return UserInfoService.GetAllList(pageIndex, ref pageCount);
        }
后面还有 29 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。