|
@@ -5380,11 +5380,8 @@ FROM
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- var gj_jobPostIds = new List<int>() { 22, 32 };
|
|
|
- var viewPermissionData = await _sqlSugar.Queryable<Sys_Users>()
|
|
|
- .Where(x => x.IsDel == 0 && ((x.DepId == 7 && gj_jobPostIds.Contains(x.JobPostId)) || x.DepId == 6))
|
|
|
- .Select(x => new { x.Id, Name = x.CnName })
|
|
|
- .ToListAsync();
|
|
|
+
|
|
|
+ var viewPermissionData = await _enterExitCostRep.PermissionViewUsersAsync();
|
|
|
return Ok(JsonView(true, "查询成功!", new
|
|
|
{
|
|
|
GroupNameData = groupNameData.Data,
|
|
@@ -5508,7 +5505,6 @@ FROM
|
|
|
return Ok(JsonView(false));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/// <summary>
|
|
|
/// 团组模块 - 出入境费用 - Add And Update
|
|
|
/// </summary>
|
|
@@ -7527,11 +7523,7 @@ FROM
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- var gj_jobPostIds = new List<int>() { 22, 32 };
|
|
|
- var viewPermissionData = await _sqlSugar.Queryable<Sys_Users>()
|
|
|
- .Where(x => x.IsDel == 0 && ((x.DepId == 7 && gj_jobPostIds.Contains(x.JobPostId)) || x.DepId == 6))
|
|
|
- .Select(x => new { x.Id, Name = x.CnName })
|
|
|
- .ToListAsync();
|
|
|
+ var viewPermissionData = await _enterExitCostDraftRep.PermissionViewUsersAsync();
|
|
|
|
|
|
return Ok(JsonView(true, "查询成功!", new
|
|
|
{
|
|
@@ -9202,7 +9194,7 @@ FROM
|
|
|
mobileInfo.Currencys = await EnterExitCostMobileGetCurrencyInit();
|
|
|
if (eecInfo == null) return Ok(mobileInfo);
|
|
|
//验证查看、操作权限
|
|
|
-
|
|
|
+ // var isView = await _enterExitCostRep.vi
|
|
|
|
|
|
|
|
|
|