用户授权

optimize
wet 2 years ago
parent 7d6bc9a2ce
commit 52b8b751ac

@ -5268,7 +5268,7 @@
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Application.BookingOrderService.SendTrace(System.String,System.String,System.String,System.String,System.String,System.String,System.Boolean)">
<member name="M:Myshipping.Application.BookingOrderService.SendTrace(System.Collections.Generic.List{Myshipping.Application.Service.BookingOrder.Dto.BillTraceList})">
<summary>
调用运踪接口
</summary>

@ -141,8 +141,8 @@ namespace Myshipping.Application
[HttpGet("/BookingOrder/Page")]
public async Task<dynamic> Page([FromQuery] BookingOrderInput input)
{
//List<long> userlist = await _right.GetDataScopeList(351064299098181);
List<long> userlist = await DataFilterExtensions.GetDataScopeIdList();
List<long> userlist = await _right.GetDataScopeList(351064299098181);
//List<long> userlist = await DataFilterExtensions.GetDataScopeIdList();
var entities = await _rep.AsQueryable().Where(x => x.ParentId == 0)
.WhereIF(!string.IsNullOrWhiteSpace(input.BSNO), u => u.BSNO.Contains(input.BSNO))
.WhereIF(!string.IsNullOrWhiteSpace(input.BSSTATUS), u => u.BSSTATUS == input.BSSTATUS)
@ -2532,8 +2532,6 @@ namespace Myshipping.Application
await _bookingfile.InsertAsync(bookFile);
}
#region 下载订舱、截单EDI
/// <summary>
/// 下载订舱、截单EDI

@ -15,8 +15,6 @@ public class SysUserDataScope
/// </summary>
public long SysUserId { get; set; }
/// <summary>
/// 机构Id
/// </summary>

@ -19,7 +19,8 @@ namespace Myshipping.Core.Service;
/// <summary>
/// 用户数据范围
/// </summary>
public class SysDataUserMenuService : ISysDataUserMenu, ITransient
[ApiDescriptionSettings(Name = "SysDataUserMenu", Order = 150)]
public class SysDataUserMenuService : ISysDataUserMenu, IDynamicApiController,ITransient
{
private readonly SqlSugarRepository<SysDataUserMenu> _rep; // 用户数据范围表仓储
private readonly ISysCacheService _sysCache;//缓存

Loading…
Cancel
Save