LeaRun.Business/CommonModule/Base_UserBll.cs
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
//=====================================================================================
// All Rights Reserved , Copyright @ Learun 2014
// Software Developers @ Learun 2014
//=====================================================================================
using LeaRun.DataAccess;
using LeaRun.Entity;
using LeaRun.Repository;
using LeaRun.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
namespace LeaRun.Business
{
/// <summary>
/// 用户管理
/// <author>
/// <name>she</name>
/// <date>2014.08.11 15:45</date>
/// </author>
/// </summary>
public class Base_UserBll : RepositoryFactory<Base_User>
{
/// <summary>
/// 获取用户列表
/// </summary>
/// <param name="keyword">模块查询</param>
/// <param name="CompanyId">公司ID</param>
/// <param name="DepartmentId">部门ID</param>
/// <param name="jqgridparam">分页条件</param>
/// <returns></returns>
public DataTable GetPageList(string keyword, string CompanyId, string DepartmentId, ref JqGridParam jqgridparam)
{
StringBuilder strSql = new StringBuilder();
List<DbParameter> parameter = new List<DbParameter>();
strSql.Append(@"SELECT *
FROM ( SELECT u.UserId , --用户ID
u.Code , --用户编码
u.Account , --登录账户
u.RealName , --姓名
u.Spell, --拼音
u.Gender , --性别
u.Mobile , --手机
u.Telephone , --电话
u.Email , --电子邮箱
u.CompanyId , --所在公司ID
c.FullName AS CompanyName , --所在公司
u.DepartmentId, --所在部门ID
d.FullName AS DepartmentName,--所在部门
e.Duty, --职务
u.Enabled , --是否有效
u.LogOnCount , --登录次数
u.LastVisit , --最后登录时间
u.SortCode, --排序吗
u.CreateUserId, --创建时间
u.Remark --备注
后面还有 207 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
