1550076451 лет назад: 2
Родитель
Сommit
6b823da47b

+ 4 - 4
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/UserAccountController.cs

@@ -415,10 +415,10 @@ namespace CallCenterApi.Interface.Controllers
415 415
                     var dtdc = DbHelperSQL.Query(" select  F_UserId 用户编号, F_UserCode 坐席工号,F_UserName 用户名称," +
416 416
                         "F_SexFlag 性别,F_Mobile 手机号,F_CreateOn 添加时间,F_LastActiveTime 最后登录时间, " +
417 417
                         " (select  F_RoleName  from T_Sys_RoleInfo where F_RoleId =a.F_RoleId ) 用户角色," +
418
-                         " (select F_DeptName   from T_Sys_Department  where F_DeptId  =a.F_DeptId ) 部门," +
419
-                          " F_WorkNumber 工号" +
420
-                        "from T_Sys_UserAccount a WITH(NOLOCK) where 1=1 " + sql + "ORDER BY"+ sth).Tables[0];
421
-                    var msg = new NPOIHelper().ExportToExcel("工单列表", dtdc);
418
+                         " (select F_DeptName    from T_Sys_Department  where F_DeptId  =a.F_DeptId ) 部门," +
419
+                          " F_WorkNumber 工号 " +
420
+                        " from T_Sys_UserAccount a WITH(NOLOCK) where 1=1 " + sql + "ORDER BY"+ sth).Tables[0];
421
+                    var msg = new NPOIHelper().ExportToExcel("用户列表", dtdc);
422 422
                     if (msg == "")
423 423
                     {
424 424
                         return Success("导出成功");