浏览代码

统一认证-学生用户管理导出

应县
ndbs 7 个月前
父节点
当前提交
e34591eb50
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs 查看文件

@@ -360,6 +360,7 @@ namespace Learun.Application.Organization
try
{
var strSql = new StringBuilder();
var name = this.BaseRepository("CollegeMIS").getDbConnection().Database;
strSql.Append(@"SELECT u.F_Account
,u.F_RealName
,CASE WHEN u.F_Gender=1 THEN '男' ELSE '女' END AS F_Gender
@@ -367,14 +368,13 @@ namespace Learun.Application.Organization
,u.F_Mobile
,u.F_Telephone
,u.F_WeChat
,o.F_FullName AS F_Company
,o.deptname AS F_Company
,u.F_DepartmentId AS F_Department
,u.F_Description
,u.F_CreateDate
,u.F_CreateUserName
FROM LR_Base_User u
INNER JOIN LR_Base_Company o ON u.F_CompanyId=o.F_CompanyId
WHERE u.F_DeleteMark = 0 and u.F_Description = '学生'");
INNER JOIN " + name + ".dbo.CDDEPT o ON u.F_DepartmentId=o.DeptNo WHERE u.F_DeleteMark = 0 and u.F_Description = '学生'");
return this.BaseRepository().FindTable(strSql.ToString());
}
catch (Exception ex)


正在加载...
取消
保存