Browse Source

完善职位权限接口数据

yuanrf 1 year ago
parent
commit
f392d6ff81
1 changed files with 2 additions and 2 deletions
  1. 2 2
      OASystem/OASystem.Api/Controllers/SystemController.cs

+ 2 - 2
OASystem/OASystem.Api/Controllers/SystemController.cs

@@ -890,13 +890,13 @@ namespace OASystem.API.Controllers
 
                 //获取所有职位员工
                 var jobUserAll = await QueryUserList(new UserDto { PortType = 2, JobPostId = dto.Jpid });
-                List<UserInfo> users = null;
+                List<UserInfoWebView> users = null;
                 var QueryUserListApiResult = (((jobUserAll as OkObjectResult).Value) as OASystem.Domain.ViewModels.JsonView);
                 if (QueryUserListApiResult != null)
                 {
                     if (QueryUserListApiResult.Code == 200)
                     {
-                        users = QueryUserListApiResult.Data as List<UserInfo>;
+                        users = QueryUserListApiResult.Data as List<UserInfoWebView>;
                     }
                 }